0

I've developped a custom Extension with SPFX. This custom extension performs a Search. I deployed it. Everything worked totally fine during 6 months. And now, out of the blue, my extension is only visible in Site Content, no more in all the other pages.

What i have :

Custom extension created following the documentation. gulp bundle --ship generated temp files that I uploaded to a folder in a Library called CDN (which has been activated and recorded as a CDN origin). gulp package-solution --ship generated my .appkg that i've uploaded to the appCatalog.

The prompting errors :

Normally, as in my Site Content, in the dev Console, in the Network tab, I find my postquery, with all my query sent to SP. Now, in my pages, when I check the dev console,

  1. in the Network tab, my postquery is not appearing.
  2. In the console tab, I have the following error : "Uncaught (in promise) Error : Failed to create application customizer 'ClientSideExtension.ApplicationCustomizer.XXXXXXXX'.Error information is '***Extension failed to initialize for componentId "XXX".' "

What i tried :

I tried a gulp serve --nobrowser to see if I had any issues. I have none, and my Extension is well displayed.

So, is it a CDN issue ? -even if I don't think so, because the extension works on _layouts pages. Is it another issue ? How to debug that ?

Please help me, I am really stuck there.

Thanks a lot ! :)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.