Forum Discussion

yannaingoo's avatar
yannaingoo
Advocate I
4 months ago
Solved

Embedded Link to hide paramenter

Hi all

 

Is there a way to hide power bi embedded long parameter to hide? 

Below link for example, I share with readonly user. and user can able to change th URL navContentPaneEnable to True so on. 
I dont want to let user able to change it. Thanks

 

reportEmbed?reportId=xyzzzz&autoAuth=true&embeddedDemo=false&navContentPaneEnabled=false&filterPaneEnabled=true&pageName=6536ff56565

  • Hi yannaingoo ,

    This cannot be managed through the iframe or playground link. Parameters such as navContentPaneEnabled are handled on the client side, so users can still modify them in the URL.

    To fully hide the navigation pane, you should use the Power BI Embed SDK , which allows you to control this setting in your code.

     

    Alternatively, sharing through a Power BI App can provide a more secure, read only experience.

     

    I hope this clarifies the situation. If I’ve misunderstood any part of your situation, please let us know.

     

7 Replies

  • Unfortunately there's no way to hide or lock URL parameters in a standard Power BI embedded link — anyone who can see the URL can modify it. The navContentPaneEnabled, filterPaneEnabled etc. parameters are client-side hints only, not enforced server-side.
    The proper solution is to use the Power BI JavaScript SDK (Embed API) instead of a direct iframe URL. With the SDK you control all embedding configuration in your server-side code, and the end user never sees or interacts with the raw URL. The embed token is generated server-side, the report loads in an iframe you control, and parameters like navigation pane visibility are set in code — not in a URL the user can tamper with.
    If a full SDK implementation isn't feasible, the only partial mitigation with a direct link is to wrap it in an intermediary page on your own web server that redirects to or proxies the embed URL, so the raw reportEmbed URL is never exposed to the user directly. But this is fragile and not a real security boundary.

  • Hey yannaingoo ,

    You can't just hide this but you could create a Power BI app and share that way.  That might not meet your business need but it is the normal way to share "read only" type of information that the user is only getting what you want them to get.

  • Hi yannaingoo ,

    Could you let us know if your issue has been resolved or if you are still experiencing difficulties? Your feedback is valuable to the community and can help others facing similar problems.

     

    • yannaingoo's avatar
      yannaingoo
      Advocate I

      Hello 

       

      thank for reaching out. not resolve yet. I'm currently Pro license user and try to figure out in playground.powerbi.com but unfortunately have not able to solve it. below is the sample embeded report with 3 report tab, I want that Navigation to hide it in embeded report. (that's my goal). 

       

      <iframe title="Sample Report Demo" width="1140" height="541.25" src="https://playground.powerbi.com/sampleReportEmbed" frameborder="0" allowFullScreen="true"></iframe>

      • V-yubandi-msft's avatar
        V-yubandi-msft
        Community Support

        Hi yannaingoo ,

        This cannot be managed through the iframe or playground link. Parameters such as navContentPaneEnabled are handled on the client side, so users can still modify them in the URL.

        To fully hide the navigation pane, you should use the Power BI Embed SDK , which allows you to control this setting in your code.

         

        Alternatively, sharing through a Power BI App can provide a more secure, read only experience.

         

        I hope this clarifies the situation. If I’ve misunderstood any part of your situation, please let us know.

         

  • Hi yannaingoo ,

    We haven’t received an update yet. Please let us know if you’ve tried the previous suggestions or need any clarification.

     

    Thank you.