CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
LiveLink builder post proccess feature
I'm new to the builder enviroment. Trying to figure out how to add a call to web service after adding a new file to the system or after making a chnage in some file / folder.
-
run multiple Task by Agent - return value?
Hallo, i have a running agent (once a Night), which performs two custom defined task. It run's fine for each single task, but it breaks if i like the two task running behind eachother. basically i have the following in the Execute() of parseAgent (it's enabeld only on one Frontendserver (german). It's the Frontend, because…
-
Kill/Autocomplete Workflow Step
I have a workflow step which is assigned to two users. If one of the users complete this step, I would like to run an eventscript that will kill/autocomplete the step for the other user. Has anyone been able to do similar. Any ideas? Thanks, Behzad
-
JavaObject supported in 95?
What was JavaObject first introduced? Is it supported in 95?
-
Proxy for Cross Domain WebService Call (with AJAX)
Hallo, Issue: we need on the Client (Browser) the result from an external Webservice Call Problem 1: Cross Domain Ajax Calls not allowd by browser Problem 2: The WS accepts only requests with Tech User and PW in the http Header - we do not pass them to the client, Nevertheless the call should only be possible for loged-in…
-
Manipulating MS Office documents with OScript
Has anyone updated MS Office documents with OScript before? Is it possible? One thing I can think of is to use JavaObject and Apache POI API, not sure if it's feasible. The requirement is quite simple though, there are placeholders in documents, we just need to find and replace them.
-
Gif too large
I was trying out the address book code from builder documentation. I tought everything went well, following the steps and everything. I was done with the "Creating Setup Scripts" and about to move to Controlling the Command Interface portion, but was testing before reaching that part ... So now I get an error (should I…
-
eval() function in Oscript?
I was wondering what the syntax is if you need to evaluate a string as an expression. In js, you would use eval() : eval("document." + formName + "._1_1_" + fieldId + "_1"); What would you do in oscript? Of course this doesn't work, but this is basically what I'm trying to do: isdefined(this.fRequest. + "elementName")
-
Adding the default header/footer to my new html pages
Hi, I created a new module with some custom html pages - how do i add the default livelink header/footer to these pages to make them look similar to other pages in the system? Thanks, Aruna
-
Some thoughts on permissions using o'script
Hi, For a workflow i need to understand permissons using o'script as the lines below . Integer iInitiatorPerms = $PSee + $PSeeContents | $PModify | $PDeleteVersions | $PCheckout if (!bIniPermsExist) dyResult = llnode.NodeRightAdd(wfcopy,initiatorID,iInitiatorPerms) if(isError(dyResult)) aRetVal.ok = false aRetVal.errMsg =…
-
user acl's and calling dapi functions
I'd like to add some custom code so that when a user creates a new folder in the Enterprise workspace, the owner id (dtree.UserID) value is always set to a dummy account which no one uses. We need this feature because we don't want any individual user to have "forever" access to an object even if she moves to a completely…
-
DataLookup.Execute
I was able to modify the lookupexample from the webform folder provided by OT. I'm able to retrieve data from a table I created. Now I would like to retrieve multiple rows (at the same time) from a table and populate a drop box in the HTLM page (to let the user make a selection) My guess, is that the DataLookup execute…
-
Defining a new Livelink agent - issues
Hi, Can someone point me in the right direction for how to define a new livelink agent? I've done the following so far: 1. Orphaned $LLAgent. -> LLAgentObjects -> Agents into my new module 2. Created a new child called "TestAgent". 3. Gave it a unique AgentID (1234), set fEnabled = True 4. Changed the "Execute" function…
-
Migrating Custom Module from Livelink 9.7.0 to 9.7.1
Good Day - My name is Luke Chalmers and I have been tasked with migrating our existing Livelink system from 9.7.0 to 9.7.1 for our enterprise. While everything has gone relativly smoothly the one issue I have run into is with the one custom module we have which auto-populates PDF forms with data stored in 3 different…
-
Merging multiple modules into one
Hello, I need to merge 3 different modules into one, is there any best-practice or guide I should follow? Or pitfalls I should watchout for? Thanks,
-
How to get objId of WorkFlow from WF Attribute?
Hi, I have the following issue * I successfully created and installed LL Attribute for Category using examples from the Attribute Package 1 v.1.0.0 for LiveLink 9.70 * Also My Attibute can be selected in WorkFlow Attributes and also Forms * The main idea of my attribute is Auto Complete - an input field to enable users…
-
Information for guiComponent
Where can I find documentation for guiComponent? How to use it to customize standard LL look and feel? Thanks
-
Workflow Event script for a long running transaction
Hi, I have an event script set on a Process step that will create certain groups and grant them permissions to a set of folders recursively. This is the last step in the workflow and is preceded by an item handler (run by a workflow agent). The event script works great until a certain number of recursive items - @100000.…
-
Calling a Request Handler from a Script
Is there a way to call a request handler from a script? I have created a nightly job in the opentext.ini file that calls a script file in the scripts folder. I would like to be able to call a request handler from the script. If there is a way, would someone please provide example code? Thanks, David
-
ApplyPermsToSubNodes
Hi, I used the script $LLIAPI.NodeUtil.ApplyPermsToSubNodes in my new module and have been seeing performance issues when it has a large number of sub-items to update in Livelink. More specifically it seems to lock the database tables. Has anyone seen this before? Is there a workaround to use something else that would…