-
REST API for downloading multiple documents
Is it possible to download multiple documents in a single REST Web service call. I wanted to return streams of files in a socket so at client side we will use some metadata information as identifier for differentiating the files. This is the unimplemented logic i have as of now, Please correct me if this logic is wrong.…
-
Authenticate with REST API with CS and OTDS
Hello, Is it possible to authenticate with REST API to CS which has OTDS authentication enabled? And is it possible to authenticate users without providing credentials when SSO is available with OTDS? I've read in another post that REST url should have anonymous authentication set on web server however i don't see how it…
-
CS UI Widget examples
Hi, I've loaded the CS UI Widget module, and I got the one example that was given to work (I had to add the supportPath to the connection, but that's another posting). Does anyone have an example of using the various models and views in a UI? I understand that CS UI is built on backbone.js, but I'd love to see an example…
-
Set a CS10.5 checkbox attribute via REST
Hi, I'm trying to set category values via REST and can set a text field but another attribute is a checkbox but I get the error: "The data type is not compatible." When I look at the GET /nodes/{id}/categories/{category_id} it is coming back as true. So on the PUT /nodes/{id}/categories/{category_id}/ I've tried setting it…
-
Authentication to REST APIs not served from OTAG
A JavaScript application running on AppWorks has an access to the otagtoken and can perform AJAX requests to REST APIS served from the same origin. How about communicating with other REST APIs and enjoying SSO coming from the initial login to AppWorks? Let's say that I'd like to access the CS REST API. I can authenticate…
-
Internal Error 500 when Trying to List Documents in Enterprise Workspace
Hi, I am trying to list the documents in the Enterprise Workspace by using nodes/2000/nodes via the REST API. However, I am getting Internal Error 500 codes. I am using CS 10.5 with 2014-6 patch. Can anyone enlighten me what is the possible cause for this error codes to be triggered?
-
Delete a Node using REST API
Hi, I am trying to delete a node (document) using REST API. One strange thing I noticed that when I perform the delete action twice, then the API will throw a message saying the node id is not found. Does that means I need to perform the action twice so that the node deletion is complete?
-
REST URL Authentication within Content Server while using WebReports
Hello, I have CS10.5 U2014-09 (configured for Windows Auth) and planning to have multiple REST calls in a WebReport to display the info. Since I have already authenticated in CS via Windows Auth and how can I get the ticket so that I can pass it to multiple REST calls. Thanks Mahesh
-
How to read app.properties from app
If I want to set some app settings in app.properties as showIcons.type=bool showIcons.displayName=Show Icons showIcons.description=Toggle between icon and list view showIcons.default=false Is there any javascript API to read this value in app initialize