Configuring smart links in Microsoft Teams
Configure smart links for your Virtual Agent app in Microsoft Teams to enable different link opening experiences.
- Microsoft Teams task module/pop-up
- Microsoft Teams tab
- New browser tab
Through link authentication and Single Sign-On (SSO) support, link content can be rendered in a pop-up, Microsoft Teams tab, or a new browser tab.
You can configure smart links for Microsoft Teams from the URL navigation system action under Target Location. For more information about configuring smart links, see Create a smart link preference.
- Load in Place: Links open inside a Microsoft Teams tab. 注:
- Only ServiceNow links are supported currently.
- While Load in Place is always an option for admins to choose from, this functionality is only supported when admins have already installed an additional tab within Microsoft Teams (for example, Employee Center tab as part of the ITSM/HR plugins).
- Admins must ensure that the following steps are complete:
- MS Teams - App Core (com.snc.msteams.app.core) plugin is installed as part of ITSM/HR plugins and additional tab has already been enabled.
- The sn_va_teams.view_msft_tab system property is set to true.
- The link authentication status on your ServiceNow instance is green.
- New Browser Tab: Links open in a new browser tab (a new tab in Google Chrome, Safari, etc.).
- Popup: Links open in a pop-up/task module in Microsoft Teams. When pop-up is selected, admins also have the option of selecting a pop-up size of Small, Medium, or Large. The default size is Large.
Before you start configuring pop-up using Target location, double check that the value of sn_va_teams.view_non_video_msft_task_module system property is true. When the link authentication status is active from the previous step, the value is automatically set to true. When this system property is true, you can use the pop-up. If you want to disable pop-up in Microsoft Teams, you can manually set this property to false.
注:Only ServiceNow links are supported currently.
When no conditions are specified on the Target Location record, the valid link opening mechanism applies to both chat widget and Microsoft Teams in a way that makes sense to its host application. For example, if admins specify a URL pattern to be opened using Load in Place without any conditions, the link on chat widget opens by refreshing the topmost browser frame (chat widget's unique behavior). However, the same link opens in a Microsoft Teams tab.
If both chat widget and Microsoft Teams are valid channels for the customer, then admins can define different target locations for each channel by specifying the device type in the condition field (such as Teams and mweb). If the device type is specified as Teams and no other device types are specified, then that particular target location record will only be applied in Microsoft Teams.