cancel
Showing results for 
Search instead for 
Did you mean: 

List Form Properties in API doesn't work

timleytens
Champ in-the-making
Champ in-the-making
Hi

I'm writing a drupal implementation and I'm trying to get the form properties so I can render them through the drupal form API.

Request: GET /form/{taskId}/properties
returns only an emty data array {"data": []}

The taskId is correct cause it fails on wrong id's and the rendered html form can be returned…
5 REPLIES 5

frederikherema1
Star Contributor
Star Contributor
How do you define your form-properties on your task? Can you post your user-task definition?

timleytens
Champ in-the-making
Champ in-the-making
I'm using the build in expense note example.

frederikherema1
Star Contributor
Star Contributor
The built-in example doen't use formproperties, it uses the built-in html from-rendering:

http://activiti.org/userguide/index.html#buildInFormRendering

timleytens
Champ in-the-making
Champ in-the-making
Isn't it possible to give properties to every form, because every form you now make through the kickstarter doesn't have them…
And for 3rd party implementation i can't do anything with an already rendered form.

Greets

Tim

frederikherema1
Star Contributor
Star Contributor
The plan is to switch to form-properties as default way of rendering. The examples shipped with 5.4 still use html-forms, next release, they will contain form-properties.
Also, the activiti-designer contains functionality to specify a form (since 5.4)