cancel
Showing results for 
Search instead for 
Did you mean: 

Add Custom attribute to RestFormProperty

dataexpert
Champ in-the-making
Champ in-the-making
Hi, i'm working on activiti rest to manage a workflow process. At this moment i need to extend the form property by adding a new attribute like the existing one (required, writable ecc). For example i want to add "visibileInGrid" attribute so, when i get form property by rest service, for each property i have that attribute setted. Is it possible to do this?
Thanks
1 REPLY 1

trademak
Star Contributor
Star Contributor
You can override the default RestResponseFactory with your own implementation and change the createFormDataResponse method to return the custom form property object.

Best regards,