<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peter Gernburd&#039;s MSCRM and SharePoint Lounge &#187; Customization and Configuration</title>
	<atom:link href="http://blogs.salentica.com/pgernburd/category/microsoft-crm/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.salentica.com/pgernburd</link>
	<description>Thoughts CRM and SharePoint</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:25:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SharePoint 2010 Content Types</title>
		<link>http://blogs.salentica.com/pgernburd/2011/12/07/sharepoint-2010-content-types/</link>
		<comments>http://blogs.salentica.com/pgernburd/2011/12/07/sharepoint-2010-content-types/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 19:57:27 +0000</pubDate>
		<dc:creator>pgernburd</dc:creator>
				<category><![CDATA[Customization and Configuration]]></category>
		<category><![CDATA[Content Type]]></category>
		<category><![CDATA[CRM 2011 list component]]></category>
		<category><![CDATA[New button]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blogs.salentica.com/pgernburd/2011/12/07/sharepoint-2010-content-types/</guid>
		<description><![CDATA[In order to launch MS Office documents from SharePoint, or via the standard CRM 2011 list component, we need to define content types in SharePoint. Here is a screenshot illustrating my goals from the CRM 2011 UI.&#160; The new buttons, when clicked, will launch the appropriate MS Office application Assumptions 1) A SharePoint site has [...]]]></description>
			<content:encoded><![CDATA[<p>In order to launch MS Office documents from SharePoint, or via the standard CRM 2011 list component, we need to define content types in SharePoint. </p>
<p>Here is a screenshot illustrating my goals from the CRM 2011 UI.&#160; The new buttons, when clicked, will launch the appropriate MS Office application</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb.png" width="502" height="180" /></a></p>
<p><strong>Assumptions</strong></p>
<p>1) A SharePoint site has been created.   <br />2) At least 1 document library exists.&#160; In our example, the CRM contact entity has it’s own document library named Contact.</p>
<p><strong>Document Templates</strong></p>
<p>For each type of document, open the corresponding application (Microsoft Word, Excel, PowerPoint).&#160; Save a blank document to either your local drive, or you can upload it to site assets.&#160; In this case, I created Word2010Template.docx, Excel2010Template.xlsx and PowerPoint2010Template.pptx</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image1.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb1.png" width="386" height="157" /></a></p>
<p><strong></strong></p>
<p><strong>Adding Content Types</strong></p>
<p>From the SharePoint site, navigate to Site Actions –&gt; Site Settings   <br />Under Galleries, click ‘Site Content Types’.    <br />Click ‘Create’    </p>
<p>Specify a name for the content type.&#160; Under Select parent content type from, select ‘Document Content Types’.&#160; Under Parent Content Type, select ‘Document’.&#160; For the first new content type, we’ll create a new group to hold our custom types.&#160; I named it ‘Office Documents’.&#160; Click OK.</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image2.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb2.png" width="327" height="378" /></a></p>
<p>Next, we add the PowerPoint content type.&#160; Perform the above steps but this time, group the type to an existing newly created group: ‘Office Documents’</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image3.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb3.png" width="331" height="387" /></a></p>
<p><strong>Adding Content Types to Document Library</strong></p>
<p>On the Contact document library, under Library Tools, click Library Settings</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image4.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb4.png" width="506" height="63" /></a></p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image5.png"><img style="border-bottom: 0px;border-left: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb5.png" width="179" height="133" /></a></p>
<p>Click ‘Advanced settings’ under General Settings</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image6.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb6.png" width="473" height="192" /></a></p>
<p>Under Content Types, check Yes under ‘Allow management of content types’.&#160; Click OK.</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image7.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb7.png" width="478" height="57" /></a></p>
<p>You’ll be redirected to the document library.&#160; Now you should see a section labeled ‘Content Types’.&#160; Click on ‘Add from existing content types’.</p>
<p>Under Select site content types from dropdown, select the custom group: ‘Office Documents’.</p>
<p>Move the content types from the left to the right frame.&#160; Click OK./</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image8.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb8.png" width="471" height="273" /></a></p>
<p>With these new content types added, you can directly launch the MS Office application using the New button.&#160; </p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/12/image9.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/12/image_thumb9.png" width="448" height="302" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.salentica.com/pgernburd/2011/12/07/sharepoint-2010-content-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error opening entity records</title>
		<link>http://blogs.salentica.com/pgernburd/2011/11/29/error-opening-entity-records/</link>
		<comments>http://blogs.salentica.com/pgernburd/2011/11/29/error-opening-entity-records/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 03:47:05 +0000</pubDate>
		<dc:creator>pgernburd</dc:creator>
				<category><![CDATA[Customization and Configuration]]></category>
		<category><![CDATA[Array values)]]></category>
		<category><![CDATA[ConditionOperator conditionOperator]]></category>
		<category><![CDATA[default view]]></category>
		<category><![CDATA[isdefault]]></category>
		<category><![CDATA[Microsoft.Crm.Sdk.Query.ConditionExpression..ctor(String attributeName]]></category>
		<category><![CDATA[opening entity records]]></category>
		<category><![CDATA[savedquery]]></category>

		<guid isPermaLink="false">http://blogs.salentica.com/pgernburd/2011/11/29/error-opening-entity-records/</guid>
		<description><![CDATA[I recently had the opportunity to work on an issue that would present itself as possible bad data, or an invalid attribute in a column view when browsing entity records.&#160; In my case, it was browsing the e-mail template records.&#160; However, I suspect this issue could turn its head on other entity record types as [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the opportunity to work on an issue that would present itself as possible bad data, or an invalid attribute in a column view when browsing entity records.&#160; In my case, it was browsing the e-mail template records.&#160; However, I suspect this issue could turn its head on other entity record types as well.</p>
<p>When browsing to the e-mail templates, I was presented with this friendly error:</p>
<blockquote><p>An error has occurred.</p>
<p>Try this action again.&#160; If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization’s Microsoft Dynamics CRM Administrator.&#160; Finally, you can contact Microsoft Support.</p>
</blockquote>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/11/image.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/11/image_thumb.png" width="471" height="169" /></a></p>
<p>Turning on the server platform trace revealed the following:</p>
<blockquote><p>System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #67EE19C8: System.NullReferenceException: Object reference not set to an instance of an object.</p>
<p>&#160;&#160; at Microsoft.Crm.Sdk.Query.ConditionExpression..ctor(String attributeName, ConditionOperator conditionOperator, Array values)</p>
<p>&#160;&#160; at Microsoft.Crm.ApplicationQuery.RetrieveEmailTemplateByObjectCommand.DecorateQuery()</p>
</blockquote>
<p>I noticed that on the e-mail templates entity view, there were 2 default views.&#160; Several CRM 4.0 users might recall this not-to-uncommon issue.&#160; </p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/11/image1.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/11/image_thumb1.png" width="505" height="219" /></a></p>
<p>However, I could not set one specific view to be the true default.&#160; </p>
<p>To correct the problem, I manually modified customizations.xml.&#160; As always, take a backup before making any direct modifications. </p>
<p>1) Create a new solution and add the email templates entity (EmailTemplatesSolution)   <br />2) Export EmailTemplatesSolution and open customizations.xml    <br />3) Find the XML section that refers to the savedqueryview that you do not want set as default (remember, we only want one default view).&#160; Set it’s&lt;isdefault&gt; parameter to 0, as shown below.</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2011/11/image2.png"><img style="border-bottom: 0px;border-left: 0px;padding-left: 0px;padding-right: 0px;border-top: 0px;border-right: 0px;padding-top: 0px" border="0" alt="image" src="http://blogs.salentica.com/pgernburd/files/2011/11/image_thumb2.png" width="498" height="333" /></a></p>
<p>4) Re-add the update customizations.xml file into the solution, re-import, and publish.&#160; </p>
<p>You should hopefully be able to browse your entity records.&#160; </p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.salentica.com/pgernburd/2011/11/29/error-opening-entity-records/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modify Resolve Case dialog form</title>
		<link>http://blogs.salentica.com/pgernburd/2009/08/11/modify-resolve-case-dialog-form/</link>
		<comments>http://blogs.salentica.com/pgernburd/2009/08/11/modify-resolve-case-dialog-form/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:31:45 +0000</pubDate>
		<dc:creator>pgernburd</dc:creator>
				<category><![CDATA[Customization and Configuration]]></category>

		<guid isPermaLink="false">http://blogs.salentica.com/pgernburd/2009/08/11/modify-resolve-case-dialog-form/</guid>
		<description><![CDATA[One question that recently came by me, is if it’s possible to modify the Case Resolution dialog when you close a case? Unfortunately, using the out-of-the-box functionality, there is no way to modify the Resolve Case form.  However, the Status Reason picklist values can be changed from the Attributes of the Incident entity.]]></description>
			<content:encoded><![CDATA[<p>One question that recently came by me, is if it’s possible to modify the Case Resolution dialog when you close a case?</p>
<p>Unfortunately, using the out-of-the-box functionality, there is no way to modify the Resolve Case form.  However, the Status Reason picklist values can be changed from the Attributes of the Incident entity.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.salentica.com/pgernburd/2009/08/11/modify-resolve-case-dialog-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking into Cascading Behaviors in the CRM</title>
		<link>http://blogs.salentica.com/pgernburd/2009/05/25/looking-into-cascading-behaviors-in-the-crm/</link>
		<comments>http://blogs.salentica.com/pgernburd/2009/05/25/looking-into-cascading-behaviors-in-the-crm/#comments</comments>
		<pubDate>Mon, 25 May 2009 16:50:49 +0000</pubDate>
		<dc:creator>pgernburd</dc:creator>
				<category><![CDATA[Customization and Configuration]]></category>

		<guid isPermaLink="false">http://blogs.salentica.com/pgernburd/2009/05/25/looking-into-cascading-behaviors-in-the-crm/</guid>
		<description><![CDATA[Recently, we’ve had a few client users report seeing a large number of new appointments and tasks created in their Outlook profile which did not belong to them. The user had not created these Outlook activities; neither had the user shared a relationship with them. Specifically, these appointments appear to have been synchronized from Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, we’ve had a few client users report seeing a large number of new appointments and tasks created in their Outlook profile which did not belong to them. The user had not created these Outlook activities; neither had the user shared a relationship with them. Specifically, these appointments appear to have been synchronized from Microsoft CRM into their Outlook profile. The user’s CRM for Outlook profile is set synchronize appointments, tasks, and phone calls that they are the owner of – configuration settings that were not out of the ordinary.</p>
<p><em> </em></p>
<p><strong>What could have caused these activities to synchronize?</strong></p>
<p>The problem may have been caused by cascading behavior actions in the CRM, between two or more related entities. For example, an action taken at the contact record affected activities that were related to this contact. One way to check if cascading actions may have been the cause is to review the ‘Last Modified Date’ and ‘Last Modified By’ values between related and parental records – the values in these fields will be same. To find these details, click the Microsoft Orb icon in the top-left window corner and select Properties on each record window.</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2009/05/clip-image002.jpg"><img src="http://blogs.salentica.com/pgernburd/files/2009/05/clip-image002-thumb.jpg" border="0" alt="clip_image002" width="244" height="124" /></a></p>
<p><strong> </strong></p>
<p><strong>What are cascading behaviors?</strong></p>
<p>Cascading behaviors define what happens to related records, when a particular action is taken at its parent record. For example, consider contact records that link up to an Account (schema name: cbr_account). In the case of an owner re-assignment at the account level, all related contacts (i.e., contacts that link up to the account) will be re-assigned to the same owner as the account. It is also worth noting that a cascading behavior action can affect related records at multiple levels (e.g., activities that link up to contacts which link up to an account). This is the concept of cascading behaviors.</p>
<p>You will find cascading behaviors by navigating to Settings -&gt; Customizations -&gt; Customize entities -&gt; Entity name -&gt; Relationships (1:N) or (N:1), and opening the relationship record.</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2009/05/clip-image004.jpg"><img src="http://blogs.salentica.com/pgernburd/files/2009/05/clip-image004-thumb.jpg" border="0" alt="clip_image004" width="398" height="183" /></a></p>
<p>The common cascading behaviors are:</p>
<ul>
<li>Parental – actions taken against the primary entity apply to related entities</li>
<li>Referential – actions taken against the primary entity only apply to that entity, and not against any of the related entities.</li>
<li>Configurable Cascading – define which actions are allowed to cascade, and how.</li>
</ul>
<p>For Configurable Cascading, you choose which actions cascade. These actions are: Delete, Assign, Reparent, Share, and Unshare. You will also specify rules for each of these actions types. The rules are:</p>
<ul>
<li>Cascade All – action performed at the parent record affects its related record (similar to Parental).</li>
<li>Cascade Active – same as Cascade All, except cascade only those records which are active.</li>
<li>Cascade User Owned – action performed at the parent record affect only related records that match the owner of the parent record</li>
</ul>
<p>Cascade None – action performed at the parent record does not affect the related record (similar to Referential)</p>
<p><a href="http://blogs.salentica.com/pgernburd/files/2009/05/clip-image006.jpg"><img src="http://blogs.salentica.com/pgernburd/files/2009/05/clip-image006-thumb.jpg" border="0" alt="clip_image006" width="405" height="88" /></a></p>
<p><em> </em></p>
<p><em> </em></p>
<p><strong>Putting it all together</strong></p>
<p>At one of our client’s environment, there was a parental relationship between activity types (e-mail activities, tasks, appointments, phone calls, letters, and faxes) and contacts (N:1). There was also a parental relationship between contact’s and a custom object, Account (N:1). One day, Mary, a user re-assigned the owner of an account record from Rosie to Stephanie. At the moment the account was re-assigned, the owner of all contact’s that were related to this account assumed the new owner, Stephanie. All activity type record related to contact’s that belonged to this account also took the ownership of Stephanie. Stephanie will now synchronize many more appointments and tasks into her Outlook, because she is now the new owner of these re-assigned activities.</p>
<p><strong>What can be done to correct this problem?</strong></p>
<ul>
<li>First, determine if the issue was caused as a result of cascading behaviors (i.e., review the ‘Last Modified On/Date’ fields).</li>
<li>If the information appears to point to a cascading effect, determine at what level the cascading effect may have been started. This is not always easy to find, if the action is not based on re-assignment.</li>
<li>Determine at what level cascading should be changed between entities. Planning this step is very important as the cascading changes can impact other levels.</li>
<li>Change the cascading relationship behaviors and publish your customizations</li>
</ul>
<p>You may find it helpful to speak to, and work with Salentica (for SEA clients, contact your account manager) to determine the best course of action in such cases.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.salentica.com/pgernburd/2009/05/25/looking-into-cascading-behaviors-in-the-crm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Column Views to Marketing Lists</title>
		<link>http://blogs.salentica.com/pgernburd/2009/04/27/adding-column-views-to-marketing-lists/</link>
		<comments>http://blogs.salentica.com/pgernburd/2009/04/27/adding-column-views-to-marketing-lists/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 13:08:55 +0000</pubDate>
		<dc:creator>pgernburd</dc:creator>
				<category><![CDATA[Customization and Configuration]]></category>

		<guid isPermaLink="false">http://blogs.salentica.com/pgernburd/2009/04/27/adding-column-views-to-marketing-lists/</guid>
		<description><![CDATA[On most entities in CRM v3 and v4, you can safely customize entity views, whether the entities are core CRM, or custom ones that you create. On the Marketing List, however, you may have notice that you cannot add columns to the marketing list members view.  Use the workaround below to enable you to customize [...]]]></description>
			<content:encoded><![CDATA[<p>On most entities in CRM v3 and v4, you can safely customize entity views, whether the entities are core CRM, or custom ones that you create.</p>
<p>On the Marketing List, however, you may have notice that you cannot add columns to the marketing list members view.  Use the workaround below to enable you to customize the members view using a direct URL link.  Replace the <a href="http://crm/">http://crm/</a> portion with your CRM server name.</p>
<p>Member type: <strong>Accounts</strong></p>
<p><a title="http://crm/tools/vieweditor/viewManager.aspx?id={51DE84DD-732F-440F-A506-26123A19AB50}" href="http://crm/tools/vieweditor/viewManager.aspx?id={51DE84DD-732F-440F-A506-26123A19AB50}">http://crm/tools/vieweditor/viewManager.aspx?id={51DE84DD-732F-440F-A506-26123A19AB50}</a></p>
<p>Member type: <strong>Contacts</strong></p>
<p><a href="http://crm/tools/vieweditor/viewManager.aspx?id={2F0D0EDE-D356-4B1E-83BD-E978F10E3EEB">http://crm/tools/vieweditor/viewManager.aspx?id={2F0D0EDE-D356-4B1E-83BD-E978F10E3EEB}</a></p>
<p>Member type: <strong>Leads</strong></p>
<p><a title="http://crm/tools/vieweditor/viewManager.aspx?id={FC1B8995-4E44-4D65-99BE-1E945953564C}" href="http://crm/tools/vieweditor/viewManager.aspx?id={FC1B8995-4E44-4D65-99BE-1E945953564C}">http://crm/tools/vieweditor/viewManager.aspx?id={FC1B8995-4E44-4D65-99BE-1E945953564C}</a></p>
<p>When finished, remember to publish all customizations.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.salentica.com/pgernburd/2009/04/27/adding-column-views-to-marketing-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

