Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.32 KB

File metadata and controls

34 lines (25 loc) · 1.32 KB
title description ms.date ms.topic author ms.author ms.custom
onSessionSwitched event (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 2.0 | MicrosoftDocs
Learn about onSessionSwitched event and its syntax for Dynamics 365 Channel Integration Framework 2.0.
03/20/2020
reference
gandhamm
mgandham
dyn365-a11y
dyn365-developer

onSessionSwitched event (JavaScript API reference) for Dynamics 365 Channel Integration Framework 2.0

Invoked by the client when a session is switched.

eventData

The onSessionSwitched event takes following eventData:

eventData Description
sessionId Unique identifier of the session.
focussed Indicates whether the session is in focus or not.
If the value is true it indicates that the session id returned in the payload is in focus and value false indicates that the particular session is not in focus.
context Indicates additional context.

See also

setClickToAct
addHandler
removeHandler

[!INCLUDEfooter-include]