- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 06:26 AM
I am putting a Reference field on a form to another record. I don't want people to edit the field but I want them to be able to click the 'Info' so they can view / go to the record.
Read Only:
Non-Read Only:
I've tried making the field Read Only via a Client Script and a UI Policy, both get rid of the Info button. Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 07:18 AM
Hi Wayne,
Create a UI Policy on the reference field that you wanted to make as 'read-only'. Then, set the System Property "glide.ui.reference.readonly.clickthrough" to true.
This will allow you to access the Info button in read-only mode.
If you got the answer, please dont forget to mark this as 'Correct Answer', thank you.
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 06:31 AM
Hi,
It should be reference field("Field type Reference") then only it will come make that field reference to that RFQ table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 06:38 AM
Hi Midhun,
I'm not sure what you mean. I may not have been clear in my request. The field is already a Reference field. I want people to be able to click the Info button to view the record the field is referencing but I want to keep that field Read Only. I don't seem to be able to do both things easily. Thanks for your reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 06:33 AM
Hi Wayne,
I am on fuji and it works the way you expect for me using
g_form.setReadOnly('XXXX', 'true');
Also, i checked on task form and not on catalog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2016 06:44 AM
Thanks. That's how I've done it but it doesn't work for me on Geneva P6.