How to make fileds read only on a form at backend but the same fileds should be editable on portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 12:36 AM
I have catalog item ,the requiremnt is that,the fileds should be editable on the portal but the same fileds should be read only a backend.
How this can be achived?
any suggestion will be helpful

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 12:59 AM
Create two client scripts
- one to make the fields read only - with UI type Desktop
- one to make them editable (if not editable by default) - with UI type Mobile/Service portal
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2023 11:43 AM
@Sanket Pawar Did my answer help you resolve your issue? Do not forget to mark it as Correct.
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 01:00 AM - edited ‎11-09-2023 01:01 AM
In catalog client script select the UI type as desktop and add your code in script then this will execute in form and it wont apply in portal