Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Automatic Category attribute update
Noura_Almazrouei_(nalmazrouei_-_(deleted))
I have 2 categories. Both have a same name attribute (Refno). I have applied these 2 categories on a document. Now i want when i update attribute (Refno) on one category it should automatically update that attribute (Refno) of 2nd category for that document.
Find more posts tagged with
Comments
eLink User
Message from Alex Kowalenko via eLinkIt's possible with an OScript module. The simplest approach is to orphanLLIAPI.LLIApi Root.NodeCallbacks into your custom module. Perform thecross-attribute function in the CBCategoriesUpdatePre method by manipulatingthe attribute data structure in the updateInfo.attrData frame.-alex------Original Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Saturday, May 21, 2005 6:01 PMTo: eLink RecipientSubject: Automatic Category attribute updateAutomatic Category attribute updatePosted by Amare, Yemane on 05/21/2005 05:59 PMI have 2 categories. Both have a same name attribute (Refno). I have applied these 2 categories on a document. Now i want when i updateattribute (Refno) on one category it should automatically update thatattribute (Refno) of 2nd category for that document.[To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Noura_Almazrouei_(nalmazrouei_-_(deleted))
I am using Livelink 9.1 Sp3.I have check "CBCategoriesUpdatePre" is not present in "LLIAPI.LLIApi Root.NodeCallbacks" should i need to create my own? I am very new to this Livelink. Please provide me some sample code for cross-attribute function. very much thanks.
Noura_Almazrouei_(nalmazrouei_-_(deleted))
Please solve my problem as soon as possible. I have to deliver task to my manager on urgent basis. I am using Livelink 9.1 Sp3.I have check "CBCategoriesUpdatePre" is not present in "LLIAPI.LLIApi Root.NodeCallbacks" should i need to create my own? I am very new to this Livelink. Please provide me some sample code for cross-attribute function. very much thanks.
eLink User
Message from Alex Kowalenko via eLinkThe "CBCategoriesUpdatePre" and "CBCategoriesUpdatePost" callbacks wereadded to Livelink only in version 9.1 SP4. If you cannot upgrade to 9.1 SP4then your task is more difficult. In your case, hooks that invoke thecallback methods must be inserted into the LLIAPI.LLIApiRoot.LLNode.NodeCategoriesUpdate method. These hooks must be insertedwithout changing the core code. If you are new to Livelink development youmay want to call for professional help. Open Text Global Services haveexcellent people. As for the cross-attribute function, you should understand thecategory-attribute data structure that is contained in the attrData frame ofthe NodeCategoriesUpdate method. This data structure contains values anddefinitions, including display names, of all category-attributes for thenode. Your task is to find attributes in different categories with displayname 'Refno'. Then you must make sure that their values are the same. Youmust also determine which attribute is the one changed by the user and whichone(s) must be altered automatically. I would suggest that you do some research. In Builder set a breakpoint onthe LLIAPI.LLIApi Root.LLNode.NodeCategoriesUpdate method and follow theexecution of a category update operation. Pay special attention to attrDatastructure. -alex------Original Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Monday, May 23, 2005 12:34 PMTo: eLink RecipientSubject: Please help (As soon as possible ) RE Automatic Category attributeupdatePlease help (As soon as possible ) RE Automatic Category attribute updatePosted by Amare, Yemane on 05/23/2005 12:33 PMPlease solve my problem as soon as possible. I have to deliver task to mymanager on urgent basis. I am using Livelink 9.1 Sp3.I have check "CBCategoriesUpdatePre" is not present in "LLIAPI.LLIApiRoot.NodeCallbacks" should i need to create my own? I am very new to this Livelink. Please provide me some sample code forcross-attribute function. very much thanks. [To reply to this thread, use your normal E-mail reply function.]============================================================Topic: Automatic Category attribute update
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=4001167&objAction=viewDiscussion
: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe