API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
Nickname as parameter in a Content Server URL
Is there a parameter already existing for the nickname in Content Server classic view links? Instead of using /livelink/llisapi.dll?func=ll&objId=11111111&objAction=RunReport I would like to use /livelink/llisapi.dll?func=ll&nickname=mywebreport&objAction=RunReport. The goal is to use the same link to trigger the same…
-
Using a JSON object as a webreport source
I am writing a basic WebReport to modify document attributes. However, the specific data IDs I want to modify are being sent as a JSON object in the raw body of an API request. How can I use a WebReport (or live report) to accept the JSON object and apply WebReport tags? The body of the API is formatted like this: {…
-
Login to CS / OTDS without providing password in SSO environment
Hello Experts, I couldn't find a post on getting OTCS ticket from OTDS in SSO environment without providing password, if there is such, I apologize for duplication. Now back to question: We have SSO setup with Azure AD, when users logs in to CS, call is redirected to OTDS, which it then redirects to Azure. Our environment…
-
How to make entire content server read only so that noone can make changes until migration completes
How to make entire content server read only so that noone can make changes until migration completes. We tried Web Report to update folders/projects/files permissions set as see,seecontents but it is very time consuming. Is there any quicker way?
-
Archive Server Health Status endpoint with curl
Hi How-To query the Archive Server Health Status endpoint with curl? http://localhost:8080/archive/monitoring http://localhost:8080/archive/monitoring/secure/monc.html There seems some auth. Is there a response in JSON or a similar machine readable format?
-
REST API - Initiating a workflow with attributes (string and numeric)
Hi, I believe I have WF init via the REST API working, except for setting attributes. I start the process with a call to get a draft process. That is, a POST of http://{{cshost}}/{{cshosturi}}/api/v2/draftprocesses Then I call the draft process again using a PUT:…
-
Uploading document using Java11 (rest-api)
Hi , Kindly assist in Java error, we were able to upload a document to OTCS using Java7 , however once compiling the same java code in Java11, the below error is coming up as per screenshot. Please advise. Regards, Vishnu
-
Archivelink Viewer and Opentext
I have an old version of OPentext 9.6 and content Server was was installed for Archiving on windows 2008 ( Not suppored anymore) We need to move all the files to a new Windows server 2019 or older but I need to reinstall opentext and the opentext apache web server. What version and where can I get the install files and…
-
Restart cancel activity in System Center 25.1
Hello all, We are in the process of upgrading the OTCS from 22.3 to 24.3. In the system center, activities got canceled after the step "Start remaining services." I have attached the screenshot. I am unable to restart the activity now. I don't see any option, either. There is no step mentioned in the admin guide as well.…
-
Any sample HTTP examples to Search against CM 10.1?
Apologies, a noob question I am sure :/ Are there any samples that show how I can access a CM 10.1 server via an API to perform a simple search for records? I am intending to build a Power Automate workflow from Microsoft365 that queries against a CM 10 server using an HTTP Connector. I am really struggling atm to…
-
Modifying WebReport Constants through another WebReport
Hello everyone, I would like to know if it's possible to modify the constant values of a WR using another WR? If so, how would I go about it? I did not find a sub-tag dedicated to this and I'm trying to avoid going into the Sub-tag development path. Thank you in advance.
-
How to change log level for CWS ?
CS 21.1 / CWS 16 deployed on Tomcat. I assume the only logging for CWS is in tomcat/logs/cws.log but the statements within are very basic, typically just start up statements. How can I change the level to DEBUG. Also is there another place I should be looking for CWS logs ?
-
I need to upgrade a category through Power Shell Rest API URL. I am getting 400 bad request
I need to upgrade a category through Power Shell Rest API URL. I am getting 400 bad request instead of getting the proper error. can anyone help me here. Below is the corresponding code I am using in power shell .ps1 file $body = @{ category_id =id=@{ {$config.catID.id} } }| ConvertTo-Json -Depth 10 $response =…
-
How to handle errors from subtags
Hi, Let's say I have a subtag which throws an error. if I am writing the contents of my tag using SETVAR:clientInfo, if it completes without error, I get clientInfo as an ASSOC, but if it throws an error, it comes back with a string like * TAGNAME :some error message * Is there a good way to detect errors when the data…
-
Need help with RESTCLIENT WebReport tag
I'm trying to use the [LL_REPTAG_RESTCLIENT /] tag in a webreport. Ultimately I want to use it to call custom REST endpoints in my Content Server environment but the problem I have can be reproduced with a core call. Here is my WebReport: [LL_REPTAG_'' ASSOCACTION:CREATE SETVAR:authHeader /] [LL_REPTAG_!authHeader…
-
Content Server Enterprise Workspace set to different node ID
Hello, The Enterprise Workspace in OpenText Content Server (v24.1) is normally available on NodeID 2000. My customer's node is set to 2111. Has anybody got any insight how this may have been set? I have never come across this before and can't find anything documented or on the OpenText Knowledge Center? Thanks, Mat
-
Help on REST API Category upgrade
Hi, We are trying to upgrade a category using REST API. Below is the URL we tried: <CSURL>/v2/nodes/{id}/categories/upgrade using PUT method. Passing the body parameter in below format. { "category_id":[8479] } We are getting the error showing as "Missing Parameters". Please help us to fix this. Thanks, Dharani D.
-
Automate Object Importer/Exporter
Hello everyone, I would like to manage via script the export/import of data from a Content Server instance to another using Object Importer/Exporter. Is there any way to start the the object export emulating what happens in the page /otcs/cs.exe?func=oe.ManualExport? In the same way than I would like to start object import…
-
Is their any way to open a Webreport workflow task in Smart UI?
Dear Developers, I am working on a workflow with the following steps: Start Step User Step – Document Review WebReport Task Step – Contains an embedded iFrame for another application Milestone The issue I am facing is that Steps 1 and 2 open in Smart UI as expected. However, when the workflow reaches the WebReport task, it…
-
What will be the best process of migrating sharepoint data to cloud xECM?
Hi Developers, What will be the best way of migrating the data from sharepoint to xECM cloud version? FYI :- My single file is of 200+ GB. As per the cloud standard procedures we have to migrate sharepoint data to SFTP location and from their i can use XML control files Import/Export to migrate into xECM. Thanks