API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
Can't create a Document via Rest API
Hello, we are using the POST API /v2/nodes to create a Document on our Content Server. The body of our request is: { "type": 144, "parent_id": 5627091, "name": "example.txt", "file": "UXVlc3RvIMOoIHVuIGZpbGUgZGkgZXNlbXBpbw==" } but we get the following error: "error": "An illegal attempt was made to upload a document". We…
-
Records Management's RSI value on documents are not showing latest value within Web reports
Hello, we were asked to include the RSI value on a Web Report that lists all the metadata information about documents. For some reason it is displaying the RSI value of when the document was first added into Open Text ECM, and not the current RSI value (if it was changed after it was first added). The field we are…
-
Use Case Documents for OTCS
Hello, Are there any use case documents for OTCS? I am looking for some use cases for departments like finance, HR, aftermarket, and sales using OTCS. Any leads?
-
Can't create Folders with specific User
Hi, we are trying to create a Folder on Content Server (16.2) via the following REST API: POST /api/v2/nodes But we get the following error: "You do not have permission to create Folder items. (SubType: 0).". The user we are using is enable to create other types of objects, such as Business Workspaces, but he can't create…
-
Get comment for a node via API?
I'm trying to find comments via the REST API - Looking in the UI, I can see that comments are different nodes within the "pulse" volume -- Is there a way that I can find these nodes for given a document node ID?
-
How to add/Update pulse comments using OTCS REST API
Hello everyone, I am searching for a way to add/modify pulse comments using REST API. I have a requirement where I am migrating documents from third party system and they have provided comments related to each document in xml format. I have to add these comments using REST calls or any other recommended way. I know there…
-
How to search for a document VIA Rest API with a specific field of a category?
I know how to implement it using SQL query in a LLAttrData table since usually the ID of a category is constant and so as the specific field. The question is how to implement it using REST API request? I have a document with the name of "A" which has a category named "Cat" and a field name "Field A" which value is "XX". As…
-
Copy attributes in category set to a date field
Is it possible to copy attributes contained in a category set to a Date Field in the same category? The screenshot below is an example of the desired outcome, specifically how “Date Field” was copied from the “Document Date” set attributes. My initial attempts with CATACTION:COPY in WebReports have failed.
-
REST Api - Workflow Attributes
I see that the Rest API documentation for Processes has been updated with some new endpoints. However, it's hard to tell from the documentation if it's possible now to update Workflow Attributes from the Rest Api. Is this something that can be done yet? And if so are there any examples?…
-
Content Server Database Tables
HI. I need to access a category attribute of each content server document to validate a date. I'm using LiveReport / WebReport. Can you tell me what table I can get the documents from the content server and also have access to the attributes of the categories of those documents? Regards, Felipe.
-
Adding additional rows to a category using the Content Server Rest API
Looking at the included screenshot one can see plus signs to the right which is use to add addition rows for the category. How can I use the API to add these rows instead? I.e. which API and perhaps an example if not included in the API description.
-
Update WF Attribute with a variable value from a WebReport
I'm looking to update a WF Attribute with a variable value from a WerbReport step, for example: I have a WF attribute called "permission", and I want to update it with a variable called "hasPermissions" in a WebReport. I have tried the below but none is working. let hasPermission = "false"; [LL_REPTAG_&hasPermission…
-
How to use /v2/nodes/{id}/versions
I am trying to figure out how to use above method trying to connect to OpenText. We intend to upload a new version of an already existing file. Checking out this link under "Add version": It is stated that "If your REST client does not support file uploads, you will need to specify additional information in the body" one…
-
What is correct format when setting Date attributes with REST API
Does anyone know how I should format my string in my body payload when one of the attributes is a date field? I will eventually get it through trial and error, but it will take a while as I don't have CSIDE in this environment for debugging. -Hugh
-
Create Business Workspace By Template ID defined Name using REST API
Hi Folks, I am trying to create business workspace using defined template having naming convention as per category attribute, But when I execute the API, the error says - Name cannot be empty. How can I create a workspace using naming as category attribute & not as providing any name in API can anyone please help,
-
How to use /v2/nodes/{id}/versions
I am trying to figure out how to use above method trying to connect to OpenText. We intend to upload a new version of an already existing file. Checking out this link under "Add version": It is stated that "If your REST client does not support file uploads, you will need to specify additional information in the body" one…
-
Integrating csui-sdk-24.2.0 into Angular 17
Is it possible to integrate the CSUI SDK into an Angular 17 project?
-
REST API create node with category is returning "Could not process object, invalid action 'create'"
Hi Team, This is on DEVELOPMENT environment of OTCS23.3. We are trying to upload document with category from tibco application using REST API. But returning the error message highlighted in yellow. (Using postman, I am able to upload and create category as well.) Step 1: I invoked Authentication API…
-
Document Upload using REST API fails in CS 16.2.7+ 4
Hi all, I have attached the standard type of REST testing HTML/Javascript file with the four functions (Authenticate, Get User Details, Create Folder, Upload Document). On two different sites on their Production CS 16.2.4 systems, all four functions work. On these two different sites on their Test 16.2.8 systems, the first…
-
Content Server Intelligent Viewer Not Loading Documents - Stuck on Loading Screen
Hello everyone, I’m facing an issue with the Content Server Intelligent Viewer where documents won't load. The viewer gets stuck with the loading circle spinning indefinitely, and the documents never appear. I've checked the logs, but there’s nothing unusual or indicative of a problem. OpenText support has been…