CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
OScript Orphaning an object
Hi all, I am trying to extend navigation callback object to customize the navigation menu. Whenever I have tried to orphan the LLWEB object and extend the orphaned object on my module. But it's showing error that the Orphaned object is non-existent. I have tried with other objects also but it's still the same. I am…
-
Smart View workflow init page custom
Hi I'm trying to extend Smart View in the workflow page. Based on documentation there are 3 steps to do: 1. Implementing the `GetStartRESTServiceData` and `GetRESTServiceData` methods from `WFMAIN::WFObjectTypes::WFDataTypes` in the data package OSpace 2. Implementing an extension controller by inheriting the…
-
CSNODE Quick start guide
This discussion was created from comments split from: OpenText AppWorks Developer website update!.
-
Can't create node - learning CSIDE via OT online course
I am doing the CSIDE via the OT online subscription. Having a hard time with module 9 - llnode, webnodes and co. I am following the examples in the course but the node does not show up at all. The example requires the node to be in a folder but does not appear even when in a folder. If I try to force the creation while in…
-
Avoiding subtypes ID collison when creating a new Volume
Hi Folks, I am trying to create a new volume in Content Server, and it looks like what we need is just: Object llNode = $LLIAPI.LLNodeSubsystem.GetItem( TheIDOfTheVolume )
llnode.NodeAlloc( session, TheNameOfTheVolume) But this is assuming that we already know the ID of the volume. The thing about this ID, is that 0 to…
-
Error occured during the build: java.nio.charset.MalformedInputException
Hello everyone! I ran into a problem while developing a project in Eclipse for the OpenText Content Server. The build of the whole project fails, after which you have to restart Eclipse. I have to restart the development environment, because OTCS, when accessed through the browser, first displays a blank screen, and then…
-
Develop to change archive's names after using Object Exporter
Hello everyone, Recently we made a migration of documents with the Object Exporter tool in a Content Server 10.0. This tool extract the metadata with the name of the archive in a txt file and the content of the archive in xml aside. We want to know, if it's possible, to develop with some tool the method to rename the files…
-
Get The SubType Of An Uploaded Object on AttrData.os
Hi, I'm trying to get the SubType of an item during the upload process / create folder process in Content Server. Example : I'm uploading a new document to the server and I want to get it's SubType which is "144" as shown at the DTreeCore table during debugging on AttrData.os located at core/LLIAPI/AttrObjects/AttrData.os…
-
What makes WebReportsWF override WF general pane or not?
I'm tracking a problem with integration between my employer's custom module and WebReportsWF. In some instances, WebReportsWF will override the propertiesgeneralpane.html and in some cases it does not. On the client's system, it does, on my sandbox, with WebReportsWF installed and installed last, it does not. I can't find…
-
Calling External HTTPS RestService using RestClient.NewSecure ?
Hi All, Has anyone successfully used restClient.NewSecure (preferred) (also tried sockets, but connection closed error there) to successfully call an https service (specifically azure cognitive services), and if so, could you give me a pointer on what is wrong with my code? Attached is a java routine that works perfectly…
-
fsubtypes not working as expected
I am trying to implement a callback inherit from LLIAPI::NodeCallbacks, then overwrite CBCategoriesUpdatePost function. I have set fSubTypes = {848}. But the overwrite function is always being called no matter what the node type is when I change category attribute value. I played with Setup and __Init function, but it…
-
adding new attribute type in categories
Hello, A customer wants to use a specific type of dates (Hijri Date) So i guess we will need to add a new attribute type to the categories, but actually i never done this before, so any idea on where to start to develop such request. Any documentation to start from will be helpful. Thanks in advance, and hope all of you…
-
CSIDE Import doesn't respect original source importing
I've noticed a quirk with the CSIDE import process. It does odd things with the indents of your Oscript. When you write a new function in a new package, typically it puts your function prototype at tab 1, and (if you're using the code generation widget), the next line is at tab 2, and the end function is at tab 1 again.…
-
GUID format different between DAPINODE and Oracle version of DTree
Hi, I had an override in the Item Handler code (for product integration) where I need to get the category ID. The definition fragment passed into MapWFDataToCat() has all the information about the category including it's GUID except no category ID. So I wrote a small routine to fetch it from the GUID. In SQL Server, no…
-
No 'SetValues' in MultiLineAttribute Class
Hi, We have generated cws.jar from our service URL (below) but as per the documentation we are able to create category but there is no setValues method avaiable for MultilineAttribute. https:///Authentication?wsdl https:///DocumentManagement?wsdl Rajender
-
Send Email to a Group in Workflow
Hi, I have a requirement to send notification to a group after completion of a task. How can i do that. Using Process Handler i can send email to only known email addresses, is there any way just we can configure group name and emails goes to all members in group. Thanks, Sagar
-
Create ConnectedWorkspace using OScript
Hi, I am trying to create workspace using OScript, but getting error "select a valid template to create a business workspace". Below is my code snippet can any one please help me in solving this. Dynamic NewFolderName, LLNode, parentFolder, storingFolder, nodeStatus Assoc fileData wSession = prgCtx.Dsession().fSession…
-
Create Connected workspace using OScript in workflow
Hi, I have requirement to create a Connected Workspace and add it as a shortcut in workflow attachments. Can you anyone please guide me how can I do that. A code snippet will be appreciated. Regards, Sagar
-
How to override a function overriden on Webattribute module in my custom module ?
Hello community, I have integrated a custom code on Webattribute module exactly in a function already overriden. My problem is when I create a new OSpace in my custom module and when I override this function CS does not read its content. Can you help me ? Regards,
-
OScript String Manipulation
I am reviewing some code and have come across the following option for a subset of a string: mystring[:-4] If mystring is 'abcdef', then what is returned with mystring[:-4]? I understand if I use mystring[1:4] it will return 'abcd' or if I use mystring[-4:-2] it will return 'cd'. So, what happens when you leave off the…