{"id":594,"date":"2014-06-30T06:59:03","date_gmt":"2014-06-30T06:59:03","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/salesforce\/?p=594"},"modified":"2018-08-22T10:10:00","modified_gmt":"2018-08-22T10:10:00","slug":"adding-flags-to-records-in-an-object","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/06\/30\/adding-flags-to-records-in-an-object\/","title":{"rendered":"Adding flags to records in an object"},"content":{"rendered":"<p>It is possible to use images for different records of a Salesforce object to draw the user\u2019s attention to a specific record. Let us take an example of the Case object in Salesforce. We can use different flags to define different priorities of any case.<\/p>\n<p>Looking at the flags will allow the users to immediately know the priority of a particular case. For example, we can use a red flag for high priority cases, a yellow flag for medium priority cases and a green flag for low priority cases.<\/p>\n<p>To do this, the user needs to create a formula field on the Case object and use the following formula \u2013<\/p>\n<p>IMAGE(<br \/>\nCASE(Priority,<br \/>\n&#8220;Low&#8221;,\u00a0\u00a0 &#8220;\/img\/samples\/flag_green.gif&#8221;,<br \/>\n&#8220;Medium&#8221;, &#8220;\/img\/samples\/flag_yellow.gif&#8221;,<br \/>\n&#8220;High&#8221;,\u00a0\u00a0 &#8220;\/img\/samples\/flag_red.gif&#8221;,<br \/>\n&#8220;\/s.gif&#8221;),<br \/>\n&#8220;Priority Flag&#8221;<br \/>\n)<\/p>\n<p>Now our case object screen will appear as shown below \u2013<a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2014\/06\/Capture.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-595\" src=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2014\/06\/Capture.png\" alt=\"Capture\" width=\"1165\" height=\"192\" \/><\/a><\/p>\n<p>As can be seen from the above screenshot, the cases have a priority flag displayed next to it that enhances the overall UI of the case screen.<\/p>\n<p>There are various other images provided by Salesforce that can be used in the formulas. A complete list of all such images is available at this link &#8211;\u00a0 <a href=\"http:\/\/help.salesforce.com\/HTViewHelpDoc?id=useful_advanced_formulas_image_links.htm&amp;language=en_US\" target=\"_blank\" rel=\"noopener\">http:\/\/help.salesforce.com\/HTViewHelpDoc?id=useful_advanced_formulas_image_links.htm&amp;language=en_US<\/a><\/p>\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> has some unique solutions for Cloud CRM such as Salesforce integration with <a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Sage Enterprise Management (Sage X3<\/a>), Sage Intacct, <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/gumu-100-salesforce-integration\">Sage 100 <\/a>and <a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/gumu-300-salesforce-integration\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM <a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/data-migration-services\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/integrated-application-development\">Integrated App development<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/custom-development\">Custom App development<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/maintenance-support\">Technical Support<\/a> to business partners and end users.<\/p>\n<p>Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n<p>For more information, please contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n<p><strong><span style=\"font-size: Medium;\">Related Posts<\/span><\/strong><\/p>\n<ul>\n<li><a title=\"View all currently active sessions in a Salesforce Organization\" href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/06\/30\/view-all-currently-active-sessions-in-a-salesforce-organization\/\" target=\"_blank\" rel=\"noopener\">View all currently active sessions in a Salesforce Organization<\/a><\/li>\n<li><a title=\"Delete multiple records from custom object in Salesforce\" href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/06\/03\/delete-multiple-records-from-custom-object-in-salesforce\/\" target=\"_blank\" rel=\"noopener\">Delete multiple records from custom object in Salesforce<\/a><\/li>\n<li><a title=\"Freezing Salesforce users\" href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/06\/02\/freezing-salesforce-users\/\" target=\"_blank\" rel=\"noopener\">Freezing Salesforce users<\/a><\/li>\n<li><a title=\"Prevent page redirection on Apex Command Button through JavaScript\" href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/05\/27\/prevent-page-redirection-on-apex-command-button-through-javascript\/\" target=\"_blank\" rel=\"noopener\">Prevent page redirection on Apex Command Button through JavaScript<\/a><\/li>\n<li><a title=\"Testing Deliverability of an Email sent from Salesforce\" href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/05\/22\/testing-deliverability-of-an-email-sent-from-salesforce\/\" target=\"_blank\" rel=\"noopener\">Testing deliverability of an Email sent from Salesforce<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>It is possible to use images for different records of a Salesforce object to draw the user\u2019s attention to a specific record. Let us take an example of the Case object in Salesforce. We can use different flags to define different priorities of any case. Looking at the flags will allow the users to immediately\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2014\/06\/30\/adding-flags-to-records-in-an-object\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[612,39,614,133,137,613],"class_list":["post-594","post","type-post","status-publish","format-standard","hentry","category-salesforce-srv","tag-adding-flags-in-object","tag-case","tag-create-formula-field","tag-flags","tag-formula-field","tag-salesforce-case-object"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=594"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/594\/revisions"}],"predecessor-version":[{"id":4054,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/594\/revisions\/4054"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}