Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings Everyone,
am trying to add a custom extension to my mashup however its showing as invalid (the visualization was not found on the server: extension name()), I have checked the console on my mashup and am seeing 404 not found error in the console.
I have checked older posts regarding the same topic however it didn't work for me, I have applied the following steps as mentioned in previous posts:
_add "Access-Control-Allow-Origin: *" to the virtual proxy.
_added "paths" and "baseUrl" to require.config in the mashup.js.
_added the extension.js and extension.css files in a <script> tag in the header of the html page.
note: the extension is working in the devhub in a test mashup, only when I deploy the mashup in my external server its not loading.
Thank you @oz_moyal , I exported the mashup and added the files as you mentioned and it worked, other extensions showed the same issue but on multiple files not only the .css file.