Hi,
I have Case/Incident toolbar which includes buttons for different activity types. When the hosted controls for the activity pages are regular CRM Pages, all in fine. However when I change them to ISH pages (my desired page type), the activity is not able to be saved
"Record is Unavailable
The requested record was not found or you do not have sufficient permissions to view it."
I have determined that this is because the regarding field is not being populated correctly, as when I search and reset the related case, the activity is able to be saved. Looking at the debug parameters I can see that when the hosted control is the ISH type, the regardingObject is being set as account, rather than incident.
Here is my data for the action
LogicalName=task
regardingobjectid=[[$Context.Id]]
regardingobjectidname=[[$Context.title]]
regardingobjecttypecode=incident
actualstart=[[$Session.StartTime]g]
Here are the activity parameters when the hosted control is a crm page (and works)
and when it is a ish page
Anybody have any idea's why this could be?
Thanks,
Lucas