Questions and discussion about using ProcessMaker: user interface, running cases & functionality
User avatar
By jemiris
#824152
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
#824175
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:
https://www.pmusers.com/index.php/Extra ... session-id
By esraldi
#829491
Hi PM master,

i have same problem how to input our dynamic form case outside the PM web. i already try https://www.pmusers.com/index.php/ExtraRest_plugin#Get_login_session_ID:_GET_extrarest.2Fsession-id to access dynaform via browser but it's still failed. any example or suggestion maybe post value parameter via rest api to input but my dynaform need to attach file.

option:
1. Load the dynaform outside the PM (related the caseID)
2. Use rest api to input

this is the capture

Image
https://i.postimg.cc/rFWfyk7d/post-to-forum.png

The goals is input form no 2

sorry for my english, i hope u understand.

Thx before,

Darma

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]