﻿<?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  / Available Products / 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 13:09:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Available Products</title><link>http://www.c360.com/Forums/Topic653-39-1.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;I checked the version and it is 3.0.7, I have used the workaround presented and everything works. I am upgrading to 3.0.9 later this week and may revert and test.&lt;/P&gt;&lt;P&gt;Thanks for you help, always appreciated. </description><pubDate>Mon, 19 Mar 2007 15:31:22 GMT</pubDate><dc:creator>rouses</dc:creator></item><item><title>RE: Available Products</title><link>http://www.c360.com/Forums/Topic653-39-1.aspx</link><description>The original version of this sample contains a temporary workaround for an issue which was resolved in version 3.0.7. Therefore the workaround must be removed.&lt;/P&gt;&lt;P&gt;The following line of code:[code]customAction.DialogUrl = "AddSelectedProducts.aspx?oId=" + Instance.ObjId + "&amp;amp;oType=" + Instance.ObjType;[/code]&lt;/P&gt;&lt;P&gt; &lt;P&gt;Must be replaced with the following:[code]customAction.DialogUrl = "AddSelectedProducts.aspx";&lt;BR&gt;objGrid.EntityId = Instance.ObjId;&lt;BR&gt;objGrid.EntityTypeCode = int.Parse(Instance.ObjType);[/code]</description><pubDate>Tue, 05 Dec 2006 18:42:00 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item><item><title>Available Products</title><link>http://www.c360.com/Forums/Topic653-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 scenario that was used for this sample is that a user wanted to simplify adding products to an Opportunity. This sample demonstrates the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;List all products in a grid using a system view&lt;/LI&gt;&lt;LI&gt;Add a “CustomAction” to a grid (the “delete” action) &lt;/LI&gt;&lt;LI&gt;Use an “ActionPage” to implement the custom action&lt;/LI&gt;&lt;LI&gt;Implement a custom “DoubleClickHandler” in a grid&lt;/LI&gt;&lt;LI&gt;Use an “Edit” page to create new records and update existing ones&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;Installation&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Step 1&lt;/U&gt; – Edit ISV.config This sample must be added as a new link on the left navigation bar of the Microsoft CRM opportunity edit screen . Therefore we need to edit the “opportunity” entity section in Microsoft CRM’s ISV.config file like so:&lt;/P&gt;&lt;P&gt;[code]&amp;lt;Entity name="opportunity"&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;NavBar ValidForCreate="0" ValidForUpdate="1"&amp;gt;&lt;/P&gt;&lt;P&gt;            &amp;lt;NavBarItem Title="Available Products"&lt;/P&gt;&lt;P&gt;                Icon="/_imgs/ico_18_debug.gif" &lt;/P&gt;&lt;P&gt;                Url="http://localhost:1465/c360Sdk/Samples/AvailableProducts/AvailableProducts.aspx"&lt;/P&gt;&lt;P&gt;                Id="availableProducts" /&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;/NavBar&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/Entity&amp;gt;[/code]&lt;/P&gt;&lt;P&gt; Note: 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 “AvailableProducts”. In this new folder, copy the two ASPX pages and their corresponding code behind files:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;AddSelectedProducts.aspx&lt;/LI&gt;&lt;LI&gt;AddSelectedProducts.aspx.cs&lt;/LI&gt;&lt;LI&gt;AvailableProducts.aspx&lt;/LI&gt;&lt;LI&gt;AvailableProducts.aspx.cs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;Screenshots&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/13878d4d-767f-4759-bc31-40a2.PNG"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/9ab8587c-7e15-4966-8d08-3646.PNG"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/d208fb05-ea2a-4daf-9e51-b544.PNG"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt; </description><pubDate>Mon, 02 Oct 2006 22:01:25 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item></channel></rss>