07.05.2009, 01:06 | #1 |
Участник
|
Jim Wang: CRM 4.0 IFrame: Show Advanced Find Result View
Источник: http://jianwang.blogspot.com/2009/05...nd-result.html
============== There are many people asked about: How to show the Advanced Find result view in an IFrame? Instead of building a custom aspx page, I have another method to share. 1. Build your Advanced Find query and save it, then copy the Shortcut. 2. Put a IFrame control on the Form, clear the "Restrict cross-frame scripting" checkbox. 3. Put the below code to the OnLoad() event, you need to change the IFRAME_view name and the iFrame.src (copy and paste from the step 1) var iFrame = crmForm.all.IFRAME_view; iFrame.src = SERVER_URL + "/advancedfind/advfind.aspx?etn=contact&QueryId=%7b3882F0FA-2B3A-DE11-BFB8-0018FE7F3A64%7d&ViewType=4230&AutoRun=True"; iFrame.attachEvent( "onreadystatechange" , Ready); function Ready() { var iDoc = iFrame.contentWindow.document; if(iDoc.getElementById("crmMenuBar") != null && iDoc.getElementById("btnBack") != null) { iDoc.getElementById("crmMenuBar").style.display = "none"; // hide the top menu bar iDoc.getElementById("btnBack").style.display = "none"; // hide the bottom BACK button } } Источник: http://jianwang.blogspot.com/2009/05...nd-result.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|