Hide/Show header menus-service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 03:20 AM
Hi all ,I am using out of the box 'sp header menu' on my service portal.
Here I would like to hide 'Live chat' option for french users (can get language from user form). 'Live chart' option should be visible only to the English users. Is there any way to achieve this?Is it possible to write condition in page level?
Thanks in advance!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 03:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 03:34 AM
Live chart will not be displayed along with menu items please check on your instance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 06:17 AM
So the Live Chat link is not part of that Header menu. I saw all the components to which Akhil wasreferring, but it was apparently a default addition of the CSM module. When I added the Chat Queue to my list view of the portals (it was the only place I could find it), I was able to see it had Customer Service there. I emptied that cell from the list view and the Live Chat icon went away.
In Order to setup a Queue, you need to define that under "Collaborate" module as shown below:
Queue under Social Application was for the Legacy Chat configuration. In order to work perfectly you need to define it under Collaborate Application Menu only. If the Collaborate menu is not activated then you need to navigate to "Plugins" Module and search for "Collaboration" and activate the same by opening the Plugin Record and then click on "Activate/updgarde" Related link as shown below:
Hope this helps.Mark the answer as correct/helpful based on impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2019 03:53 AM
Hello Sana,
Live Chart is a part of HTML code in the Stock Header. Since it is read only, you have to create a clone of it and set it as the header and you can make the changes in the cloned widget to limit the Live Chat option to the English Users.
Once you are able to clone the widget and add it to the portal as default header, you can call a server script to check whether the logged in user is English and add a ng-if condition in the HTML tag of the Live Feed to check the condition for true and false.
I hope this will give you a head start of the issue
Regards,
Jagadeesh