<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Revised: Displaying Contact Information Inside an iFrame</title>
	<atom:link href="http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/</link>
	<description>Knowledge found and lost while working with Microsoft CRM</description>
	<pubDate>Wed, 19 Nov 2008 12:13:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Simon Jackson</title>
		<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-769</link>
		<dc:creator>Simon Jackson</dc:creator>
		<pubDate>Mon, 21 Apr 2008 14:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-769</guid>
		<description>Thanks for the 'notesAttachTabEvent' fix, works great.  Without this you get an error in CRM 4 that prompts the users to send an error report. While error reporting can be suppressed, this hack resolves the issue.

One thing to noe that the file has moved in CRM4 to '_static\_controls\notes\notectrl.htc'

Cheers</description>
		<content:encoded><![CDATA[<p>Thanks for the &#039;notesAttachTabEvent&#039; fix, works great.  Without this you get an error in CRM 4 that prompts the users to send an error report. While error reporting can be suppressed, this hack resolves the issue.</p>
<p>One thing to noe that the file has moved in CRM4 to &#039;_static\_controls\notes\notectrl.htc&#039;</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten Docter</title>
		<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-567</link>
		<dc:creator>Maarten Docter</dc:creator>
		<pubDate>Tue, 30 Oct 2007 16:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-567</guid>
		<description>I found a unsupported solution for the problem of the Notes not showing when the entity is loaded in an iframe.

You will have to edit the '/_controls/notes/notectrl.htc' file.
In the 'notesAttachTabEvent' function, there's a line:

&lt;code&gt;
var oTabCtl = window.parent.document.getElementById("crmTabBar");
&lt;/code&gt;

It gets the tabbar element, but because of the '.parent.' part, this tabbar element isn't found when loaded in an iframe. So you'll have to replace this line with the following code:

&lt;code&gt;
var oTabCtl = null;
	
	// Fix to show the 'Notes' of the iframed entity
	if(parent.location != window.location)
	{
		// Used when the entity is iframed
		oTabCtl = window.document.getElementById("crmTabBar");
	}
	else
	{
		// Normal load
		oTabCtl = window.parent.document.getElementById("crmTabBar");	
	}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I found a unsupported solution for the problem of the Notes not showing when the entity is loaded in an iframe.</p>
<p>You will have to edit the &#039;/_controls/notes/notectrl.htc&#039; file.<br />
In the &#039;notesAttachTabEvent&#039; function, there&#039;s a line:</p>
<p><code><br />
var oTabCtl = window.parent.document.getElementById("crmTabBar");<br />
</code></p>
<p>It gets the tabbar element, but because of the &#039;.parent.&#039; part, this tabbar element isn&#039;t found when loaded in an iframe. So you&#039;ll have to replace this line with the following code:</p>
<p><code><br />
var oTabCtl = null;</p>
<p>	// Fix to show the 'Notes' of the iframed entity<br />
	if(parent.location != window.location)<br />
	{<br />
		// Used when the entity is iframed<br />
		oTabCtl = window.document.getElementById("crmTabBar");<br />
	}<br />
	else<br />
	{<br />
		// Normal load<br />
		oTabCtl = window.parent.document.getElementById("crmTabBar");<br />
	}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitch Milam&#8217;s Microsoft Discussions &#187; Blog Archive &#187; Dynamics CRM 3.0 Customization: The basics</title>
		<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-438</link>
		<dc:creator>Mitch Milam&#8217;s Microsoft Discussions &#187; Blog Archive &#187; Dynamics CRM 3.0 Customization: The basics</dc:creator>
		<pubDate>Fri, 29 Sep 2006 04:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-438</guid>
		<description>[...] I think the main decision point is whether or not you need multiple records.&#160; A multi-record solution would almost always require a secondary Entity that you link back to its parent. You can even do things like display that information within an iFrame on the data entry form so the user can see both the parent&#8217;s information and the secondary information on the same screen. Note: It should be noted that some CRM 3.0 entities do not easily lend themselves to customization.&#160; Things like Quotes, Orders, etc. [...]</description>
		<content:encoded><![CDATA[<p>[...] I think the main decision point is whether or not you need multiple records.&nbsp; A multi-record solution would almost always require a secondary Entity that you link back to its parent. You can even do things like display that information within an iFrame on the data entry form so the user can see both the parent&#039;s information and the secondary information on the same screen. Note: It should be noted that some CRM 3.0 entities do not easily lend themselves to customization.&nbsp; Things like Quotes, Orders, etc. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas van Sluis</title>
		<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-436</link>
		<dc:creator>Bas van Sluis</dc:creator>
		<pubDate>Sat, 23 Sep 2006 12:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-436</guid>
		<description>Hi Mitch,

Same here, spend a lot of time to get this to work. I have no clue either. There is something diffente with notes compared to other entities. Maybe this is also the reason why notes are not converted when converting a lead to a contact etc.</description>
		<content:encoded><![CDATA[<p>Hi Mitch,</p>
<p>Same here, spend a lot of time to get this to work. I have no clue either. There is something diffente with notes compared to other entities. Maybe this is also the reason why notes are not converted when converting a lead to a contact etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitch</title>
		<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-435</link>
		<dc:creator>mitch</dc:creator>
		<pubDate>Fri, 22 Sep 2006 20:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-435</guid>
		<description>Bas,

Good news, bad news, and worse news:

Good News: You are correct.
Bad News: It IS NOT working.
Worse News: I've spent over an hour on it and I have no clue why it doesn't.

I'll keep researching the issue, but for the moment, we need to consider this "by design" or a bug.

Mitch</description>
		<content:encoded><![CDATA[<p>Bas,</p>
<p>Good news, bad news, and worse news:</p>
<p>Good News: You are correct.<br />
Bad News: It IS NOT working.<br />
Worse News: I&#039;ve spent over an hour on it and I have no clue why it doesn&#039;t.</p>
<p>I&#039;ll keep researching the issue, but for the moment, we need to consider this &#034;by design&#034; or a bug.</p>
<p>Mitch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas van Sluis</title>
		<link>http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-433</link>
		<dc:creator>Bas van Sluis</dc:creator>
		<pubDate>Fri, 22 Sep 2006 19:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2006/09/22/revised-displaying-contact-information-inside-an-iframe/#comment-433</guid>
		<description>Hello Mitch,

Great article. I have tested it with the contact form to show the originating lead information. I hope this would work because I want to read the notes from the lead. The notes are not converted when converting a lead to a contact. 

This should be a great way to easily show the notes. 

But samehow, the notes are not shown, not even when I try your example. 

Is this the same at your situation.?

Regards,

Bas van Sluis
CRM-Resultants</description>
		<content:encoded><![CDATA[<p>Hello Mitch,</p>
<p>Great article. I have tested it with the contact form to show the originating lead information. I hope this would work because I want to read the notes from the lead. The notes are not converted when converting a lead to a contact. </p>
<p>This should be a great way to easily show the notes. </p>
<p>But samehow, the notes are not shown, not even when I try your example. </p>
<p>Is this the same at your situation.?</p>
<p>Regards,</p>
<p>Bas van Sluis<br />
CRM-Resultants</p>
]]></content:encoded>
	</item>
</channel>
</rss>
