This topic contains 1 reply, has 1 voice, and was last updated by andytnumiko 8 years, 2 months ago.
- Topic
Hi,
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);
2 questions:
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.thanks
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.