CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
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
-
seeing Thread specific globals $$'s in CS IDE
The Global Vars option does not show the thread specific ones, is there a way to show them in CS IDE ?
-
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…
-
OBuild - parser errors
Hi OT Gurus (particularly @Dave Carpeneto @Juliano_Ghisi @Hany Samuel @Stephan Baumann). Working with OBuild, I've noticed something that I'm seeking guidance on whether this is a known issue/limitation, or whether perhaps some coding practices need review. For quite some time, OScript has permitted referencing…
-
Help with Oscript inheritance when writing RKTEngine Subtags
Hi, I'm pulling my hair out over this. Development env is the CS 21.1 with the latest version of the SDK. I'm trying to write WebReport subtags as Oscript to avoid having to add a complicated file transfer in my module. This should be the right way to do sub-tags based on what I've read elsewhere. I can write the tag…
-
Does ECM - Content server could index document in an oracle database
Is content server able to index document that reside in an oracle database that is not the Database for Content server. We have an application that stored different type of document in its Database (Oracle) but the application does not have indexing capacity so no search capacity for these document. I was wondering if…
-
Does Content Server support webhooks?
I'm thinking of using webhooks to get notifications from CS whenever a document's name has changed. Does CS support webhooks? Thanks in advance for your responses.
-
Issues with Cache
Hi, Recently I found out that an issue is happening in Content Server. A table called KERRORFAULT is being filled errors, the issue is these new entries are around 25MB big. Which caused the DB to increase in size by 1~2GB per day. I was able to get some parts of the error and it seems that cache is not able to save some…
-
How can I capture the OTDSTicket sent as a payload by the browser
In stead of using a proxy server to hide our Content Server (CS) environment behind I'm tasked with building a proxy web page that will act like a proxy server. Users would access this proxy web page instead of directly access our CS server. The proxy web page will make call to the CS server and return the response from…
-
Content Server Node DATAID max
What is the maximum Content Server Node DATAID or VersionID? In Oracle I know it can be version HIGH, but is that supported in OScript?
-
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…
-
CSIDE 23.4 now available for download
Greetings OScripters: I just noticed that CSIDE 23.4 was posted to the Knowledge Centre ~ 2 weeks back. For reference the binary can be grabbed @ and the release notes are @ . New in this release is functionality that provides unit test coverage information. There's also a new feature which simplifies patch creation. Full…
-
Format as Currency, etc.
These seems like such simple functions, but I can't find them....Where can I find a list of the functions for things like formatting as Currency, formatting with a certain number of decimal places, etc.?Thanks.
-
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…
-
Migrate custom OScript module from CS 16.0 to CS 23.3
Hy experts. I hope you are doing great. I have a development in OScript of a customized module and implemented in version 16.0 We are now migrating the custom module to version 23.3 When I went to do the build, it started showing an error in the instantiation of the CUSTOMIZATIONSRT object. I saw that in the documentation…
-
Does Content Server have built in JWT generation library
Hi all, I have an upcoming project where I need to call a REST service from Oscript. This service uses JWT (JSON Web Token) for authentication and session management. Normally, I'd find one of many Java libraries that do this, and call them through JavaObject methods, but given the extra scrutiny that OpenText is giving to…
-
How to copy only the child nodes of a folder to another location inside Content Server?
Hi Experts, I need some directions on how to copy only child nodes of a folder(TestA) inside content server to another folder(TestB)? When I am using NODEACTION:COPY:<Container>:CHILDREN tag, it is coping all the child nodes including the folder TestA. So here I just want to copy only the child nodes. Is there any direct…
-
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…
-
Is this a bug with Web.ToJSON and Web.FromJSON?
Hi there, I have the following code: result = CAPI.Exec( dbConnect.fConnection, 'select ID,Name from KUAF') result2 = Web.FromJSON( Web.ToJSON( result )) Obviously result is RecArray, however, result2 is list of Assoc! Is it a bug? If not, what's the best way to cast list of array to RecArray?
-
CSIDE 22.4 taking FOREVER to compile
Hi, I had this in the past with older versions of CS and CSIDE, but this started up recently with my CSIDE 22.4 deployment on Eclipse 22-12 on Windows Server 2019. I think it may be related to a Windows update that was foisted on me, but have no way to prove it or back it out. This is also a Virtual Machine on VMWare 15.…