cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hhernandez27
New Member

changing share URL on power bi report that is embedded in public site

Hello,

 

Is it possible to change the "share URL" on a Power BI report that is embedded on a public website? currently the share URL displays the parent site but I would like it to display the site that the Power BI report is embedded on.

 

thanks,

powerbi_share_URL.PNG

 

Hector

8 REPLIES 8
agnes_ee
Frequent Visitor

You can add referrerpolicy Attribute to the iframe: https://www.w3schools.com/tags/att_iframe_referrerpolicy.asp.

 

To share the link of the child page the report is on use “no-referrer-when-downgrade” like this:

 

<iframe referrerpolicy="no-referrer-when-downgrade" width="600" height="373.5" src="https://..." frameborder="0" allowFullScreen="true"></iframe>

mattww
Responsive Resident
Responsive Resident

Has anyone found a solution to this? I am encountering the same issue with the share URL being trimmed to be just the domain of the site the report is embedded in. It's a WordPress site so I don't know if that is common with the issue encountered by @hhernandez27 

 

If the report is accessed directly (i.e. not via the iFrame) the share links work fine, so it appears something is being passed through the iFrame to override the share URL

Ailsa-msft
Community Support
Community Support

Hi @hhernandez27 

Is your URL on the embed report interface, right ?

Ailsamsft_0-1625813914401.png

If you are talking about this URL, that is it. This is the website where the Power BI report is located . This is the result after I opened the URL .

Ailsamsft_1-1625813914408.png

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thank you. yes that is the "share URL" i am talking about, which is on the embed report interface. However, the "share URL" on my embed report interface is  https://www1.nyc.gov/ but my embed report is located at https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts. The "share URL" should be https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts and not https://www1.nyc.gov/ . see below. are you saying i cannot change the "share url" to https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts??

Capture.PNG

Ailsa-msft
Community Support
Community Support

Hi @hhernandez27 

When you click share in report , you will see copy link in the "share URL" popup ,after you clicking “Copy link ”,you will see the share URL . This is provided directly by the Power BI Service, and there is no way to modify it

Ailsamsft_0-1625635893955.pngAilsamsft_1-1625635893956.png

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Ailsa,

 

i think there might be some confusion. I dont mean the share URL to embed the report somewhere or the URL to share the report as you are thinking of. I mean the URL in the popup of the image below which is https://www1.nyc.gov/. I circled the URL I am speaking of in a red circle in the image below. Can I change https://www1.nyc.gov/ to https://www1.nyc.gov/html/dot/html/about/datafeeds.shtml#trafficcounts , which is the website of where the power BI report exists? thanks,

Capture.PNG

Ailsa-msft
Community Support
Community Support

Hi @hhernandez27 

You cannot change the URL for the shared report . The URLs for the shared report and embedded report are also different .In Service , Sharing and embedding belong to two different functions .

Ailsamsft_0-1625449449350.png

Ailsamsft_1-1625449449352.png

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mattww
Responsive Resident
Responsive Resident

There is still a bit of confusion here

 

The query is not about changing the share URL, it's that when a report is embedded (e.g. Publish to Web) the share buttons such as for Twitter and Facebook have a trimmed URL behind them. This is an issue for the end user, not anything in the Power BI Service 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors