Feb 13 2021 01:02 AM
Hi,
I need to insert Application Insights javascript on every page on a site collection.
I've tried this sample https://github.com/pnp/sp-dev-fx-extensions/tree/master/samples/js-application-appinsights-advanced but seems to work only on page declared in serve.json
Any ideas what I am doing wrong ?
Feb 13 2021 04:18 AM
@ssandu Did you deploy your SPFx extension solution to app catalog and added it to your site/site collection?
It should work after deployment. Check how to Deploy your extension to SharePoint
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Feb 13 2021 11:16 PM