-
Is there a built-in function to get the Content Server URL?
My function is not within any LLRequestHandler, is there a built-in function to get the Content Server URL?
-
OpenText Content Server IDE (CSIDE) 25.x Complete Documentation
We are currently working with OpenText Content Server IDE (CSIDE) version 25.x, and we only have access to very old documentation that covers basic fundamentals. Unfortunately, it does not reflect the current architecture, development standards, and features available in version 25.x (25.1, 25.3). Therefore, we kindly need…
-
Content Server 25.3 error
I installed the 25.1 plugin from the Knowledge Center in Eclipse 2024‑09. However, when I run it, I get the following error: Error: Could not find or load main class com.opentext.oclipse.vm.process.RemoteOScriptVMProcessCaused by: java.lang.ClassNotFoundException: com.opentext.oclipse.vm.process.RemoteOScriptVMProcess Can…
-
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…
-
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 help with my code auto close script
hello, My callback function is not working, please help public function Dynamic autoCloseStep( \ Object prgCtx, \ WAPIWORK work, \ Integer workID, \ Integer subWorkID, \ Integer taskID, \ Integer returnSubWorkID, \ Integer returnTaskID, \ Dynamic extraData = Undefined ) Object tempPrgCtx = prgCtx // Create admin session…
-
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?
-
Automate Object Importer/Exporter
Hello everyone, I would like to manage via script the export/import of data from a Content Server instance to another using Object Importer/Exporter. Is there any way to start the the object export emulating what happens in the page /otcs/cs.exe?func=oe.ManualExport? In the same way than I would like to start object import…
-
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…