Hi,
How do I get and set the teamsIds and teamsNames for any entity using PHP and js? I have tried $entity->get('teamsIds') & $entity->get('teamsNames') but the result is always null(was trying to implement this in hooks). similarly in js model.set/model.get('teamsIds') result in null or undefined. The response in browser while accessing using the url is working fine with correct result in json format. Can anyone correct me on these lines if I am missing something??
How do I get and set the teamsIds and teamsNames for any entity using PHP and js? I have tried $entity->get('teamsIds') & $entity->get('teamsNames') but the result is always null(was trying to implement this in hooks). similarly in js model.set/model.get('teamsIds') result in null or undefined. The response in browser while accessing using the url is working fine with correct result in json format. Can anyone correct me on these lines if I am missing something??
Comment