Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By nateshnp
#786367
Hi All,

We are using php pages and loading the dynaform using rest api. The form displays correctly, but the data doesnot load. The list of values and other things. what can be the issue?

I have attached the php file for your reference.

Best Regards,
Natesh
User avatar
By amosbatto
#786460
Natesh, I don't see the attached file. Can you please add it as an attachment to your post.
By nateshnp
#786566
i have uploaded the php file. When we load the dynaform not all variables are getting loaded when we use get variable.

function getVariables($url, $ws, $token, $app)
{
$ch = curl_init();

curl_setopt($ch,CURLOPT_URL, $url.'/api/1.0/'.$ws.'/cases/'.$app.'/variables');
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch,CURLOPT_HTTPHEADER, array('Authorization: Bearer '.$token));

$output=curl_exec($ch);

curl_close($ch);
return $output;
}

$variables = getVariables($_SESSION['url'], $_SESSION['ws'], $_SESSION['access_token'], $caseid);
$variables = json_decode($variables, true);

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]