Get revision

Why IItem.get value(ItemConstants.ATT_TITLE_BLOCK_REV) throwing invalid parameter exception?

Agile User Asked on October 12, 2015 in Agile PLM (v9),   Product Collaboration.
Add Comment
4 Answer(s)

IItem item =  (IItem)session.getObject(IItem.OBJECT.TYPE, ITEMNUMBER);
item.getvalue(ItemConstants.ATT_TITLE_BLOCK_REV);

IItem is the agile API interface, not object.

Agile User Answered on October 13, 2015.
Add Comment

Thanks for your reply, but

item.getvalue(ItemConstants.ATT_TITLE_BLOCK_REV);

is throwing Invalid Parameter exception. Why?

Agile User Answered on October 14, 2015.
Add Comment

If you could paste the Full Code can explain more on this.

Agile Talent Answered on October 19, 2015.
Add Comment

//get item object
1. IItem item =(IItem)session.getObject(IItem.OBJECT_TYPE, “Item_Number”);
**where “Item_Number” is a string value of any item of Part class.

// get revision
2. String revision =item.<span

Agile User Answered on October 22, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.