Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mutiple String values for the category

Status
Not open for further replies.

Dhanya1

Programmer
Nov 17, 2017
4
US
Hi All,
I am trying to update the document metadata in ECM using the livelink API.
One attribute is of type 'com.opentext.livelink.service.core.StringValue', but it has multiple rows showing on ECM.
So I tried giving comma delimiter for the multiple values, but they show up like below: (a, b, c should come in 3 different rows.)

unnamed_rweeqw.png


I assume I should be using something like this, "TYPEID_LIVELINK_STRMULTI", but couldn't find a similar one in the com.opentext.livelink packages.
Appreciate any input on this.

Thanks!
 
Again I would suggest you look at examples in the OT site or my site
LL stores each attribute in a list so if there is an attribute called

MyCat:MyAtt="myvalue" internally the value is stored as {"myvalue" ,"myvalue2" } or more or less one can say
MyCat:MyAtt[0]="myvalue"
MyCat:MyAtt[1]="myvalue2"
These are called "Multi Value Attributes" the category should support it.
also "TYPEID_LIVELINK_STRMULTI" is equivalent to one TextBox of HTML that can be MVA as well.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Thanks appnair!

Went through your code, and got the solution.
Just added the values one after the other.

Thanks,
Dhanya
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top