Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Retrieving Attribute values using LAPI
Ben_Vosloo_(elbeadmin_-_(deleted))
I need to read the datavalues for ceratin attributes in a custom category and display them in my program.I use LL_LL_FetchCategoryVersion to get the category version and then use LL_AttrGetValues to get the datavalues for a specific attribute. I don't get any error here, but when I use LL_ListGetString to read the value in the return parameter - AttrValues. I get an error.Could anyone please help?Thanks in advance.
Find more posts tagged with
Comments
eLink User
Message from Sathya Saravanan via eLinkThe listgetstring will return an error if the attribute is empty and doesnot contain any values. if you are looking to read values of categoriesalready assigned to object, use getobjectattributesex instead.------------------------------T.Sathya Saravanan.Senior Integration Consultant,OpenText Middle East,Dubai. U.A.E.Phone -+971 4 3313168Fax - +971 4 3313277Mobile - +971 50 5524348-----Original Message-----From: knowledge@opentext.com [mailto:knowledge@opentext.com]On Behalf OfeLink Discussion: LAPI DiscussionSent: Thursday, February 14, 2002 9:53 AMTo: eLink RecipientSubject: Retrieving Attribute values using LAPIRetrieving Attribute values using LAPIPosted by ELBEAdmin on 02/14/2002 12:51 AMI need to read the datavalues for ceratin attributes in a custom categoryand display them in my program.I use LL_LL_FetchCategoryVersion to get the category version and then useLL_AttrGetValues to get the datavalues for a specific attribute. I don't getany error here, but when I use LL_ListGetString to read the value in thereturn parameter - AttrValues. I get an error.Could anyone please help?Thanks in advance.[To reply to this thread, use your normal e-mail reply function.]============================================================Discussion: LAPI Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=765428&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Ben_Vosloo_(elbeadmin_-_(deleted))
Thanks for your suggession. But I still get the same error even when the attribute i am getting the value for (using ll_AttrGetValues) does have a value. I observed that when I get the category identifier using ll_listObjectCategoryIds , the version in the Assoc returned was 4. This is the CatId I send to ll_Fetchcategoryversion. Should i be specifying 0 ? Could anybody help me with some sample code here?Thank you