- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 05:07 AM
can someone advice me how I can achive this? I got a form with several read only fields but i want to make use of the reference Icon. Is there a way to get this done?
regards
Christian
Solved! Go to Solution.
- Labels:
-
Ask the Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 05:30 AM
Hi Christian,
Check for the system property and make it true
glide.ui.reference.readonly.clickthrough
This will enable the hover icon for readonly reference fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 01:29 AM
You can have reference icon without set glide.ui.reference.readonly.clickthrough to true.
Siply add to reference field an ui macro with this code:
UI Macro name: get_user
<span name="incident.caller_id.ui_policy_sensitive"><a id="view.incident.caller_id" name="view.incident.caller_id" style="" class="btn btn-default btn-ref icon icon-info" data-type="reference_popup" data-table="incident" data-form="sys_user.do" data-ref="incident.caller_id" data-ref-key="null" data-view="" tabindex="-1" aria-expanded="false"><span class="sr-only">User Information</span></a></span>
For example this UI Macro is linked to Caller ID Field on Incident Table, get information from sys_user(data-form).
you can change information in bold according to your needs.
after add attribute to the field ref_contributions=get_user(name of yuor UI Macro)