Recent Posts in My Followed Categories
Switch the "Categories" drop down to see either Recent posts in All categories or only posts in the categories you Follow.
-
Feature request - automatically build module.ini file when doing build clean
Hi, I am recently faced with a client requirement to embed a build number/code into my module ini file. I know that yeah, the webmodule object in Oscript has the '0 DumpModuleConfigToFile' function, and that we can override it to add our own tags, but what I really want is a way to have build clean regenerate the…
-
Enterprise Scan script - assign document number to Batch field
Hi, please kindly support me - how to build a script that can assign each (PDFs) document number ( Doc. 1, Doc. 2, Doc 3, ….) into field "Batch" (Properties →Document→Batch).
-
The items are not from the same database
In workflow, we have a EventScript which is simply there to initiate another series of workflow instances based on the attributes of the WF you are creating. After upgrading from CS16.2.4 to 22.3 (16.2.21.2017), this event script has stopped working. Having debugged it and stepped through into the Core modules, we have…
-
Error at File.Open() - Could not open file
Hi, I am getting error in my custom class: Could not open file. File contactFile = File.Open("E:\Contacts.txt", File.ReadMode) OTCS is installed in E:\OTCS241 Eclipse uing Workspace E:\Workspace
-
How to override EMail sub classes (NodeCreateSubclassPost)
Hi CS23.4 I have inherited a module that overrides some functions when you drag and drop a document into classic view, so it can perform some additional checks before deciding if it needs to write into an additional table for later. Part of the module is this code: override function Void __Init() Object lliApi = $LLIAPI…
-
How to implement string search for begins with?
Hi, everybody, I'm new in OScript language. Could you please to help to write some code to find all strings from collection what begins with expression? To do similar like SQL LIKE. Thank you
-
RestClient not presenting entire response
Hi, I'm trying to use the RestClient.PostFile() method. I've passed in a file, supplied its MIME type as well as a few parameters. In Fiddler, the request looks about right - it comes out as a multipart form-data post, and I get a proper response from the API. When I test in Postman, the request comes back with a file as…
-
CS 21.3 RestClient SSL Certificate issue
I am using RestClient to call external RestAPI and run into below error: SSL Exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed The thread debug log: 01/03/2022 12:28:39 DEBUG new restclientSecure: host api.smartsheet.com port 443 uri /2.0/users/me 01/03/2022 12:28:39 DEBUG…
-
Memory leak with JavaObject
I use library log4j for logging, but I have the problem with memory leak.Memory increase every time when we call next code Object jog = JavaObject.InvokeStaticMethod("org.apache.logging.log4j.LogManager", "getRootLogger", {}) //it calls one time with initialization log.InvokeMethod("info", {"some msg"}) //it calls every…
-
OBuild: OScript commandline build tool
In 22.4 release, we release our new tool OBuild. This is a CLI tool to build OScript Modules without the need to have Eclipse or GUI. This tool is mainly for third party developers who wish to automate their build process and build a CI/CD pipeline which has been always a challenge if you only use CSIDE. We really love you…
-
Accessing Search Templates in Smart View
Hi, I'm noticing inconsistent behaviour around Advanced searches that are saved as search forms. My understanding is these (as opposed to saving search query) are to be accessible to Smart view search, i.e. so you can in classic view, save an advanced search page (i.e. one with metadata) and access it from the search icon…
-
How to change validation in user login page
Hi Team, Need to change validations instead of 6 need to change to 14 characters, Please find the attached screenshot for reference.
-
csui-sdk 21.4.0 FolderBrowser Widget add Button sample
Hi All, I am new to and having some trouble learning the smart UI sdk framework, I have been studying require.js, backbone.js and marionette.js but it's still taking me awhile to understand how to implement functionality to more complicated widgets. Are there any samples where I can inject a custom button under the…
-
RestClient.NewSecure JSON payload with XML field
Hi I'm trying to call a an HTTPS rest endpoint from oScript using RestClient.NewSecure. Due to historic reasons, I need to post some xml data, but it it embedded in the json payload as a json field. I build the xml from mostly attribute values - OK. I build the json string: String cSiebelMessage =…
-
Create new REST API (oScript)
Hello! I try create new REST API in Eclipse What's next step? Where I need to do registration this new API? In Postman I get error: "The REST API Url could not be found in the mappings registry" Or explain me please how I can create new API...
-
Create new REST API
Hello! I need to develop new REST API to get some data in JSON format (OScript eclipse). But I haven't information how it possible. Where do I begin? Where I need registered my new API? Explain me please, or share information about it
-
Publishing changes to Content Server
Hallo, I have a project .os (not mine). I made some changes in code and want ADD this changes to the EXISTING Module. How can I do it? Can you explain me, please, how I can publish my changes to the server (OpenText Content Server)? P.S. I try to change API functionality.
-
Errors just open project eclipse oscript
Hallo, when I try to open eclipse project or run server, I get two errors... I try to close another project, stop server, stop service OTDS, but it's no result. For the moment can help if delete Eclipse and install again with patches. Can you help me, please, what's wrong?
-
Compile .os Eclipse
Hello, I have a project os (not mine). I made some changes and want compile and add this changes to content server. How can I do it? I try do Run, but get an errors. Can you explain me, please, how I can publish my changes to the server?
-
Extending CS Workflow problem
Hi, i try to extend CS Workflow. I follow documentation https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=79432603&objAction=browse&viewType=1 and i've meet one problem. It is impossible to create new data type because type mentioned in documentation does not exist. How can i extend a wf functions?