cancel
Showing results for 
Search instead for 
Did you mean: 

I want add new attribute to formProperty

macklane
Champ in-the-making
Champ in-the-making
Currently following attributes are supported in Activiti formProperty

name
expression
variable
type
defaultExpression
datePattern
readable
writeable
required

I want to add one more custom attribute for formProperty called as "customData", where I can keep any custom data in json format and use it where required. I want to extent any formProperty to have information like layout, styles, permissions etc. So that at the time of renderring or processing I can use this information.

I was looking at classes :
org.activiti.bpmn.model.FormProperty, FormPropertyHandler, FormPropertyParser etc.

But I still need some guidance on this.
2 REPLIES 2

yvoswillens
Champ in-the-making
Champ in-the-making
Hi,

you could create a custom form property.
There are several other forum posts regarding this. Or take a look at this excellent blog from Joram; http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/

Regards,

Yvo

car82
Champ in-the-making
Champ in-the-making
Another useful link is http://mwenus.blogspot.it/2014/02/how-to-create-custom-form-property_13.html where there is an example of a custom  form property types with parameters.