I have problem with integration between MS Dynamics CRM and my javascript app.
I need to setup communication between Opportunity page and my app in the iFrame.
Problem is that when I need to access XRM object in the page, I alway get Access Denied
Error
I tried:
parent.window.Xrm.Page.data.entity.attributes.get(“stateCode”).getValue();
When I call this function from IE Dev tool then it works fine. But from my JS app it throws Access Denied.
I read a lot about the iFrame integration but none works with MS Dynamics 365.