<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://customerfx.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jason Buss&amp;#39; Blog : How-To, SalesLogix, Picklists</title><link>http://customerfx.com/pages/customization/archive/tags/How-To/SalesLogix/Picklists/default.aspx</link><description>Tags: How-To, SalesLogix, Picklists</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Picklist Column types - Dispaying ticket status in the SalesLogix LAN datagrid</title><link>http://customerfx.com/pages/customization/2010/08/24/picklist-column-types-dispaying-ticket-status-in-the-saleslogix-lan-datagrid.aspx</link><pubDate>Tue, 24 Aug 2010 10:30:00 GMT</pubDate><guid isPermaLink="false">e15581aa-2787-4c59-a940-524c09f5d256:43746</guid><dc:creator>Jason Buss</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://customerfx.com/pages/customization/rsscomments.aspx?PostID=43746</wfw:commentRss><comments>http://customerfx.com/pages/customization/2010/08/24/picklist-column-types-dispaying-ticket-status-in-the-saleslogix-lan-datagrid.aspx#comments</comments><description>&lt;p&gt;I recently had to build a datagrid displaying ticket information, including the current Status value.&amp;nbsp; Under tickets, the Statuscode field contains the itemid from the picklist table rather than the actual text value as is stored for the Account, Contact or Opportunity areas.&amp;nbsp; If you&amp;#39;ve only dealt with picklists in those other areas, it could cause some confusion when trying to determine just how to display the Ticket status text value in a datagird, however using the picklist column type makes this very easy.&lt;/p&gt;&lt;p&gt;When initially building the grid, you&amp;#39;ll want to add the Ticket.Statuscode column within the Layout tab of the query builder for the grid, just as you would any other field.&amp;nbsp; Once that is done, open the Columns collection properties for the grid.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://customerfx.com/blogs/customization/Colums%20Collection%20-%20SLX%20LAN.JPG"&gt;&lt;img src="http://customerfx.com/blogs/customization/Colums%20Collection%20-%20SLX%20LAN.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you right-click the Status column, one of the options will be &amp;quot;Change Column Type...&amp;quot;.&amp;nbsp; Select this and chance the type from &amp;quot;Standard&amp;quot; to &amp;quot;Picklist&amp;quot;.&amp;nbsp; Once this is done, right-click the status column again, but this type select &amp;quot;Properties...&amp;quot;.&lt;/p&gt;&lt;p&gt;&lt;a href="http://customerfx.com/blogs/customization/Picklist%20Column%20Properties%20-%20SalesLogix%20LAN.JPG"&gt;&lt;img src="http://customerfx.com/blogs/customization/Picklist%20Column%20Properties%20-%20SalesLogix%20LAN.JPG" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As you can see, this interface contains a number of properties.&amp;nbsp; In the case of displaying ticket status values, there are two that you have to worry about.&amp;nbsp; First, set the &amp;quot;Picklist&amp;quot; property to contain the appropriate picklist (in this case, Ticket Status).&amp;nbsp; In addition, you&amp;#39;ll need to check the &amp;quot;Store Items IDs&amp;quot; checkbox.&lt;/p&gt;&lt;p&gt;That&amp;#39;s all there is to it.&amp;nbsp; Your grid will now translate the itemid value do display the actual text value stored in the picklist table.&lt;/p&gt;&lt;p&gt;In my next blog post, I&amp;#39;ll go over what this means in the Web client.&lt;/p&gt;&lt;p&gt;Thanks for reading! &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Jason &lt;br /&gt;&lt;/p&gt;&lt;img src="http://customerfx.com/aggbug.aspx?PostID=43746" width="1" height="1"&gt;</description><category domain="http://customerfx.com/pages/customization/archive/tags/SalesLogix/default.aspx">SalesLogix</category><category domain="http://customerfx.com/pages/customization/archive/tags/datagrid/default.aspx">datagrid</category><category domain="http://customerfx.com/pages/customization/archive/tags/How-To/default.aspx">How-To</category><category domain="http://customerfx.com/pages/customization/archive/tags/Picklists/default.aspx">Picklists</category></item></channel></rss>