AnsweredAssumed Answered

Get values in $bean

Question asked by cheng yuzen on Mar 13, 2019
Latest reply on Mar 13, 2019 by cheng yuzen

Hi,everyone.

I'm a new developer in sugarcrm , sorry for my question.

 

we know :

$parent_id=$bean->parent_id;

can get the parent_id.

I try to get data->value whit $bean->data->value or everything I tried .

"data": {
      "value": "here's value",
      "tags": [],
      "object": {
      "name": "meeting",
      "type": "Meeting",
      "module": "Meetings",
      "id": "c4807fb0-414f-11e9-b5bb-ccfdbfc20594"
},

How can I get the value in PHP code?

 

thanks.

Outcomes