Hide/Disable Post button in Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I would like to disable/hide "Post" button in Portal Form Activity logs:
Also make the text field read-only as well without touching the ACL.
Is this possible?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Easy way
-> if your user doesn't satisfy field level WRITE on comments then that Post button will be gone
-> you can also create field level READ ACL on comments and if user fails that then that text field will be read-only
hard way
-> you will have to clone the OOTB widget which renders that and then make changes to it, then add this new widget to page
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
i did the hard way.
i already cloned the form widget, but the whole form is only rendered through this:
<sp-model form_model="data.f" mandatory="mandatory" embedded_in_modal="embeddedInModal"></sp-model>which widget should i clone to modify this one?
thanks