Hello All,
i have a custom web page and integrated that into the MSCRM 2015.
the custom web page has one of the button say "Add New contact" , this button works fine when we use it from within the web client but the same does not work within the outlook client.
The issue is that from web client it opens the new contact form but from the outlook client it redirects to the login page.why this strange behavior .
Note:-I am calling the javascript function on clicking of the "Add New contact" button .
<script type="text/javascript">
function ShowContact() {
var _hdnWebsitePath = document.getElementById('hdnWebsitePath').value;
if (typeof Xrm !== 'undefined') {
window.parent.Xrm.Utility.openEntityForm("contact");
}
else {
window.open(_hdnWebsitePath + '/main.aspx?etn=contact&pagetype=entityrecord');
}
}
</script>
where _hdnWebsitePath is the server path variable.
Kindly help me in resolving this issue.
*This post is locked for comments
I have the same question (0)