- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 11:49 PM
Hi All,
Issue was while creating incident the caller , Short description and description showing automatically read-only.
Please suggest for this issue how to resolve.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 02:23 AM
@ashok17 ,
I Assume some UI Policy is Making this Fields Read-only or Same ACL's running on that Field
Write this in UI Policy Script and Make Order to 1000
if (!g_form.isNewRecord())
g_form.setReadonly('description', false);
g_form.setReadonly('short_description', false);
g_form.setReadonly('caller_id', false);
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 01:33 AM
Dictionary configuration checked not selected read-only check box
tried this script for editable for caller and short description and description but not works for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 02:23 AM
@ashok17 ,
I Assume some UI Policy is Making this Fields Read-only or Same ACL's running on that Field
Write this in UI Policy Script and Make Order to 1000
if (!g_form.isNewRecord())
g_form.setReadonly('description', false);
g_form.setReadonly('short_description', false);
g_form.setReadonly('caller_id', false);
Regards,
Shyamkumar
Regards,
Shyamkumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 12:10 AM - edited 02-14-2024 12:16 AM
Hi @ashok17
Use this in your onLoad client script
if(!g_form.isNewRecord())
g_form.setReadonly('description',false);
g_form.setReadonly('short_description',false);
g_form.setReadonly('caller_id',false);
Also needs to be write ACL check a write ACL on the description, caller and Short Description field to do this.
Your ACL can use a script (check the advanced checkbox)
answer=current.isNewRecord();
If the record is new, it returns true which means you can write to the field. If it is an existing field, then it returns false, which means you cannot write to the field.
Please Hit like, Helpful or Correct depending on the impact of the response