Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

User avatar
By jemiris
My problem:

I got the Dynaform REST API via GET method. Since the Dynaform as JSON content on how to view the dynaform as HTML :?:

1. There is a one way where it can be json_decode($dynaform); If I decoded I need to construct the form. But for input fields like textbox and textarea it fine. But for the file upload and grid those cases how can we construct the data. If we construct will it act as the same as processmaker form
User avatar
By amosbatto
You can install the extraRest plugin and then use the following endpoint to get the Dynaform field properties:
GET extrarest/dynaform/{dyn_uid}
And you can use this endpoint to upload files to ProcessMaker cases:
POST extrarest/case/{app_uid}/upload

For grids, you can create an HTML table and place the fields inside the cells. You will have to implement it yourself.

Another possible solution if you are using PM 3.2.1 or earlier (which is recommended if using the Community Edition due to bugs in the later versions) is to create web entries for each of the Dynaforms and then modify the source code in the XXXXXXXXXXXXXXXXXXXPost.php file to submit the changes to an existing case and display the Web Entry in an <iframe> in your web page.

Another way to avoid manually creating the form is to display the Dynaform inside an <iframe> and attach the session ID to the URL to open the Dynaform. See: ... session-id
pass json array into grid

Oops, I forgot to increment the counter. It should[…]

I managed to connect rest api via php (curl: <[…]

Stop submit from javacript

Thank you will do like that

By the way 65535 is the max size of the varchar an[…]