How to make an embedded list read only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 07:51 AM
Hello Experts,
I have a requirement to make an embedded list read only on a form. The list control of the embedded list does not have options to make it read only. And cannot use ACLs on the table b/c it is suppose to be just for viewing purpose.
I have a UI policy that show/hides the list, is it possible to modify this code to make it read only when it is visible at specified states?
function onCondition() {
var list = $$('div[tab_caption="Processes"]')[0];
if(list.hasClassName('embedded')){
list.hide();
}
}
function onCondition() {
var list = $$('div[tab_caption="Processes]')[0];
if(list.hasClassName('embedded')){
list.show();
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2018 08:59 AM
Hi
I have come across the same issue. I'm unable to make the embedded list (on the catalog item form) read only. Did you find any solution to this? If so, please try to share it here.
Thanks in Advance!