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.
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?

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

s data analytics courses in hyderabad a top-rated[…]

Issue solved, run this command : cd /var/www/proc[…]

Intermediate timer event problem

Thiên Hạ Bet is considered as the house that[…]


That seems quite easy ,thanx for halping