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);

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

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]