Hi,
I have a requirement where when user is trying to save a phone call that is regarding a contact record, a confirmation box should come up and ask if user is interested in creating a new opportunity.
If yes, then contact form should open up and focus should be on opportunity tab and on 'no' do nothing.
On yes, I am using Xrm.Utility.openEntityForm and passing on the GUID of Contact and a parameter to set State of tab. I am checking value of that parameter in form on load of contact entity and setting state of tab on basis of that,
It works fine in scenario where Contact form is not opened. If Contact form is already opened there it does not go to contact form and set focus on tab.
This issue is happening when I am doing these steps from CRM with outlook client. If I do this from IE then it works fine.
If I use Window.open then it opens up IE and ask user to provide credentials again. It is an IFD deployment. Any thoughts?