CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
CSIDE 25.1 released
Just a heads-up that CSIDE 25.1 got posted last week: - Release note: https://support.opentext.com/csm?sys_kb_id=5166f5a44780e610c331fdcb416d439c&id=kb_article_view&sysparm_rank=3&sysparm_tsqueryId=65c39e0347cc2610f8fe9681516d439b - Binary:…
-
How to make content-type : 'multipart/form-data' POST request using OScript?
Hello Team! We need to make a POST request using OScript, which would use 'content-type : 'multipart/form-data'', like in Postman. The body would have a 'cert' file with key attached. That's how the request looks in Postman: Is it possible to do with OScript and, if yes, is there any available guidance or examples? We have…
-
How to write an OScript that hooks into the Create or AddVersion event
I will need to use content server SDK to create my customization. How to write an OScript that hooks into the Create or AddVersion event. The script checks the file name format using a regular expression. If the format is invalid, the script can block the upload and return an error message.
-
Unable to start debug mode for Content Server in eclipse
I patched my dev content server recently and I started seeing this issue after. I cannot seem to start Content server through eclipse. I have updated my CSIDE with latest and my java version is 17. Please advise.
-
GeneralCallback Event Script & Adhoc SubWorkflow
Hi Folks, I have a GeneralCallBack event script that is selected to run when the step is ready. This works fine but its running twice, when it creates an adhoc subworkflow (like when its assigned to a group and full expand is chosen so all members in a group get the step) and for individual steps within the subworkflow. Is…
-
Replicating DocumentCreateOrUpdate OScript logic via OOTB APIs
Hello, We have a custom OScript module that creates business attachments by calling the following function: XECMPFNA::BulkActions::DocumentCreateOrUpdate.execute(). This logic creates documents and automatically inserts related entries into the XECMPFNA_DOCUMENTS table. These entries are then used in our downstream…
-
Oscript: insert data to Forms table
In OpenText Content Server, the Forms module allows you to create a table and later insert data using a WebReport tag with the destination set to the form. How can I achieve the same result using Oscript? Specifically, how can I insert data into a Forms table (i.e., submit a new form entry) via Oscript?
-
replacing new node content from base64
Hi, I am trying to add signiture on any pdf loaded to content server (Ext. ECM 24.2). I managed to send the node as base64 string to the customer's Signer server, and I return to Oscript the Signed doc as Base64. Now I am trying to replace the content of the newly added file (DAPINODE) with the decoded Bytes i got from the…
-
Extract the business process/logic from the workflow map and oscript.
we are using content server version 9.7.We have many workflows which was developed 15 years ago. We want to extract the business process/logic from the workflow map and oscript. Please let me know how we can accomplish this.
-
xECM 24.2 - Digitally Sign the Module - Reposting in CSIDE Category
Appreciate if anyone has any info on how to sign the OLL files. https://forums.opentext.com/forums/developer/discussion/312575/xecm-24-2-digitally-sign-the-module
-
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…
-
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…
-
Module creation on CSIDE
Hi I just recently installed Eclipse as well as the OScript plugin. When creating a module, I am faced with this error, please help.
-
OBuild and OSCript references - update on JIRA's?
Hi @Dave Carpeneto Wondering if there's an update on following JIRA's we'd previously swapped notes on. OIDE-3718 covers the "remove server requirement from OBuild" request OIDE-3778 covers the "replicate arbitrary folder from source tree" request OIDE-4473 covers the "option to specify target platform" request OIDE-4475…
-
Is CSIDE 24.4 posted?
I am keeping get message to update CSIDE to 24.4, but when I check updates, there are no CS updates available. Can someone confirm if CSIDE 24.4 is posted and how to update it? Also after install today's main build, I cannot build any project, but with a lot of errors that CS components cannot be found. Does anyone get…
-
Why should the Multilingual Check function always return True?
Hi, We want the browse folder functionality to avoid having the sql query join with the webnodes_metadata_EN_en table. This woud improve our browsing experience tremendously. To achieve this there is a configuration setting, however this is always overruled in the Oscript function '_GetSelectWithPaging_IsMultiplingual'…
-
Webreports :BREAK function using OScript
Hello All, I believe this ask goes beyond base functionality, so I have to assume an OScript solution is my best bet. Wondering if anyone has toyed with the idea of a WebReport tag that would prematurely stop execution? Conceptually similar to a BREAK line in an IF/switch statement, only it would 'kill' the executing…
-
OTCS REST API Upload Failed for Files Larger than 500mb
I am developing a custom program using C#, consuming OTCS REST API. The OTCS version running is 22.4 and I am usinfg REST Sharp to call the API. There are instances that when the user is uploading files greater than 500MB, I wlll not get a HTTP success message with a node ID returned. Instead, a non JSON message or a NULL…
-
OTHOME\temp
Experts @Stephan Baumann @Dave Carpeneto I have a module in which on installation I allocate a folder in OTHOME\TEMP\<MYMODULENAME>\myfile.txt this was all fine and dandy until I started noticing this in my current version on service re-start I see all temp folders getting deleted and re-created. It is fine for OT products…
-
Anyone know the inner workings of XML Workflow Interchange (Oscript/C++ level)?
I'm looking for someone who might know about the inner workings of XML Workflow Interchange. In particular, does anyone know when the decision is made to send the XML WFIC task on, or to change its status to Ready and make it available in the user's inbox? In particular, I'm dealing with Livelink 9.7.1 I've traced it to a…
-
How to find out the Annual Growth of the Archive Center?
Hello Everyone, How to find out the Annual Growth of the Archive Center? Please help me, as I need this information. Regards, Ritikraj Singh