-----Original Message-----From: eLink Discussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com]Sent: May 23, 2003 9:57 AMTo: eLink RecipientSubject: Reading/Updating Custom Attributes in LL v9.x Reading/Updating Custom Attributes in LL v9.x Posted by GenzymeUser1 (Gorman, Eliot) on 05/23/2003 09:43 AM What is the correct method for reading and updating custom attributes in LL v9 using OScript code? I've seen several threads that mention differences between v8 and v9 and LAPI, but am having difficulty locating the proper methods in v9 using OScript. Seems as if the old DAPI methods do not work anymore?We need to select based on attribute values, then update specific attributes. Would also like to have these updates show in appropriate LL audit logs if configured to log those types of updates.Any info appreciated.Thanks,Eliot Gorman
-----Original Message-----From: eLink Discussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com]Sent: May 23, 2003 11:06 AMTo: eLink RecipientSubject: RE Reading/Updating Custom Attributes in LL v9.x RE Reading/Updating Custom Attributes in LL v9.x Posted by GenzymeUser1 (Gorman, Eliot) on 05/23/2003 10:48 AM In reply to: RE Reading/Updating Custom Attributes in LL v9.x Posted by kward (Ward, Kevin) on 05/23/2003 10:13 AM Thanks for the reply Kevin.I've been thru both of those tech tips, but for some reason when I use these methods, my node appears to have no custom attribute data, at least nothing is getting returned. I must be missing something?Are there different ways to store attribute data in v9, that may require different ways to retrieve/update the attribute data?Thanks,Eliot
-----Original Message-----From: eLink Discussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com]Sent: May 23, 2003 1:28 PMTo: eLink RecipientSubject: RE Reading/Updating Custom Attributes in LL v9.x RE Reading/Updating Custom Attributes in LL v9.x Posted by GenzymeUser1 (Gorman, Eliot) on 05/23/2003 01:21 PM In reply to: RE RE Reading/Updating Custom Attributes in LL v9.x Posted by kward (Ward, Kevin) on 05/23/2003 11:34 AM Kevin,Thanks, I believe it was the version number. I passed the Node.pVersionNum instead of a hard coded 0 (assuming it would use current) and I now get the data returned as the documentation states. Now I just need code up the put to do the update which looks straight forward.I trust that an update using f.DBPut() will automatically add these to the indexing pool with the updated attribute information?Thanks for your help - Eliot