CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
Exporting Documents from CS v16
What is the efficient way to export 35000 documents with all versions from Content Suite v16 to Windows file system ? The documents are stored in multiple folders in Content Server . Thanks & Regards Saswata Mandal
-
CSIDE on RHEL 7.8
I am seeing almost a similar thing as this poster since I am new to CSIDE on Linux it is quite possible I do not know what I am doing. My CS Server binaries and install directories are owned by root:root the main oracle install owned by oracle:install.I start my llserver with the sudo root command start_lladmin and…
-
LINUX RHEL 7.8
I created a module in Windows 2016/CSIDE that contains one or two RH's a bunch of java code So far good they have been in use for more than a year. We have a potential customer on Linux CS so I tried installing my module. The module did not install from my past knowledge with builder and UNIX I renamed it by module.oll to…
-
Can't create module in CSIDE
I have been trying to set up Oclipse CSIDE as an OScript novice, in order to use it for SmartUI SDK. However, I have been struggling with creating a module in Oclipse. After entering module name and version in the Wizard and clicking OK, I receive "java.lang.reflect.InvocationTargetException". Looking further down in the…
-
OUnit Test suite in 21.4 CSIDE
Hi, When I upgraded CSIDE, I noticed a new control, an OUnit test control: It looks like an Oscript version of the JUnit test suite you find in your typical Java project. As someone who is trying to implement more TDD in my Oscript development, I have to ask if there is any guidance on how to use OUnit tests? I haven't…
-
Version of Apache Http-client jar that ships with Content Server
Hi, At least in CS 21.2 (haven't checked CS 21.4 yet), I noticed the httpclient.jar in the OTHome\ojlibs directory. I suspect it's been there a while. My question to OT Development is this: Which version of the Apache HTTP Client are you shipping Content Server with? It appears to be a 4.x variant, I'd guess HttpClient 4.4…
-
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?
-
JSON Web Tokens from Oscript
Hi, Bit of an edge case, but is anyone using Oscript to generate JSON Web Tokens (JWT's)? I ask because there is a particular service I want to write a token for from oscript that requires SHA-256 as the encryption. I noticed that if I call Security.Encrypt() passing Security.SHA256 as the encryption method, the drop-in…
-
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…
-
Localisation/Localization - Difference Between Unix and Windows, and between CS versions
Hello experts! I note that language packs are available in both Unix and Windows. What are the differences between them? I've found no documentation unfortunately with the details. Also curious if there's a list of changes between versions? I.e. some manifest that lists which files have been updated/changed say from 21.1…
-
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 =…
-
Need help with translating Content Server
Hello, I'm trying to translate Content Server into another language, I did the localization procedure with the python script that they offer, I have a language pack prepared for translation, the question is, what exactly do I need to translate? I have .properties, .htm, .js and .css files in those directories, is it enough…
-
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 """
-
CSIDE - Working with Linux
Hi, I recently completed the Content Server IDE (CSIDE) Fundamentals & Content Server System Administration l 16.2.8 courses and wanted to start implementing what I learned in our environment. Problem is that the courses had everything on a windows server and we have content server on linux. I'm not really sure how to get…
-
Brava now opening signed documents & CoreSignature question
Hello everyone, my team is trying to implement a special third party signing solution through the use of workflows, one problem that we came across was with Brava! when we tried opening documents that were already electronically signed It just gives us an error. Any help on how this can be fixed or why it is happening? We…
-
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?
-
Which certificate store used when Oscript calls Java libraries
Hi, I have some Oscript that calls an API via the Apache HTTP Client library. I'm getting a (well known) certificate error, mainly this Java exception: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to…
-
Locked out of Admin account after changing the password
Hello, I tried installing an instance of CS on my local PC, using Apache Tomcat, SQL Server and OTDS, I solved all of the errors by myself and I managed to get OTCS running on localhost, I was in, I could do and access everything, the thing is OTCS told me to change the admin password, I did, and restarted CS as I was…
-
Validation of input fields in Content Server
Hello Please could you let me know if anyone has tried to validate attributes in Content Server, like attribute type, attribute length and other conditions?
-
Order of bind variables in CAPI.Exec()
Hi, I was writing a function that does either an Insert or an Update, depending on whether there is already a row for that UID. The table is simple - consisting of an ID numeric field and a CLOB field. In my SQL, I use bind variables, :A1 and :A2 for the two pieces of data. Depending on whether it's an insert or an update,…