2

I am looking to create a breadcrumb for MMNavigation, I have this already working in classic, however to make it work in Modern I have to use SPFx.

In the Classic I can find out the current Term for the page using _spFriendlyUrlPageContextInfo.termId , this is how I can locate myself in the terms.

That variable is not available in a Modern Page and I have no Idea how to get the current Page Term.

In this new world, how can I get the current pages "key" from the Termstore.

  • Perhaps there is a REST api for MM to get the term ID for a page, that would do also, its not great great, but it solves a problem. – BinaryJam Dec 3 '19 at 16:00

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.