API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
prevent a certain item in Add Item menu from displaying
Hi, I have a custom folder type (with custom subtype). It appears under 'Add Item' menu. And I have added in parentAppltype (enterprise ws, regular folder) as to where it can appear.. so far so good. For clarity I will call my custom folder 'Sapna test' I allow the creation of this new folder ('Sapna test') under a regular…
-
Possible to have livereport that query another database (both otcs and another db tables)
Hi Guys, On sql server we can have sql to query from two different database. When i try to put it on livereport it gave some error. Is this even possible? My scenario is to compare streamserve table (where document generated) vs document store in OTCS. THank you. Regards, Christopher
-
strange redirection when authenticating using internal DS with CS 16.2.6
Hi All, When a user tries to login, they are redirected to the machinename:port# instead of the DNSanem: port # after we tried to add another instance as part of a cluster. Now that instance is un-installed and this is still happening. Where can I change that value so that it returns back to the DNS name. Thanks, Tammy
-
Updating WF Form Data
I've been able to update the form data on a workflow by getting the workflow service client, modifying the form data, and then running an "UpdateWorkItemData" at the end. Is it possible to update form data on a workflow that's already moved passed the user assignment? I have a form text field that I want to update,…
-
Any way with CWS to call a Livereport to update or insert data into a custom (not Livelink) table?
We are looking for a way to replace standard database queries with calls to LiveReports. We need to do select, update and inserts to custom developed database tables. Is there any way to do this with CWS calling LiveReports with input parameters?
-
Content Server - Using RestAPI with LLCookie value as OTCSTicket
Hi, I am trying to call Rest API from within a Content Server page (custom HTML page). This piece of code should run from logged in user's session. I am looking to re-utilize the Ticket which has already been generated at the time of login because the environment is SSO enabled and username/password is not an option here.…
-
Unable to update mandatory physical property
Hello, I have a problem when I try to update a mandatory physical property value using method updateNode(). The code that I use: Node node=fDocMan.getNode(307274); AttributeGroup attrGroup = new AttributeGroup(); attrGroup.setKey("POCreateInfo"); attrGroup.setType("POCreateInfo"); StringValue homeLocation = new…
-
Updating WF Form Data on an In-Process WF Determining String Attribute vs. Multiline Attribute
I'm just writing a function that will accept the workflowID, the form name, the Attribute name, and then the new attribute value, and it will process accordingly. The code is pretty standard, but I highlighted the section where I'm not sure how to identify if my attribute type is a text field or a multiline. I was thinking…
-
Identify user source
Hi I'm searching for a way to identify the user source wether he is an active directory user or added manually in opentext. Doesn't matter the way , Database query (Live report), Rest or Soap service, I just want to get to the information programatically. Any help ? Thanks in advance :)
-
Open WebReport in Same Tab
Hello, When we access a webreport in Classic, the page will redirect to the webreport, but in Smart UI, the webreport is always opened in a new tab. Is there a Smart UI setting to open webreports without creating a new tab? Thanks, Ji
-
Caught Exception in builtin - Compiler.Compile - database is locked
Hello experts! I've come across a new one and can't seem to find an explanation. A 16.2.4 production instance failed once on a service restart with the above error in one of the thread logs. Has anyone seen this before and/or know how it could manifest? It doesn't look like a "database" issue per se (Oracle logs don't show…
-
Open SmartUI pages
Hi, Is there any sample or solution for opening a smart UI pages instead of open classic page? I had a module, but i only able to link to the classic UI page. Thanks
-
Material for Content Server Solution Developer Certification v16
Hello, I am interested to doing Content Server Solution Developer Certification v16. Hence I am looking for materials and more info. Any suggestions would be greatly appreciated. Thank you!
-
Export nodes from one content server to another contentserver
Hi, I am trying to create a CWS to copy folder structure (Folder/Sub Folder/files), from one cs16 machine, into another one. I've created a console application in which i have service references to both source and target servers (authentication and docman services). Now I want to move on each folder in the source server…
-
Metadata - Not default value via web service
Hi all, my question is : using createDocument operation from documentManagement web service, is it possible one shot to: 1) update small document; 2) assign category to the document; 3) assign specific values to one attribute that compose a category. ? Using GetAttributeGroupDefinition operation, i obtain all the…
-
How do you rename an existing container (Project, folder) in CS16 CWS?
Are there any CWS C# code examples that can be used to rename an object in CS16? In other words change the display name of an existing LL object.
-
Create Group and add group leader
I'm in a jam. I have to add 750+ groups this week and assign a group leader. Does anyone have an API to accomplish this?
-
RestAPI Authtoken not working in IE but working in chrome
HI All, I am trying to use RESTAPi to add document. For authentication, i have written below ajax call. $.ajax({ url: "/otcs/cs.exe/api/v1/auth", dataType: "json", data: { "username": "myid", "password": "mypass" }, headers: { "Content-Type": "application/x-www-form-urlencoded" }, method: "POST", success: function (data) {…
-
Perspective based on Category
Hi What is the best way to show a specific perspective when opening a folder (if the folder has a specific category). Type of landing page for the root folder. Sub items do not have the same category Uldis
-
Performance
Hi Are there any known performance problems with usign Connected Workspaces (Business Workspaces)? What to be aware of? Amount of roles? Any limitations? There was something long time ago if I remember correctly.. Uldis