Using CRM 2016 on premise version 8.0.1.97
On a form after user clicks a button an html webresource is displayed in a new window . In our current 2011 on premise environment this works fine and we can obtain data from the calling form using the ClientGlobalContext.js.aspx
sample code:
<script type="text/javascript" src="ClientGlobalContext.js.aspx"></script> <script type="text/javascript" src="aprv_WebApiHelper"></script>
var parentPage = window.parent.opener; In 2016, specifically in the Outlook client, getting parent info is not working. Tried various ways and no luck. Furthermore, only in the Outlook client (2016 client), calling another custom JS file
is not working. In above case if I attempt to call a function in the above aprv_WebApiHleper file it is null or undefined.
If using web-client there is no issue.
I have managed to work around the issue of parent data by passing custom parameters but I cannot get the javascript function call to work.
*This post is locked for comments