Identify if user opens a portal page from MS teams
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2023 04:41 AM
Hello,
We have enabled the custom portal to be available on MS teams. We need to identify of the user opens the portal page(s) using MS teams.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2023 09:58 PM - edited 12-23-2023 10:17 PM
Hi @Uttara ,
You can query JSON Blob table with device_type as Teams. (PFB screenshot)
https://your_instance_name.service-now.com/interaction_json_blob_list.do
Also, In the script you can use “vaContext.devicetype == Teams” as a condition to identify specific interaction from MS Teams.
Thanks,
Ratnakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 07:32 AM
Thank you @Ratnakar7 for the reply!
Is this specific to virtual agent? Can this be accessed from portal widget or header/footer?
I need to write logic in portal widget for identifying if user is accessing portal from teams or desktop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 07:40 AM
Hi @Ratnakar7,
Thank you for the reply!
Is this specific to virtual agent or can we access this from portal widgets?
I need to write the identifier logic in widget.
Thanks,
Uttara