CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
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…
-
Is there any support for OpenText Extended ECM for Engineering in CWS?
Hello. We are in 16.3.6 and I would like to know if there is CWS API support for xENG, stuff like: * Create a controlled document, * Promote or Demote a ProcessFlow * Create Revision If so, can you share links to documentation please? Thank you. David
-
orphan Oscript
Hi I need to modify Action-PermissionsView in WEBNODE::WebNode::DefaultWebNode. I did the orphan of Action-PermissionsView but when I do debug it doesen't execute my function have you suggestion ? thanks
-
CSV file document File properties showing error - Failed to open MS office Item
Hi Experts, We uploaded .Docx & .CSV file into content server, but while checking file properties of .CSV file it showing as Failed to open MS office item where as .docx file properties showing app name, Author and other option. Pls suggest is that any config missing or how we can rectify that error in file properties.…
-
Remove Supplemental Markings using CWS/REST API ?
How to remove Supplemental Markings?
-
Apperance tag for frontend
Under Content Server apperances, do we have any tag which can be used to see on which content server instance user request is going, example. if we have two frontends, so when user is using them by load balancer, can we know using apperance which frontend is serving the user request.
-
Where's ATTRTABLE after upgraded from 16.2.1 to 16.2.5
I have an object inherits ATTRTABLE::#'Attribute Handlers'#. but after upgraded to 16.2.5 the module 'OpenText Attribute Extension' has to be uninstalled and OT support only mentioned it merged into core package. Appreciate for help. Nico
-
Removing a category
Hi folks, I'm having the opposite problem respect to others in this forum. Normally the exigence is adding a category to a node, instead I must to detach a category from a node (using oscript). Someone have some suggest about this issue? May be a solution is to drop the attrdata object, but .. how can I to perform this ?…
-
Overriding core modules scripts..
Hello Experts,I would like to overrride some of the scripts from $WebNode.WebNodeCmds from my custom module.Can anybody tell me how to do that.Any help ASAP will be appreciated.Thanks in advance.
-
Copy Category
I am having a little bit of trouble trying to copy a category from one folder to another. I am creating a folder within another folder via OScript and essentially am trying to inherit the category and attribute values and from the original (parent) folder. DAPI.CopyCategory does not seem to work. I attached a snippet of my…