Emojis.. They are everywhere… Facebook, Twitter, WhatsApp and tons of other social networking and messaging app users use them daily. It’s fun and effective way to share emotions 😀🤣😡🤬😔🙁😬😰, food and drinks 🍕🍔🍎🥑🥥🍉🍌🍹🍻, travel and places 🚲🚑🚒🛩️🚀🏭🏜️, symbols 🛑✅🕔❤, and more. But are they useful in a work environment other than for fun?
Problem
I had a requirement to show additional information on a Booking cell of the Dynamics 365 Schedule Board. Yes, I could customise the cell to show additional information but it’ll be a lot of text inside a small cell. Users will have to read the information inside each cell and it’ll be too much information and won’t be a good experience for the user. What if there is some critical information we need to highlight? Medical condition, priority, risk level, radiation level, depth, or any other important information you need to show regarding the booking to the scheduler. What if we can make it easier for the scheduler to view the information?
Solution
Emojis……👍
We can customise the schedule board’s booking cell. But how do we add Emojis?
Step 1 – Create new OptionSet Fields.
Step 2 – Add OptionSet fields to the form and assign a relevant item.
Step 3 – Modify the Booking Template of the schedulable entity.
First, select the Tab to be modified, and click the settings icon. Different Booking Templates and other configurations can be configured for each Tab. Then click “Open Tab Settings” button.
Next, expand the “Schedule Types” section, select the schedulable entity to be modified, and find the Booking Template field. Add the following code. Click Apply.
1 2 3 4 5 |
<div> Safety-{vel_vel_appointmentactivity_bookableresourceb.vel_safetylevel} Medical-{vel_vel_appointmentactivity_bookableresourceb.vel_medicallevel} Client-{vel_vel_appointmentactivity_bookableresourceb.vel_customerbehaviour} </div> |
Please explain what {vel_vel_appointmentactivity_bookableresourceb.vel_safetylevel} means? 🙏
Glad you asked. You start with Bookable Resource Booking (BRB) entity. If you need to show a value of a field in BRB entity, simply use the field name.
Syntax:
{<fieldname>}
Example:
Duration – {duration}
If you need to access record related BRB entity, then you need to first type the relationship name then dot then field name of the related entity.
Syntax:
{<relationshipname>.<fieldname>}
You can access deeper level fields as well.
Example:
Safety – {vel_vel_appointmentactivity_bookableresourceb.vel_safetylevel}
Syntax:
{<relationshipname>.<relationshipname>.<fieldname>}
Example:
Resource -{vel_vel_appointmentactivity_bookableresourceb.vel_primarycpsw_vel_appointmentactivity.name}
The final result of the above change will look like this.
References:
http://meganvwalker.com/using-emojis-in-optionset-fields/
Thank you for visiting Dyn365Apps.com.
Follow me on Twitter to get the latest news, tips and tricks and more …
Until next time…
About the Author
Nadeeja Bomiriya is a Microsoft MVP, Chapter Lead – Dynamics 365 Saturday – Australia, President – Melbourne Dynamics 365 User Group, Technical Architect, and Dynamics 365 Practice Lead who lives in Melbourne, Australia.