API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
REST API to add permissions to the node
Documentation says this can add permissions to node using POST api/v2/nodes/{id}/permissions/custom with id, permissions and right_id as paramaters. I tried in Postman but everytime I get "One or more parameters are invalid" . Has anyone implemented it successfully?
-
Content Server 16.2 REST API - Updating Categories
Hi I'm trying to develop a webservice and am trying to use the PUT api/v1/nodes/{id}/categories/{category_id}/ method . Can anyone guide me as to what parameter go in the {attribute_key} - {category_id}[{set_id}{set_row}]_{attribute_id}. Could i be pointed to the Implementation Notes that is mentioned under the description
-
How to load your custom module at last or how to know which module overriding my custom module
Hi, I created a custom module in my lab server which works fine there. When i install this in other environment, my code is be override by other CS module/code. Can someone please help me to understand that how to find which module is overriding my code or how to load your module at last???/ Any help would be appriciated.
-
3rd party patches via system center
Does anyone know if it's possible to deploy 3rd party patches via System Center. Once installed manually on the Content Server server(s), these patches are reported as unknown in System Center, but I would like to distribute these patches via System Center as well. I tried to zip it like the standard OT patches, and upload…
-
Getting a document's ID from its location
Do anyone know of any (easy) way of getting an Content Server object's (node) id from its location via REST? For example, I'd supply "Enterprise:Directory:Subdirectory:filename.csv" and the web service (or whatever API) would return 4000100 (or whatever it might be).
-
Reccomendation: ECM 16.2 - Folder Monitoring (with eventual file actions)
A request for a way to monitor a folder and archive superseded documents based on a specific naming format + version number has come to me. I already have a category updater in Node.js (SQL Query to ECM DB, then action via Rest API if file changes need to happen) that sits external to ECM. I also look after a C#…
-
Update Version Comments using CWS
Hi All I'm using the ContentServiceClient.UploadContent to upload a new version to an existing document in content server. I would like to know how I can update the version comments as part of the upload process. Appreciate your help! Thanks. Vijhay Devarajan.
-
How to generate outputs and for them to be held and release when ready?
Hello All, I have a requirement to generate outputs to a number of printers and for them to be held and users then to maybe move them between those printers and release when ready. Please advise on possible solutions.
-
Can you use SQL to update Attributes in a Live Report
Is there any way to use the live reports to update the attributes in content server 10. For instance I know I could put the following SQL in the live report: UPDATE [OTCS10].[dbo].[LLAttrData]SET ValStr = %2 WHERE DefID = '14541' and ValStr = %1; But this doesn't update the Attribute in the UI, just the DB. Is there a way…
-
Adding Commands to Smart UI - Enable method on the lines of _SubClassIsEnabled
Hello, I was wondering if there is a better way to check if a command/action can be shown to a user. I am aware of command_key variable and enabled method where we could add the checks to see if the command can be enabled or disabled. Is there any way to call _SubClassIsEnabled of a particular WedNodeCommand to decide…
-
Recursive Query to get Document count in a folder
Could anyone in group Validate below query to get count of all documents in a particular folder. Want to get experts in this forum to review this before providing numbers to users. WITH cte_name AS ( select dataId, parentid, subtype from dtree where dataid = '63318' --DISABILITY MASTER FOLDER ID IN QA UNION ALL select…
-
Exclude Recycle Bin From LiveReport Results
Looking at a LiveReport that brings back folders that do not have a category attached to it.However we want to exclude everything located in the recycle bin space. At the moment recycle bin is included in the results. Was wondering if there is a way to acheive this?
-
CS 10.5 table GDCRECYCLEBIN?
There is a table called GDCRECYCLEBIN in a client's CS 10.5 instance. That table is not covered by the Content Server DB schema documentation. Is anyone familiar with it and its purpose?
-
Migration 10.5 -> 16.2 - Issues with LiveReports Performance - change in use off Cursor Fetch Mode
Hallo after migration from CS 10.5 to 16.2 we have Performance Issues, also with LiveReports. Was there any change on LiveReports side wich needs/recommends the change of the Cursor Fetch Mode (until now, we used the default, activated Setting)? We have overall Performance Issue. But by changing the Cursor Fetch Mode, we…
-
ProviderData table and indexes - uniqueness question
For the ProviderData table, the index ProviderData_IDX1 consists of ProviderType + ProviderID, but is NOT UNIQUE. Given that ProviderID is the unique primary key, and ProviderID and ProviderType are both non-nullable, how is it possible that ProviderType + ProviderID is not unique?
-
DTreeCore.dataID - under what conditions is it not unique?
DTreeCore has two indexes: (DataID + Deleted) and (Deleted + DataID). Neither index is unique. I have a hard time envisioning a situation where either of these combinations would not be unique in DTreeCore, indeed where DataID alone wouldn't be unique. Can anyone give some real-life situations where uniqueness doesn't hold?
-
How to extend the workitem so an additional form can be shown in the workflow
Hi all, I'm trying to build a module that generates a form in the workflow. This is done by inheriting the WorkItemExtensionController, as stated in the SDK documentation. But when adding the WorkItemExtensionController in my include and then building the module with the grunt command, the following error is returned: That…
-
LiveReports results returning to client - which CWS binding in IIS?
I have users who are receiving the following message when running large LiveReports. Content Server and CWS is hosted on IIS. “The maximum message size quota for incoming messages (1024000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element" There are many…
-
Extending the PerspectiveRouter overwrites the default routes.
Hello all, When trying to add a route for a custom widget, we need to extend the PerspectiveRouter. We want to achieve something like ".../OTCS/llisapi.dll/app/myassignments". But when we do this, the default routes are overwritten and i'm left with a white screen, with only the menubar on top. The code used is the one…
-
Unpacking the transport package into Workbench Getting error
Hi experts, When unpacking the transport package into Workbench getting below error, Please guide is there any config missing. CS 16.2.7 Content Server Error: Error unpacking the specified Transport Package. The language is disabled. Detailed information for Administrators Error stack 1) E1114308611 The language is…