- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 01:10 AM
Hello, I was trying to have the attachment side bar tab to be collapsed by default when you would open a record in a workspace, default behavior makes this side bar to be extended when you open a record which we do not want.
On my workspace I have a copy of the default record page
On the tab view, I saw that the component provides a option "Collapse Tabs by Default", which by default is expecting a script, I tried using both the script and just setting it to true as in the image but it does not actually seem to do what I expected.
The result is as follows, it just removes the text part where it would have the button to upload the attachment, but the actual container remains open.
I have tried this both on Tokyo and Utah versions, I also tried looking to see if I could force the collapse based on the page ready event but had no luck so far.
Has anyone faced this or does anyone know how I can force the collapse for this tab by default?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 01:20 AM
Hi @Diogo Ramos ,
This is the user preference that controls it. Set the value to false and mark "system" as true.
workspace.showAgentAssist
Set this to system and it will be collapsed by default. Note that it is used in all workspaces so it would be applicable everywhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 04:31 AM - edited 02-28-2024 04:33 AM
Have you tried going to a workspace, then clicking your profile icon on top right, and selecting the option preferences which will show you the following :
Then under workspace you get the following :
If you unselect the "Show the sidebar" option, it should collapse the side bar by default.
Behind the scenes this uses the user preference :
To make it run for everyone, just go to the preference and remove the user and move the system field to true.
On my previous situation it did not work initially probably due to cache issues.
Cheers
Diogo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 01:20 AM
Hi @Diogo Ramos ,
This is the user preference that controls it. Set the value to false and mark "system" as true.
workspace.showAgentAssist
Set this to system and it will be collapsed by default. Note that it is used in all workspaces so it would be applicable everywhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 06:55 AM - edited 04-28-2023 01:11 AM
Hello Sandeep,
I tried initially but it was not working as a system user preference for some reason on my pdi, but when doing it with a specific user it seems to work. Still I think the initial point is an issue in the component as it should collapse based on the available attribute so I will report that to SN support.
Cheers for the help.
Diogo
Cheers,
Diogo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 08:28 AM
Hi did you find the solution for this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 04:31 AM - edited 02-28-2024 04:33 AM
Have you tried going to a workspace, then clicking your profile icon on top right, and selecting the option preferences which will show you the following :
Then under workspace you get the following :
If you unselect the "Show the sidebar" option, it should collapse the side bar by default.
Behind the scenes this uses the user preference :
To make it run for everyone, just go to the preference and remove the user and move the system field to true.
On my previous situation it did not work initially probably due to cache issues.
Cheers
Diogo