Skip to main content
Ascherer17
16-Pearl
October 28, 2019
Question

Updating Property Attributes Programmatically

  • October 28, 2019
  • 1 reply
  • 701 views

This answers the question but brings up another for the developers: Is there any chance of adding this functionality to the list of Services available to end users?  Specifically to change Property Category, Data Change Type, etc. via scripting.

1 reply

18-Opal
October 28, 2019

Hello,

 

You should be able to get it done via a trivial extension (I didn't test it though):

getProperty("myProperty").getPropertyDefinition().setCategory("newCategory");
getProperty("myProperty").getPropertyDefinition().getDataChangeType(DataChangeType.ALWAYS);

 

/ Constantine