-
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
-
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…
-
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 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
-
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…
-
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
-
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?
-
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
-
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
-
CallbackScript as first step of a Workflow and DB manipulation
Hello, I have a workflow with a form attached. That form stores its data on a DB table.I have a callbackscript attached to a milestone in that workflow. The milestone is the first step of the workflow and its callbackscript is responsible for injecting data into the rows fo the database table attached to the form. The…
-
Add JavaScript file to Content Server browse request
Hi all, I want to add script tags to the UI for browse requests. I would like it for all requests but browse and when viewing versions will be a start. Is this possible including with the new 10.5 BETA. Thanks! My end goal being i do something in javascript on an image next to each document row using the…
-
Error while openning any module in Builder
Hello, I have installed the version of Builder accordingly to the version of the content server, which is version 10 sp2 update 9, and what happened is that I cannot open any module in Builder. When I try to expand any content server module I get the following error: "Cannot get value; a non-existing feature was specified"…
-
LLiapi's DBCursor v CAPI
Hi I am trying to streamline the code involved in doing category upgrades while leaving the process intact and note that the call retrieving the next set of nodes to process uses LLiapi's DBCursor object (which in turn uses SQLConnections) I am more familiar with using CAPI. Which is faster to use? Which is'better' to use?…
-
Event of modifying an attribute of a category
Hello, I would like to know if it possible to know which event in oscript is related to the modification of an attribute of a category, for instance a document has a category X and an attribute Y that has the value of 2, i would like to do some operations when that value is changed for example to 3. Can anyone help me?…
-
Display categories in BrowseTaskList window
Hi all. I need Display categories in BrowseTaskList window. I add: ;StringsuperHTMLPrefix = .Module( 'webattribute' ).HTMLPrefix() ;;call <superHTMLPrefix + 'infocategories.html'>() to browsetasklist.html . But i see next message "No Categories for this Task List.", its happen because response data is different.What shall…