In Case entity, for Origin field we can create custom icons to show them in Views, For instance you can see the below icons for Origin like Phone, Email and Web.
Let us create a Custom Icon “WhatsApp”, and follow the below steps,
Step 1: Open Microsoft Dynamics CRM Online/On-Premise, and go to Settings -> Customizations. Click on Customizations.
Step 2: Go to Entities -> Case -> Fields. Open Origin OptionSet Field.
Step 3: Click on Edit and Create new Option and provide label as WhatsApp and Keep the default Value as 100000000.
Step 4: Now our target is to show WhatsApp icon in view. So, create a new Web Resource of type PNG.
Before creating web resource, we should follow below points,
- Web Resource Name should start with prefix new.
- Name should be Incident_origincode_icon<WhatsApp OptionSet Value>.png.
In our example, WhatsApp OptionSet value is 100000000.
So our web Resource name is Incident_origincode_icon100000000.png
Click Here to download WhatsApp 16 X 16 PNG image.
After downloading, browse for the image in web resource. Save & Publish.
Step 5: Click on Create and click Case to create case record.
Provide the details and select Origin as “WhatsApp” and Save,
Step 6: Finally Go to Microsoft Dynamics CRM -> Services -> Cases, to see list of cases in Home page grid
I think you enjoyed of doing this activity. Please Comment on this post.
You can check main MSDN Article here.