How to set value for attribute while it is read only field?
I want to modify value after i get value from some attributes.
String conditionAttribute = "Title Block.Lifecycle Phase";<br /> String agileConditionValue = item.getValue(agileClass.getAttribute(conditionAttribute)).toString();<br />item.setValue(agileClass.getAttribute(conditionAttribute), "Preliminary1");<br />
But I always receive “This attribute is read only”.
Please help me there are any way to modify that?
Thanks
This the attribute change controlled–property of the field? If it is then it can only be modified if the item is on a change order and you modify it via the redline table.
These are steps to modify attributes in BOM
1.Get a released assembly item.
2.Create a new Change Order, such as an ECO, for the item.
3.Add the item to the Affected Items table of the ECO. Also, specify the new revision in the change and set the item’s revision to the associated change.
4.Modify the item’s Redline BOM table.