
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2013 08:36 AM
I want to add an image at the end of the short description of incident form similar to the "bulb" image.
Is there a way to do this?
Please suggest if any.
Thank you
Vidyasagar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2013 08:54 AM
Vidyasagar,
You can create a UI Macro and then list the UI macro in the attributes field.
The image would be linked inside the UI Macro.
To see some example UI Macros you might have in your instance, go to UI Macros and search where XML Contains g:reference_decoration and this will help you find some that have images attached. Just copy it and change the image to one you have already uploaded, then take the name of the UI Macro and place it in the attributes field in the definition record of the field to which you want the clickable image attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2013 08:54 AM
Vidyasagar,
You can create a UI Macro and then list the UI macro in the attributes field.
The image would be linked inside the UI Macro.
To see some example UI Macros you might have in your instance, go to UI Macros and search where XML Contains g:reference_decoration and this will help you find some that have images attached. Just copy it and change the image to one you have already uploaded, then take the name of the UI Macro and place it in the attributes field in the definition record of the field to which you want the clickable image attached.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2013 02:18 AM
I got what you said. I created an UI Macro with g:reference_decoration. But I am not able to figure out how to add it to attribute.
The UI macro name is "sagar_macro". Please Suggest me what to write in attributes field in dictionary of the field.
Thank You
Vidyasagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2013 06:42 AM
You have to access the dictionary entry for the field to which you want to attach the UI Macro. If it is called sagar_macro, then you need to right-click on the field, select Personalize -> Dictionary, then scroll down to the attributes field. Then simply put sagar_macro in for the attributes. If there is already an attribute there, then you can add multiple attributes separated by a comma.
For instance, if your field already has an attribute called ref_contributions=task_show_ci_map, then you can add your macro to the end by placing the following in the attributes:
ref_contributions=task_show_ci_map,sagar_macro
Try that it should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2013 08:58 AM
Well, specifically with the Short Description, if you look at the dictionary record for it, you will see it is a Choice field with Choice: Suggestion. This is what makes the light-bulb pop up. I couldn't find a UI Macro associated specifically with the lightbulb.