Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to start Agent Script after agent gets logged in USD(Unified Service Desk) or on Button Click i.e. without starting a session

Posted on by 145

Hi All.

I have a requirement in USD(Unified Service Desk). I want to show an agent script on button click or after the agent gets login. I searched and found that the agent script can be shown only if session starts. Here, I want to show the script without starting any session.

Thanks in advance..

*This post is locked for comments

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: How to start Agent Script after agent gets logged in USD(Unified Service Desk) or on Button Click i.e. without starting a session

    The agent scripting control was specially designed to be a session based control. Not sure why though, but you can see all the controls have been hidden automatically if you select the control type as Agent scripting. You can try with some sort of workflow to make it as global but not sure what could be adverse effect of that..

    For your requirement, I would suggest you to go for a custom control which may look like Agent script and configure it as Global hosted control in left panel. If it is exactly the same functionality you are looking for then a custom hosted control might kill lot of time, but I'm afraid I can't see any other supported option ..

    Happy coding !!

    Srikanth

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans