default view option is not there in ui policy view option
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 04:56 AM
default view option is not there in ui policy view option. why
var view = getView();
if (view == 'default') {
g_form.setReadOnly('port', true);
and If I am writing this code in script of policy this is also not working
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 09:32 AM
Hi @keshav77 ,
try updating the code
var view = g_form.getViewName();
if (view == 'default') {
g_form.setReadOnly('port', true);
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya