-
How to send multiples of same param name with RestClient
I've discovered what I believe is a shortcoming of the RestClient drop-in. If you're POSTing to a service which responds to multipart-form-data requests, then they may expect you to send multiples, for instance in the equivalent GET, how would you manage something like…
-
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…