Here is the scenario.
1. I have written a LAPI program in java.
2. The program uploads a document into livelink and I attach a category to the document thru my program
3. In the program I set values to all the text attributes of the category.
Below is what I am not able to do. And I need help.
I am not able to attach value to a POPUP text attribute of the category thru my program.
I can attach value to a normal text attribute, which is not a POPUP.
Here is the piece of code that I have.
/* Attach value to a POPUP text attribute of a category */
attrValues=new LLValue().setList();
attrValues.setSize(1);
attrValues.setString(0, "FGT");
if (attr.AttrSetValues(catVersion, "TAX TYPE", attr.ATTR_DEFAULTVALUES, attrValPath, attrValues) != 0)
{
System.out.println("AttrSetValues Failed.");
return;
}
********/
I appreciate your help.
Thanks in Advance,
Sunu
1. I have written a LAPI program in java.
2. The program uploads a document into livelink and I attach a category to the document thru my program
3. In the program I set values to all the text attributes of the category.
Below is what I am not able to do. And I need help.
I am not able to attach value to a POPUP text attribute of the category thru my program.
I can attach value to a normal text attribute, which is not a POPUP.
Here is the piece of code that I have.
/* Attach value to a POPUP text attribute of a category */
attrValues=new LLValue().setList();
attrValues.setSize(1);
attrValues.setString(0, "FGT");
if (attr.AttrSetValues(catVersion, "TAX TYPE", attr.ATTR_DEFAULTVALUES, attrValPath, attrValues) != 0)
{
System.out.println("AttrSetValues Failed.");
return;
}
********/
I appreciate your help.
Thanks in Advance,
Sunu