Update an existing asset attribute

Use RAMSession.put(IRAMSessionObject, IProgressMonitor) to commit changes to a new or updated global asset attribute object. Only a repository administrator can create global asset attributes.

                //Update Name, Description and valid values
                newAssetAttribute.setName("Updated Asset Attribute Name");
                newAssetAttribute.setDescription("Updated Asset Attribute Description");
                newAssetAttribute.setValidValues(new String[]{"value 3", "new value"});
                newAssetAttribute.setSingleSetting(true);
                
                session.put(newAssetAttribute, new NullProgressMonitor());

Feedback