Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

iFrame behavior in CRM2016 when passing parameters

$
0
0

Hi
I have a problem behavior with iFrame after migrate 2015 to 2016 SP1 (both on-premises).
I read various articles about Microsoft change on 2015 SP1 but nothing explain that.
Think in one tab (collapsed by default) that have one iFrame. This iFrame is checked to pass parameters.
The TabStateChange in the tab call this code:

var IFrame = Xrm.Page.ui.controls.get(frame);
IFrame.setSrc('customized_page.html');

When expand the tab, the above code is called. After the first execution the address of the iFrame is:
"customized_page.html"

If I collapse and expand this the result for the same code is:
"customized_page.html?OrgLCID=1046&UserLCID=1046&id=%7bB3FBE90D-AC21-E611-80CC-00155D963719%7d&orgname=Cotonso&type=1010&typename=contract"

Why the parameters are not appended in the first execution ?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>