API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
total group count
What sort of a query do I need in a LiveReport to return the total number of permissions groups (579)?
-
AuthenticateUser and AuthenticateUserAsync
Hi, From the CWS sample code, the below snippet was used: Console.Write("Authenticating User...");
authToken = authClient.AuthenticateUser(username, password);
Console.WriteLine("Success!\n"); However, we could only find AuthenticateUserAsync() method and not AuthenticateUser() method. Is there a difference? Any…
-
Updating creation date form SAP
Good morning, After reading this post, I wanted to know if it is possible to implement this call from a SAP system. I am trying to update creation date but for now, no sucess. Other fields of General tab I can update by this function: /otx/rm_if_elcore_service Any tips to do it? Thanks in advance,
-
Suggestions please for any Latest UI frameworks for Forms Power view
Can someone please suggest any latest UI frameworks used recently for Content Server form template power views if possible provide with an example . I am trying to implement forms having huge number of fields and different types (key look up buttons, drop downs, address bar, multi select, radio, user id etc ) and also…
-
Error listing nodes with Content WebService 16.2.0
When calling DocumentManagement.listNodes() for a container sometimes the following error is thrown: Caused by: java.lang.IllegalStateException: Method getLocalName() cannot be called for CHARACTERS event.at java.xml/com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.getLocalName(XMLStreamReaderImpl.java:366)at…
-
Session time in Content Server - how does it work?
When you create a new session with Content Server using API (either using the 'auth' API or an 'Impersonate User' API), a ticket is created. This ticket is valid for a specific period of time (I think 30 minutes). Two questions: Suppose you use this ticket directly after you have created it. And then you don't use it for…
-
A code sample for calling a side-panel with Intelligent Viewer (.../viewx) in it
Hello, I would like to have a sample of code on how to manually trigger/show the side-panel widget with a document opened in Intelligent Viewer like this I plan to use same functionality in WebReports contents which are loaded by Smart UI widgets In some previous post I found nice samples on how to call Alert and Dialog…
-
CSUI Widget and OTDS Authentication
Hello Folks, I have a CSUI (10.5) Browse widget html hosted on IIS. We need to enter Username & Password to see the contents of the folder in CS. Since I have the latest OTDS (16.2), I can directly get the OTDSSSO ticket by making an OTDS REST call to otdsws/v1/authentication/headers. Wondering if anyone had any luck to…
-
Fill and Submit forms via rest api
Hello All, We have a form that has few attributes that needs to be filled and submitted which then initiates the workflow. I have searched the rest api document and found the alpaca forms for filing, but it is not working as expected. Can someone provide me with an example or any rest api call that we can use to fill and…
-
Add an option to retrieve document metadata and navigate to its location in Physical Records
Hi Everyone, I am new to Smart UI SDK and have been through documentations for the past 2 weeks. But it seems a little difficult to understand how it works. Is there a sample to show how to add an option/button whenever a document is selected? Our requirement is that the documents metadata will contain a value for its…
-
How to acces Thumbnails with WebReports (blob:https://dms-dev.sbb.ch/0a369f4c-b57b-4650-9560-925009c
Hallo does somebody know how to access the Thumbnails with WebReports (blob:https://dms-dev.sbb.ch/0a369f4c-b57b-4650-9560-925009cd8f1f) in Smartui the Thumbnails are displayes as in the Attachement - can we reuse them? cann we access them with WebReport (in the future?) how are thoes keys…
-
Using REST API to add a version to a document
Hi, Looking at the API documentation, it appears that creating a new document is supported (POST), as is updating the metadata on a document (PUT), but I cannot find an entry for appending a new version. If the correct place is the PUT API (Update document), which field does the new file go into? While I'm asking, is it…
-
Opening all documents to "Fit All" view
Hello, I understand that all documents will automatically open to "fit width" view, unless it is a CAD drawing, then it will be opened to "fit all". I was wondering if there is a way to change it or is there a way we can configure it, so all documents will be automatically opened in "fit all" view?
-
How to find node ID's in the Dtree table?
How to find node ID's in the Dtree table? Under ECM library quotes and orders we have some empty folders identified with quote numbers. I am trying to find the empty folders in the SQL data which resides under Dtree table. Can anyone help with the query to extract the data to have them removed?
-
Authentication from SAP- Logon & Security
Hi All, working on establishing connectivity between SAP and OTCS 21.4. w.r.t logon with ticket, would like to know the difference between "do not send logon ticket" and "send ticket without reference to target system" and how choosing either option, helps
-
report of the users who haven't logged in to the content server
Hi, I have the report to generate the users with last login date but I am unable to get the report of the users who haven't logged in to the content server. Can you please with the report. Thanks you, Shefali shireen
-
Documentation of CWS latest version
Dear Experts, Where we can find the documentation or API reference guide for cws 22.1. I could find the link for cws 16.2 but not for 22.1. Regards
-
Create a Document REST API using Node JS
Hi, I am trying to add a document by invoking a REST call to OTCS (16.2.11) in Node JS (axios module). I was able to make a connection to the OTCS server and receive a valid token and also able to create a folder. But I am not able to upload a new document, I am reading the file from local disk memory as a stream. If…
-
Error uploading file via REST API
Hi together, we are struggeling uploading files to OTCS via REST API. When we user the Postman integrated file selection to select the file we want to send, everything works fine. But when i'm trying to do the same with python it does not work. I'm getting the error "File could not be found within the upload directory".…
-
do we use java services in OT cloud 21.4 version ?
do we use java services in OT cloud 21.4 version ?