﻿<?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  / Stock Price / 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 14:53:09 GMT</lastBuildDate><ttl>20</ttl><item><title>Stock Price</title><link>http://www.c360.com/Forums/Topic657-39-1.aspx</link><description>&lt;STRONG&gt;&lt;FONT size=3&gt;&lt;U&gt;Overview&lt;/U&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;P&gt;The goal of this sample is to display stock market information for publicly traded companies. This sample demonstrates the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Fetch the stock symbol of the current account&lt;/LI&gt;&lt;LI&gt;Redirect the user to Google finance and pass the information expected by Google in order to be able to display the financial information.&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 – Edit ISV.config&lt;/U&gt;&lt;/P&gt;&lt;P&gt;This sample must be added as a new link on the left navigation bar of the Microsoft CRM account edit screen. Therefore we need to edit the “account” entity section in Microsoft CRM’s ISV.config file like so: &lt;/P&gt;&lt;P&gt;&lt;P&gt;[code]&amp;lt;ENTITY name="account"&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;NAVBAR ValidForUpdate="1" ValidForCreate="0"&amp;gt;&lt;/P&gt;&lt;P&gt;       &amp;lt;NAVBARITEM id=stockPrice&lt;/P&gt;&lt;P&gt;          title="Stock Price"&lt;/P&gt;&lt;P&gt;          Url="http://localhost:4589/c360Sdk/Samples/StockPrice/StockPrice.aspx"&lt;/P&gt;&lt;P&gt;          Icon=" /_imgs/ico_16_salesprocess.gif" /&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;Note: you will need to adjust the url in the above sample to match your environment. &lt;P&gt;&lt;U&gt;Step 2 – Copy files&lt;/U&gt;&lt;/P&gt;&lt;P&gt;In your Visual Studio 2005 project, make sure you have a folder called “Samples” and create a sub-folder called “StockPrice”. In this new folder, the ASPX page and its corresponding code behind file:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;StockPrice.aspx&lt;/LI&gt;&lt;LI&gt;StickPrice.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;IMG src="http://www.c360.com/Forums/Uploads/Images/919f4460-8292-4a10-b8eb-2f72.PNG"&gt;&lt;P&gt;&lt;IMG src="http://www.c360.com/Forums/Uploads/Images/1cad69ef-3b3f-497a-a0ca-e89d.PNG"&gt;</description><pubDate>Mon, 02 Oct 2006 22:49:49 GMT</pubDate><dc:creator>Jeremie Desautels</dc:creator></item></channel></rss>