Query on collapse / expand functionality in portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 11:40 PM
Hi Team,
Greetings for the Day!!
I have a requirement where I need to configure collapse / expand variables on portal view but using containers it’s working on native view. While loading the catalog item on portal level ‘+’ ‘-’ icons are not displayed. Please find the below screenshot for reference.
Note: I have tried using DOM manipulation and toggleVariableConatiner(‘sys_id of the container variable’); but unfornetnly it is not working.
Any one came across the same scenario. Please help me out to fulfil my requirement.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 11:50 PM
Hello,
Please check the below post for the answer:-
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 11:53 PM
Hi @Saurav,
Greetings!!
Tired this it worked for only one container and it used jquery, DOM manipulation and my client don't want DOM manipulation.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2022 12:03 AM
You cannot achieve this in Service Portal without DOM manipulation unfortunately. You will have to let your client know that either we have to use DOM manipulation or we cannot do it on Portal as Portal framework is completely different to Native UI.
Please mark my answer as correct based on Impact.