﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>c360 Forums / SDK for Microsoft CRM / Version 3 Product Questions / Samples  / Notes in grid / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>c360 Forums</description><link>http://www.c360.com/Forums/</link><webMaster>support@c360.com</webMaster><lastBuildDate>Sat, 22 Nov 2008 12:48:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Notes in grid</title><link>http://www.c360.com/Forums/Topic1276-39-1.aspx</link><description>&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;Overview&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt; &lt;P&gt;The goal of this sample is to display in a grid all the CRM Notes related to a “parent” record such as a Contact for example.&lt;/P&gt;&lt;P&gt;This sample demonstrates the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;List CRM Notes in a grid&lt;/LI&gt;&lt;LI&gt;Create new "child" records (note that when you click on the ‘Create New’ button, the ‘regarding’ field is pre-populated with the parent record). &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=3&gt;&lt;U&gt;Installation&lt;/U&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Step 1&lt;/U&gt; – This sample must be added as a new link on the left navigation bar of the Microsoft CRM contact edit screen. Therefore we need to edit the "contact" entity section in Microsoft CRM's ISV.config file like so: &lt;/P&gt;&lt;P&gt;[code]&amp;lt;Entity name="contact"&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;     &amp;lt;NavBar ValidForCreate="0" ValidForUpdate="1"&amp;gt;&lt;BR&gt;          &amp;lt;NavBarItem Icon="/_imgs/ico_16_5_d.gif" Title="Notes in grid"&lt;BR&gt;               Url=" http://localhost:5517/c360Sdk /Samples/NotesInGrid/Notes.aspx" &lt;BR&gt;               Id="notesInGrid" /&amp;gt;&lt;BR&gt;      &amp;lt;/NavBar&amp;gt;&lt;BR&gt;&amp;lt;/Entity&amp;gt;[/code]&lt;/P&gt;&lt;P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; you will need to adjust the url in the above sample to match your environment.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Step 2&lt;/U&gt; – Copy files In your Visual Studio 2005 project, make sure you have a folder called “Samples” and create a sub-folder called “NotesInGrid”. In this new folder, copy the two ASPX pages and their corresponding code behind files: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Notes.aspx&lt;/LI&gt;&lt;LI&gt;Notes.aspx.cs&lt;/LI&gt;&lt;LI&gt;NotesFetchData.aspx&lt;/LI&gt;&lt;LI&gt;NotesFetchData.aspx.cs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=3&gt;&lt;U&gt;Screenshots&lt;/U&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;P&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/5c732921-e189-4e32-85d0-fa4a.JPG"&gt;&lt;P&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/4811c437-ab7e-4178-8c56-9fc2.JPG"&gt;&lt;P&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/eee14480-a4f7-44b9-839a-09c6.JPG"&gt;</description><pubDate>Wed, 07 Mar 2007 14:46:03 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item></channel></rss>