Forum Discussion

Ashwath_Bala_S's avatar
1 year ago
Solved

Issue with Frontend Server Setup – "Empty iframeId" Error in Workload Development Kit

Hi Team, We are currently setting up the local development environment by following the instructions provided in the Workload Development Kit documentation. However, when attempting to run the fr...
  • v-achippa's avatar
    v-achippa
    1 year ago

    Hi Ashwath_Bala_S,

     

    Thank you for confirming that you are using the WDK to build a workload that integrates with power bi.

    The error here likely occurs when the frontend is run outside of the expected WDK host environment and the SDK is unable to retrieve the iframeId needed for initialization and context. Please follow below steps:

    • Do not run the frontend directly in the browser, make sure you are launching your app through the WDK host or simulator, rather than directly accessing it from the browser.
    • Ensure that your frontend code includes an initialize() call from the SDK like somewhere in the startup code this should present. This ensures the SDK receives context values like iframeId.

     

    If this post helps in resolving the issue, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

     

    Thanks and regards,

    Anjan Kumar Chippa