0

I have 2 extensions which need to have a specific order on a sitecollection. I already tried setting the in ClientSideInstance.xml and also in Tenant Wide Extensions list. Do you know other ways to order the rendering of the extensions?

Thank you!

1 Answers1

0

Unfortunately not. There is a parameter in the manifiest.json file, that should allow you which extension should load before, however, it doesn't work.

Some solutions you may try:

  • One of the extension to leverage the DynamicDataProvider spfx resource, and make the other spfx extension to use the subscrided data.
  • One of the extension injects some code when it is loaded in the page, like addign an extra class to the body class, as extYYY-loaded. The other extension is monitoring the body attributes using a mutationObserver, and triggers in as soon as the atribute appears.
Alberto S.
  • 1,805
  • 23
  • 39