-
Creating a file in an active WF attachment folder using REST
I'm trying to use my file upload function to upload (post) a file to an active workflows attachment folder but it does not seem to work, here is my code (basically I pass the WF attachments folder's ID and the file I want to upload): function uploadFile(folderID, blob) { var fd = new FormData(); fd.append( "type", "144" );…
-
Uploading a document to Attachments folder using CS REST API
Hi, I've been working on a REST extension for Workflow. Almost everything works except uploading attachments. I was going to use the nodes API to manage that, but I run into problems on the CSNode.ValidateParent(). Because attachments folders (subtype 154) are not defined, it always fails on the ValidateParent() on the…
-
Error while using FolderBrowserWidget widget
I am trying to use the FolderBrowserWidget widget to list the CS contents in a HTML5 page however I am continuously been thrown 500 - Internal Error. After debugging, I find that the following API -http://innovate/otcs/cs.exe/api/vi/nodes/180462 is failing to get the details. I tried using C# to double check however found…
-
Authentication REST API call from C# or Java
Hello, does anyone have an example to connect to CS using the CS authentication REST API from C# or Java. I am also trying to create a Template Workspace Binder using the APIs however in vain. Any sample would be helpful. Thanks in advance
-
Punlish documents to LiveLink using SOAP
Hi All, We are trying to publish the documents to Livelink using SOAP webservice. The WSDL from Livelink has several Operations linked to it. We are using CreateDocument operation for publishing the document. Can anyone please provide any sample code for the same. Thanks in advance. Regards, Samyak Jain
-
Open property page while copying a document
Hi, We have a requirement, where we need to open the property page while copying the document from one folder to another folder. Scenario is, when a document is copied from one folder to another folder then before copying the document, property page should be opened so that the attribute values can be modified. Any pointer…
-
Rest Api to get a Content Server Node id based on path
Is there a Rest API, to get Content Server Node id based on path. E.g.: if there is a folder “/enterprise/Sales/Customers” in Content Server, I want to get the Node Id for the same using Rest API, once I get the Node Id, we will be adding files and Categories.
-
How can I add a new document to Content Server 10.5 using the REST api?
How can I add a new document to Content Server 10.5 using the REST api? I am following the Swagger docs for creating a node, but it is not clear how I attach the file to the request. Here is (roughly) the code I am using: var folderId = 2000;var docName = "test";var uri =…
-
Enabling & troubleshooting the RM Rest API for CS 10.5
I want to add a cross reference between two items using the Content Server Rest API. I've found this link, but when I try this url http://localhost/otcs/llisapi.dll/api/v1/xrefs/ I just get a session expired - I don't think it is the OTCSTicket at fault, because I can use the same ticket in a susequent call successfully.…