Skip to main content
edited tags
Link
Gautam Sheth
  • 31k
  • 1
  • 36
  • 62
Source Link
Lori
  • 143
  • 7

spfx Global Term Store without using get

Just wondering whats the best way to get the name of the Global Term store without hard coding it?

I have this at the moment

var termStoreName = "Taxonomy_xxxxxxxxxxxxxxxxx";
const store: ITermStore = await taxonomy.termStores.getByName(termStoreName);