- 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
09-04-2014 05:12 AM
When you say the reference icon, do you mean the magnifying glass? Just wondering what you want to do with it as it's used to select a different value to enter into the field, if it's read-only then do you just want to be taken to the list of records in that referenced fields table? If that is the case you could probably do it with a custom icon/ui macro and add it via field_decorations and not modify the magnifying glass in any way as by default it would try to populate that field if you use that.
Then you could copy a UI Macro such as 'show_related_tasks' and use that to be transformed to the list of records on that table?
field_decorations | UI Macro name list, separated by semicolons (";") | most fields | Similar to ref_contributions, causes the named UI Macro to be invoked when the field is rendered on a form. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 05:20 AM
- 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
09-04-2014 05:46 AM
Thanks... that worked !