Hello All,
I have a canvas app embedded into MS CRM using an IFrame within an HTML Web Resource. This web resource will be called using a JavaScript function on a button click, and I'm using XRM.Navigation.navigateTo open this web resource.
I have a submit button in embedded canvas app which will insert some data into one of the entities and upon inserting the data, the embedded app will auto close using an Exit() functoin in canvas app itself.
Now, my question is, how can I close the opened HTML web resource automatically once the canvas app exits. I did some debugging and found out the IFrame is not unloading once the canvas app exits due to cross domain issue.
Thanks in advance