We currently have a web-part developed which can be displayed in a Sharepoint Online page as-well as through Viva Connections in teams. In future we may need to implement some logic only when it its being viewed through Viva Connections.

Is there any way to tell if a web-part is being loaded inside Viva Connections as opposed to being loaded in SharePoint?

We've thought about basing some logic on url seems brittle and likely to break.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.