- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2018 12:29 PM
Hi Team,
Could you please provide me the solution for below requirement.
How to add flag icon in field control .
for example :
User is india --display india flag
user is USA -- display USA flag.
Through ui macros
.Could you please provide me the solution for this requirement
Thanks in ADV.
Regards,
Vamsi M.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 08:27 AM
You have multiple reference attributes there.
1) ref_contributions
2) tree_picker
Reference attributes are separated by commas. If you have multiple items for one attribute (like 'user_show_country' and 'user_show_incidents'), those should be separated by semicolons. In order to maintain current functionality and add another macro your 'Attributes' field value should look like this..
ref_contributions=user_show_country;user_show_incidents,tree_picker=true

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 06:16 AM
The code shouldn't be an issue. All you need to do there is add the correct image names. Please send me a few screenshots so that I can verify...
1) 2 Screenshots of the form for your 'USA321.png' and 'INDIA32.png' images in the 'Images' module (including the section where it shows you the correct link to use).
2) A screenshot of the top part of the form of your UI macro.
3) A screenshot of the 'caller_id' dictionary 'Attributes' field showing where you've added the UI macro attribute.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 06:39 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 06:48 AM
Okay, and how about the screenshot showing your 'caller_id' dictionary 'Attributes' field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 06:58 AM
Also, make sure you've explicitly set the 'Country code' field on each User record that you want this to work for. The default 'System' value won't work because it's actually a null value in the database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2018 07:05 AM