CSIDE and OScript
Topics include: CSIDE development (SDK), OScript
-
using DAPI.RenameNode() function
When I use this function to rename a document in LL,specifically I changed the document's name from all-capitals to mixed-case. It seems to display properly with the new mixed-case name. But when I check the Properties-->General tab for the document, it still displays the old original all-capitals name. I did a quick…
-
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?…
-
Builder and WEBDAV
Message from Kevin Lin via eLinkHi,I notice that WEBDAV stops working when builder is running . Can anyone confirm that? Looks like WEBDAV is implemented very differently.Kevin
-
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…
-
Unregistered Cracker function message
Hi all, Occasionally, when I pass a strinified object to be converted back into its oscript object (in my case, a list), I get the following message. Unregistered cracker function: s Afterwards, the object is undefined (as one would expect if the string could not be converted). Here is a sample string I'm trying to…
-
PingerHandlers Help needed
Hi, I am trying to orphan the LLAGENT:::Pingerhandlers into my code. I wanted to know if someone can help me out with how the pingerhandlers work. Any kind of documentation would also help. Thanks, Anup
-
Get content of collection object
Hi, I want to use a collections object to collect objects from Content Server which represent some sort of a quick menu for users. The use of collections was the only way I found to keep the permissions so a user would not see an object in that collection if he had no according rights on the original object. I now wanted…
-
OScript Changes
Hi Now that Open Text generate a list of changed scripts for each new cummulative update (e.g. 1000_CS64_OScript_Changes_SP2_Update_11.txt) I'm wondering if it's possible to have access to the tool used to do this? It would be very useful for example to be able to generate a list of updated scripts between two versions of…
-
CS Module Admin
Hello everybody, I try to add some settings for a Module. I was able to define my settings for the Module and add a WebLingo via AdminIndexCallback. My question is how to use and configure the AdminLLRequstHanlder to save my settings? Is there some walkthorw and example to use? Thanks Mohamed Ltaief
-
Search WEB Services
I posted this is the WEB Services forum, but thought maybe someone in this forum would be able to answer... I am conducting a search via a WEB service call, however end users are receiving no results found in the search results. Those same users can go into CS10 and complete a search and they are receving the results in…
-
Creating new document nodes inside NodeCallbacks.CBCreate()
Is the creation of new nodes (specifically documents) supported from inside the NodeCallbacks.CBCreate() callback? We have a custom module that monitors new node creations by orphaning the NodeCallbacks object and implementing the CBCreate method. If a document is created in certain folders this CBCreate method creates an…
-
customizing language on user selection through URL
Hi, I am trying to change the language from En to French passing a value through URL. If any one has done any thing regarding that it will be help full. I am trying to use UAPI.SetUserLanguage( dbConnect.fLogin , "_en_US") or "_fr" to switch between two languages in the base html code.
-
How to read each row which is present in a CSV file?
Hi, Please let me know the procedure to read a CSV file or XML file using oscript. And how to read each record from the CSV file or XML file and create objects of that record????
-
Implementing CS log rotation using OScript 4
Hi guys, I'm trying to implement custom agent that could make rotation of CS logs. I've run into one problem, that I cannot overcome in any way. Here is how I implemented rotation process itself. - copy existing log file and rename the copy by appending date of rotate operation. (CS is keeping file reference to the…
-
Customize User and Groups Page
Hi , I am very new to customization.Can anyone please guide me how to customize the users and groups page. I want to add a column of "title" to be displayed always whenever a user is searched with the name column. Thanks, Ankur
-
XML parser error
"An exception occurred! Type:NetAccessorException, Message:Could not open file: http://java.sun.com/dtd/web-app_2_3.dtd' when i try to parse web.xml getting above error at line 2 <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application…