API, SDK, REST and Web Services
Topics included: REST, Web Services, LiveReports, IDE Development, Smart View SDK, LAPI, Search API
-
Workflow - Example to Update Form Data
I'm having trouble with a simple function in c# to update a workflow's form field. Below is the syntax I used that is hacked from the thread located here. It looks like I'm not getting any form data back from the work package, and my "foreach" statement is crashing out since fdList is empty, but the error I'm getting is…
-
One group has access to which folders on OTCS 16.2
Hi All I am trying to create a live report which tells a perticular group has access to which folders . It needs to ask the group ID and display the results . We are using OTCS : 16.2 With SQL database . Please let me know if someone can help me with this. Thanks Chandni
-
Tenant Configuration and configuration steps in existing CS envirornment
Hi Experts, I would like to use exisiting landscape of Customer Content Server and would like to go for Tenant Configuration. Could some one guide me on the steps involved. Relavent Configuration guide/ Documentation/ Best practices. Regards Kumar.
-
If and How Debug HTML Currently Used?
As part of Content Server enhancement initiatives, it was determined that the Debug HTML feature is of low value. There is a setting in opentext.ini called DebugHTMLFilePrefix that can be overridden. We are considering removing its usage and understand how it may impact current users. As such, please provide some feedback…
-
Where is the HOME widget?
Hey guys, Anyone know where or how i can create the home widget?
-
Changing the background color in Smartviews
Hello, Can anyone explain (like i'm 2 yrs) how i can change the blue back ground color in the smartview look?
-
Use of LAPI vs. Content Web Services vs. REST API
Hello all, I'm looking to elicit feedback from the community regarding three external APIs into Content Server: * LAPI (Livelink API) -- available for many years, deprecated after 9.7.1 * Content Web Services (CWS) -- first available in 9.7.1, continues to be available * REST API -- first available natively in CS 10.5 and…
-
CSUI Widget
I am conducting a proof of concept for Open Text Content Server UI widgets. Here are the steps I performed Created a Sandbox with CS 16.0.4 (2017-03) Created an html page (bellow) with the sample code provided in documentation <html> <head> <script src="http://server:8080/img/csui/bundles/csui-loader.js"></script> <!–tried…
-
Custom View Search and Search Results widgets
Hello all, We are on 16.2.5, and I've been playing around with the custom view search and search results widget. On the surface, I would have thought I'd be able to easily tie these two together on one page easily, such as I want the results of my custom view search to appear in the search results section, but that didn't…
-
Interface freezes when importing documents using mandatory TKL attributes in SmartUI FolderBrowse wi
Hello, We are using the FolderBrowser widgets of the CS UI SDK. When importing a document into some folders, the interface hangs and we get an error in the Console: {"message":"Unable to find field class for type: tkl","reason":"FIELD_INSTANTIATION_ERROR"} Please note that the folders for which the import hangs: - have…
-
how can I get logged user id or user login name with LLCookie.
Hello. I need to making some java applicationsthat can make node or upload files like rest api. I succeeded to get control to get or create nodes but I don’t know how to get usernid or login name who is this. I was searched this forum and other internet sites, and same question exist but no answer. Is there any idea? p.s I…
-
How do you attach and then update an existing category with CWS which is associated with a project o
I would like to see some CWS code examples of how to attach an existing category to a project (subtype 202) or a document in a CS16 installation. Then populate the attached category attributes using CWS. The categories are created through the CS16 UI -- not through custom code. Thanks in advance.
-
Getting started at Smart UI SDK
Hello, I trying to get an out-module directory after running grunt in my-extension and deploy into oclipse IDE. However, it show no error and cannot complete the grunt. has anyone encounter the similar situation? It stop at loading bundles/.
-
Uploaded file has 0 bytes - REST API C#
Hello. I've been looking into the CS 10.5 WS using C#. I began using Postman to get a feel for the API's. I'm able to authenticate and get and create nodes just fine. The problem I'm having is with uploading a file in C#. In Postman, I'm able to upload a file without an issue. I"ve copied the RESTSHARP code as suggested by…
-
Passing an Input parameter into a subreport in LiveReport
Good day Experts I need your expertise on this livereport parameter select providerID, SUBSTRING(providerData, 36,29) as [Doc String] from ProviderData where providerID in (select ProviderId from DVersData where DocID = %1 and %2) I need to pass the results of the SUBSTRING(providerData, 36,29) to an Archive Server query…
-
CWS Error Uploading a document after upgrading to CS 16.2.6
I just recently upgraded a test environment from CS 16.0 to CS 16.2.6 and have started testing some of our custom code that uses CWS. Received an error while trying to upload a file despite the fact that the code hasn't changed. Have yet to be able to track down exactly what is going on here. Anyone else have any thoughts?…
-
Category - SET Multivalue attribute
I'm trying get data in a live report for the Multi value Set-attribute in a category, not able to get the result set, please see the attachment of "Set Attribute" info and my query. Any help would be greatly appreciated. And we don't have web reports, Thanks so much!!
-
Moving projects (subtype 202) from one folder to another using LAPI, REST, CWS or Connected/business
We currently move projects (subtype 202) to a archive folder when they are retired with LAPI methods. We also change permissions of all the project participants to guest in the projects that are retired. Is there a way in CS 16.X to move projects and change participant permissions available with REST, CWS or with the…
-
Metadata Widget not displaying data (CS16)
I am trying to get the metadata widget to work in CS 16.2. Using code from the CS UI SDK example, I get the widget to display in a html page, but it shows a "No data to display" message. Checking the browser console, I can see that an error occurs when loading the widget: * Failed to load resource: the server responded…
-
(WebReport) widget not loading
i create a webreport that connect to map service to locate some location it works fine but when make a new perspective and add web report widget i get an error that Uncaught ReferenceError: L is not defined L refer to the marker i used i user leftlet map service (finally the web report itself work fine but when add it to…