Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#829934
Hello,
I'm trying to use PMFSendVariables() to Send some variables to an existing Grid but I'm facing a small issue.
When I use the below line, the existing data in the grid is totally deleted and replaced with that value!
Code: Select all
@=SetInitiatives[2]['InitiativeFlag']= "1";
@@result = PMFSendVariables(@@ApplicationUID,array('SetInitiatives' => @=SetInitiatives));
How can I set the value to the filed: "InitiativeFlag" = "1" in the grid without affecting the existing values?

Thanks
#830020
Hello Kamil123


if you pass a new array there's no variable to reference, the functions used creates a new one

don't use
Code: Select all
MFSendVariables(@@ApplicationUID,array('SetInitiatives' => @=SetInitiatives));
thinking your PM array is a PHP array.

always create a PHP variable and pass it to the function
Code: Select all
  $vars = array("SetInitiatives" => @@SetInitiatives);
    PMFSendVariables(@@APPLICATION, $vars);

To convert MBOX to PST, start by downloading and i[…]

My Assignment Services stands out as one of the be[…]

Erectile Dysfunction, commonly known as impotence,[…]

Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]