API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
Concatenating (1) to a document's name if it already exists in the target folder
Hi! I'm trying to figure out a way to automatically add (1), (2), etc… to a document's name when adding a document to ContentServer using the REST API. Ex: If "name.pdf" already exists, change the name to "name (1).pdf" or something similar I'm currently recursively calling the /validation/nodes/names/ route to check for…
-
Is there a REST equivalent of WS Impersonate User
Hi, I'm reviewing the REST API to help a client convert their application to use REST. One big gaping hole is that there doesn't seem to be any way to impersonate a user. Currently, they have a web based application where the user authenticates elsewhere, and a service account proxies all requests to Content Server via the…
-
Content Server REST API for adding attributes to category
Dear All, I have used api/v1/nodes POST (body - type=131, parent_id and name) for creating a Category node. Please suggest REST API (or approach) that can be used for adding attributes to the Category.
-
How to get Users email ids present inside a group using just webreport without any livereport link.
I have a group named "QC_dep" and members "User1, User2, User3". I would like to use just a webreport to get email ID's of these three users. Could you please advice.
-
Remove a word from folder/file name
I have a folder "A" and files "B" inside where both name is A-locked and B-locked. I would like to use a webreport tag to find "-locked" word from folder/file name and remove it. Could you please advise!
-
Application Extender Rest Service API to export documents.
Trying to export all the docs from repo, i was going through the REST API and found AXDocWorkingCopy to export documents.Can you please guide me if thats possible using AXDocWorkingCopy rest call or if i have to use AXDocExportJob Rest call instead. If AXDocExportJob is better than AXDocWorkingCopy what could be the…
-
Content Server CWS - Underlying protocol for Transferring document from CWS Client to OTCS Server
Hi All, We have a java program which uploads documents to Content Server using CWS SOAP Web services, We are creating document using below piece of code. Attachment attachment = new Attachment(); byte[] fileInBytes = null; try { fileInBytes = Files.readAllBytes(path); } catch (IOException e) { throw new Exception("Error…
-
Microsoft Doc file (.docx) is not previewing in browser
Hi Expert, I am facing one issue while opening microsoft doc file (.docx) file . It is not opening at browser while clicking rather it is directly getting downloaded into the system. Where Other documents like .txt file, .pdf document or any image documents are getting previewed at browser. Could you please suggest what…
-
Embed custom HTML inside Widget
Hi, We are looking for a solution to embed customized HTML page inside a “widget window” of the Perspective Manager. So far I tried looking for a solution in Opentext Learning Services and in the forums, but no luck yet.. I managed to embed a WR inside widget, but it only works in Classic not in SmartView. Any guidance…
-
How to set a notification/ alert when an Index partition reaches its Metadata Percentage Full limit
I am looking for guidance/ steps to set up a alert when an Index partition reaches its Metadata Percentage Full limit parameter.
-
OTDS Push Connector API - how to increase response timeout of OTDS Generic RestAPI
We are working developing pushconnector, Our login API responded in responded 200 in 11789.7003 ms (11 seconds), Generic restime api has below log. synchronized resource Pushconnector (42cb96c6-1695-428b-87b7-e5a92176cc7c). Reason: jakarta.ws.rs.ProcessingException: java.net.SocketTimeoutException: Read timed out Other…
-
CS WebService SOAP XML format for initiating workflow along with attributes
Does anyone have a sample webservice SOAP XML format for initiating a workflow in Content Server along with setting up values for few workflow attributes of type Integer and Text? Regards, Manu
-
rm_metadataToken is empty string when getting rmclassifications on a node
Content Server 22.1, build 16.2.19.1809 Hi ultimatly I'm trying to use DEL: /api/v1/{id}/rmclassifications/{classid}?rm_metadataToken={token} However, when using GET: /api/v1/{id}/rmclassifications to get the classifications and rm_metadataToken, the rm_metadataToken is returning as an empty string. this is stopping me…
-
Is it possible to set the mime type in a Rest API?
Hi, Id' like set the mime type in creation Rest API, is that possible? in Swagger it's not defined. it seems to be inferred from the name of the file. I'm using Content Server 21.4 REST API and the call is /v2/nodes body: file=bytearray name=test type=144 parent_id=12345678 is that possible pass i.e.…
-
Dynamic input for webreport in a workflow
I am currently building a workflow which has a webreport step and requires dynamic input to be executed. My struggle is how do I get workflow attachment dataid as input and pass it to webreport present inside a workflow. Kindly advise.
-
Get Nodes By Parent ID with where_names capability
Is there a filtering option in this API to sort by a list of possible names? Perhaps something like: api/v1/nodes/<id>/nodes?where_names=x|y|z . If there's an alternative for a POST API supporting filters with a Body, it would be preferable. Considering that there could be up to 500 possible names, I am concerned about…
-
WebReport to update the result set with category attribute
I would like to display the document names along with metadata (category/attributes). On the results sets I would like to update the attribute values, and save them back into the database. OR If I can display the search query results in webreport and would like to update and save the search results.
-
Admin server test connection error
We are installing Content Server 23.3 in a new environment (previously we have installed OTDS 23.3 in another server successfully); when we try to make a test connection with OTDS, it appears a Java lang error: timeout (from both sides: CS to OTDS and OTDS to CS). We can see OTDS web page from a browser in CS Server and…
-
Audit Trail not being updated with REST API calls
Hello everyone, I'm using the REST API to checkout/cancel checkout of documents, but I do not see these events being logged in the audit trail for the document. Would anyone know why that is the case? Configuration issue? Missing privileges with the service account being used? Or is that by design with the API? If it is by…
-
Calling the upload file process from an external system
B"H Hi, I have a question regarding the smart UI Add document's Upload screen. As you can see in the set of screenshots below, whenever I upload a document inside a specific folder, I get this file properties screen, after I choose the file to upload from my system. How Can I get to this upload window from a localhost of…