0

I'm writing SPFX extension that should work on both SP 2019 on-premise and SP Online. But due to bug in SP Online I have to split behavior of extension depend on type of SP server. Is it possible to detect what type of SP server is working?

  • Looks like legacyPageContext has required data: this.context.pageContext.legacyPageContext.isSPO. – 23W Nov 7 at 10:25

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.