Skip to main content
New Idea

Why not switch to agent portal?

  • June 27, 2022
  • 1 reply
  • 70 views

Jayesh urath
Contributor
Forum|alt.badge.img+4

In Freshservice, from the agent side there is an option to switch to end user portal
 

Why not add an option to switch to agent portal?

jQuery("#user-dropdown").append('<a href="/helpdesk" role="menuitem" aria-controls="page-main">Visit Agent Portal</a>');

This does it for you

 

 

1 reply

JoshD
Community Debut
  • Community Debut
  • April 13, 2023

You can also make this option only appear for agents with this script:

Add this to the bottom of the Header (Customize support portal> Header)

<script>
var UserIsAgent = JSON.stringify(USER_INFO.is_agent);
if(UserIsAgent == "true") {
jQuery("#user-dropdown").append('<a href="/helpdesk" role="menuitem" aria-controls="page-main">Agent Portal</a>');
}

</script>

Nice little work around for if/when this becomes an actual feature.