Forum Discussion

keerthanabasa's avatar
keerthanabasa
Regular Visitor
6 months ago

How to use wasm filepath from assets to react component inside visual

I'm working on rendering React component inside power bi visual.
The approach we are using is rendering the react component inside visual.
The component requires to load wasm file initially and also we need to pass few wasm files, worker.js, resources files as props to the react component.
Hosting the files in external server and using those paths is working fine.
But I want to use the file paths from assets folder or local folder which is not working as its resulting in either CORS or ERR blocked by ORB issues.

Any suggestions would be helpful

3 Replies

  • This is blocked by design for the reasons you mentioned.  Find another solution without embedding.

  • Hi keerthanabasa ,

    Have you had a chance to test it without embedding? Are you still facing any issues? Please feel free to share the details here if the issue persists, we’ll be happy to help.

     

    Thank you for your prompt response.

     

    Thanks,
    Yugandhar.

  • Hi keerthanabasa ,

    We haven’t received a response from your end yet. Please let us know whether the issue has been resolved or if you’re still facing any difficulties. Feel free to reach out if you need further assistance.

     

    Thank you.