I have a contact form onload event that triggers a custom activity to open Using
Xrm.Utility.openEntityForm(
"customactivity"
,
null
, parameters);
}
However when user marks the activity as complete or closes the activity form, this closes the custom activity and focus return to the open contact form. the problem is that the form load event fires again as the contact form reloads. I want to stop the contact form load event from firing again once the activity closes. I don't want to use a button and also I want the contact onload to always Fire when I open the contact records but not when I close the activity opened by that contact.
Scenario
open a contact
This then fires onload events with some parameters as well as
Xrm.Utility.openEntityForm(
"customactivity"
,
null
, parameters);
}
*This post is locked for comments
I have the same question (0)Xrm.Utility.openEntityForm opens the record page in the same window. Try to open the entity form in a new window instead:
mscrmmindfire.wordpress.com/.../crm-2013-open-entity-form-in-new-window-by-javascript