- Salesforce CRM Admin Cookbook(Second Edition)
- Paul Goodey
- 410字
- 2021-07-02 21:20:17
How to do it...
Carry out the following steps to create a formula field to display Salesforce images to graphically show the priority of case records:
- Click on the Setup gear icon in the top right-hand of the main Home page, as shown in the following screenshot:

- Click the Setup option, as shown in the following screenshot:

- Navigate to the Case customization setup page, by clicking the following: Objects and Fields | Object Manager | Case | Fields and Relationships.
Locate the Fields & Relationships section on the right of the page.
- Click New.
We will be presented with the Step 1. Choose the field type page.
- Select the Formula option.
- Click Next.
We will be presented with the Step 2. Choose output type page.
- Type Priority Graphic in the Field Label text box.
- Click on the Field Name. When clicking out of the Field Label text box, the Field Name is automatically filled with the value Priority_Graphic.
- Set the Formula Return Type as Text.
- Click Next.
We will be presented with the Step 3. Enter formula page.
- Paste the following code:
/*********************************************************** Priority Graphic for the Case, for High, Medium or Low. For high priority cases a red flag is displayed; for medium an orange is shown and for a low a green flag is shown. ***********************************************************/ IMAGE ( IF( ISPICKVAL(Priority,"Low"), "/img/samples/flag_green.gif", IF( ISPICKVAL(Priority,"Medium"), "/img/samples/flag_yellow.gif", "/img/samples/flag_red.gif" ) ), "", 15, 15 )
- Optionally, enter the following in the Description field:
Field to display an image according to whether the Case Priority is Low, Medium, or High
- Optionally, enter the following in the Help Text field:
Field to display an image according to whether the Case Priority is Low, Medium, or High
- In the Blank Field Handling section, select the option Treat blank fields.
- Click Next, as shown in the following screenshot:

We will be presented with the Step 4. Establish field-level security page.
- Select the profiles to which you want to grant read access to this field via field-level security. The field will be hidden from all profiles if you do not add it to field-level security.
- Click Next.
We will be presented with the Step 5. Add to page layouts page.
- Select the page layouts that should include this field. The field will be added as the last field in the first two column section of these page layouts. The field will not appear on any pages if you do not select a layout.
- Finally, click Save.
推薦閱讀
- 酒店餐飲精細化管理從入門到精通
- 管控力:通向目標的執(zhí)行方法
- 高效領導力:新時代領導力突破的15個關鍵
- 好經理:經理人的九項修煉
- 組織寬容失敗對員工心理安全及其內創(chuàng)業(yè)意愿的影響:基于人與情境互動的視角
- 技術創(chuàng)新管理:中國企業(yè)自主創(chuàng)新之路
- 客戶關系管理
- 支點:經營制勝的九個關鍵(精裝版)
- 每天一堂管理課(白金珍藏版)
- 最新基層工會工作全書(最新工會制度與娛樂全書)
- 中層勝任力:中層管理者的12項修煉(修訂3版)
- 房地產公司設計管理寶典:概念、方案、初步、施工圖全程設計管理工作指南
- 企業(yè)數字化轉型:實體企業(yè)理論與升級方案
- 薪酬設計與績效考核全案:實戰(zhàn)圖解版
- 激活個體:互聯時代的組織管理新范式(精編版)