For the Catalog form need to add the collapsible container on portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hello Community,
Trying to make collapsible sections for catalog item, with display title is working on the native UI.
But on the portal is not not working. so created a variable set with container start with display title true & end along with one single line variable
And also created a client script with DOM Manipulation
But is not working, only till alert("hello5") is coming up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
In portal that's not supported
not a good practice to use DOM manipulation.
Did you ensure Isolate Script is False for your client script to allow DOM?
💡 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
a week ago
@Ankur Bawiskar yes it is false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
try to give some timeout to your script around 2-3 seconds as it takes time to load the HTML in portal pages.
Again insisting this is OOTB limitation collapsible thing doesn't work in portal and don't go with DOM manipulation.
💡 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
a week ago
I tried by giving timeout, But still is not working
