-
Widget won't deploy to Content Script
I'm a beginner, I'm currently following "Content Server Smart View Development 20.2" course, I tried 3 times to deploy a greeting widget to content script but for some reason it won't show up. for clarification, these are the steps I did: I generated an OScript project using the Smart View SDK. I created a new module and…
-
xECM 21.4 - Integration Service
Hello everyone, I am new to the xECM product family and is currently working with Integration Service to archive files from Sharepoint. My use case is that I would like my files to be archived in specified Business Workspaces on Content Server. Here are some of the constraints: The precised location (sub-folders) within a…
-
Smart UI SDK deployment to Content Server
Hi all, I have completed a custom widget in Smart UI SDK 21.4.0 and have compiled the necessary files(out-release), I have also followed the guide on deploying through Oscript however there isn't enough documentation on deploying the customised module in a manner where it would avoid overwrite or damage existing opentext…
-
CSIDE 22.1 Abysmally slow when saving
Hi, Like many other developers, I moved to CS 22.1 and CSIDE 22.1. I've built a net new development environment on Windows Server 2019 and SQL Server 2019 with an internal OTDS. What I'm finding is that whenever I try to save any change, the IDE hangs for about 15-30 seconds, making development very difficult. I had a…
-
How to call a module upgrade script
Hi, For a module I'm working on, I need to call some Oscript to move some opentext.ini settings into KINI. I was under the impression that DoSubclassUpgrade() was the feature of my Module object I need to orphan, but I don't ever see it get called. Further, unlike other modules, I don't see the Configure script ever being…
-
How to set WF data BEFORE initiate?
I need to start an instance of a workflow map. But as a first step I need to set attributes values in the workflow. How to set attribute values BEFORE the initiation of the workflow map?
-
LoadWorkData returns only "Start Step"
I have a simple workflow with an event script at the middle step. In the script I need to get task data for the current step (where the script is assigned). To do so I use the following method: RecArray workData = $WFMAIN.WAPIPkg.LoadWorkData(prgCtx, work) But in the workData I can see only the 1st step "Start Step". Why…
-
Dynamic function call
I have an Assoc with associated function names to an object type: functionList = Assoc{ 'type1': Assoc{ 'method1': 'method1ForType1' 'method2': 'method2ForType1' } } How can I call some function with a name generated from a variable based on the functionList? I need something like: funcName =…
-
Multiline string value
Is there any comfortable way to define multiline string value in OScript? I need something like this: sqlQuery = """SELECT objf.sys_name, objf.ui_name, objf.show_order, ftype.system_name as type FROM object_field objf, field_type ftype WHERE objf.object_type_id = 1 AND objf.field_type_id = ftype.id """
-
Create an OScript object based on Class
Like in other languages I need to have an Object in my OScript module. This object will have properties and methods. So I would like to define it as a Class and then create an instance. Is it possible to do in OScript? Could somebody share an example?