Answered by:
Display Associated Entity Details Information In Iframe

Question
-
Hi frineds,
In an Iframe i want the associated entity ,showing this is simple,but my requirement is to show the details , when ever an iframe is loaded i have to open the entity details in the iframe
Any suggestions
Thanks in advance
Regards,
Anil Kumar
kumarTuesday, March 9, 2010 1:15 PM
Answers
-
Hi Kumar1. Account A has a IFRAME2. Associated contact for corresponding account A are displayed in IFRAMEWhat if the multiple contact are associated with contact A. Which contact you want to open by details from the list of associated contacts? first one?Should you want to open the record on the tab click of Iframe click or simply on form Load?Should the record opened in seperate window or IFRAME?RegardsVinoth
- Marked as answer by Jim Glass Jr Tuesday, March 9, 2010 4:05 PM
Tuesday, March 9, 2010 3:43 PM
All replies
-
- Proposed as answer by HIMBAPModerator Tuesday, March 9, 2010 1:23 PM
Tuesday, March 9, 2010 1:19 PMModerator -
Hi,
check this.
http://jianwang.blogspot.com/2009/05/crm-40-iframe-show-entitys-associated.html
Muhammad Ali Khan
My MS CRM blogTuesday, March 9, 2010 1:21 PM -
Tuesday, March 9, 2010 1:21 PM
-
Hi all,
My requirement is like that
suppose i have account A , which contains contact B
in an iframe i have the open the contact B details just how we open it by double clicking from the grid view
please suggest me on this
Regards,
Kumar
kumarTuesday, March 9, 2010 2:01 PM -
If it is associated view, the double click will work. you don't need to do anything.
if it is your custom grid. you can use these code to handle the double click.
http://forums.asp.net/t/1046585.aspx
http://www.codeproject.com/KB/webforms/DoubleClickGridviewRow.aspx
http://dotnetspidor.blogspot.com/2008/07/aspnet-custom-gridview-with-row-based.html
Muhammad Ali Khan
My MS CRM blogTuesday, March 9, 2010 2:11 PM -
Hi Anil
You want to open a conatct form in the account IFRAME? Can you make it more clear?
Directly point the contact records url for the IFrame source
crmForm.all.IFRAME_name.src = "http://crmserver/SFA/accts/edit.aspx?id={1F8B6FC0-426A-4122-BAC2-A05B6071FC57}"
Regards
VinothTuesday, March 9, 2010 2:12 PM -
Hi Vinoth,
My point is is different
suppose account A has the associated contact B ,
now in iframe i have to open the contact B information by default , what i mean is when i click the iframe the contact B should be opened .
In general in iframe we show only the associated view , user click the record and open it , but my requirement is by default i have to open it without user invervention
Regards,
Kumar
kumarTuesday, March 9, 2010 2:34 PM -
Hi Kumar1. Account A has a IFRAME2. Associated contact for corresponding account A are displayed in IFRAMEWhat if the multiple contact are associated with contact A. Which contact you want to open by details from the list of associated contacts? first one?Should you want to open the record on the tab click of Iframe click or simply on form Load?Should the record opened in seperate window or IFRAME?RegardsVinoth
- Marked as answer by Jim Glass Jr Tuesday, March 9, 2010 4:05 PM
Tuesday, March 9, 2010 3:43 PM -
I believe Kumar is attempting to simply embed the form of a parent entity within a child entity that uses a N:1 relationship (the Primary Contact for an Account being an example of this). While Vinoth's first recommendation would work (that is, setting the src of the Iframe to the navigable URL of the Contact), it may exhibit unusual behaviors with scripting. Also, this will embed the whole record view into a relatively tiny space, including navigation bars, menu bars, and the like. It may be more convenient, however, to embed the Mobile Express version of the record into the iFrame. I would reference the CRM Team Blog for some starting points on doing so.
Dave BerryTuesday, March 9, 2010 6:13 PMModerator