microsoft / Microsoft-Fabric-workload-development-sample

Demonstrates how to implement a Microsoft Fabric workload in .net and typescript
Other
30 stars 17 forks source link

"Empty iframeId" error in @ms-fabric/workload-client when running sample workload locally #135

Closed jkw-statsig closed 1 month ago

jkw-statsig commented 1 month ago

Trying to get started by running the sample workload on localhost, but hitting this error when running npm start.

Error is happening within the @ms-fabric/workload-client package. Getting rid of the assert gets rid of the error, but only loads an empty page. Is this a known issue? Any idea how to fix it?

Image

atefsaw commented 1 month ago

Hi @jkw-statsig ,

The frontend sample is designed to run within an iFrame in the Fabric portal, as described here.

To be able to view your frontend, navigate to Portal, enable both the development tenant setting and the Developer mode (As described here), and then you should be able to see your workload Frontend.

Please let me know if you have more questions.

atefsaw commented 1 month ago

Thanks for confirming! I’ll go ahead and close this issue now. If you have any further questions or run into any other issues, feel free to reopen it or open a new one.