I need to access context data to use it directly. It looks like one way of doing that is (example from ActivityContextController):
$className = $this->get('oro_entity.routing_helper')->resolveEntityClass($activity);
$result = $this->getManager()->getActivityContext($className, $id);
1. Is this the best way?
2. If the activity is Task, what should $activity (the $entityName parameter of resolveEntityClass()) in the above example be? I’ve tried every variation I can think of but always get an EntityAliasNotFoundException.
You must be logged in to reply to this topic.