Skip to main content
Gert Wieland (UHN) 님이 #Visualforce에 질문했습니다

I created a VisualForce page that pulls data from an embedded Power BI report and shows it in an iframe. For a regular SF user, it works fine and it is even interactive like any normal Power BI Report.

Here's a screenshot of an extremely simple example:

Remove link to Visualforce Page in Community (Experience)

The same Visual Force Page also shows up to members of the community ("Experience"). However, there the report is NOT interactive, and it's not possible to click on the Power BI report:

Power BI report not interactive

Instead, it seems that there's a transparent layer on top of the entire page. This layer has a link to the VisualForce page itself.

User-added image

My goal is to remove the link to the VisualForce page. Instead, the page should be interactive, i. e. it should behave the same way as it does for the regular user.

Here's the complete code of the VisualForce page:

<apex:page standardController="FCC__c" showheader="false" sidebar="false">

<apex:iframe src="https://app.powerbi.com.[EmbedURL]$filter=FCC/FCC eq '{! FCC__c.SAP_Id__c }'" height="1000px" width="100%" frameborder="0">

</apex:iframe>

</apex:page>

This is literally the last step I need to achieve a major milestone.

I'd really appreciate it if somebody could help me out here. 

Thanks a lot in advance.

 
답변 2개
  1. 2021년 3월 9일 오전 6:47
    Hi Swetha,

    Thanks a lot for looking into it.

    The report does actually show up, and it shows the correct result. 

    But what is weird is that I cannot click on the Power BI report itself. The entire area where I put the VisualForce page has a transparent layer on top of it. The screenshot below shows that the mouse becomes a pointer even when it's not over the report itself.

    This layer prevents me from clicking on the Power BI report. Instead, it wants to open the underlying VisualForce page, but that makes no sense.

    Hi Swetha,Thanks a lot for looking into it.The report does actually show up, and it shows the correct result. But what is weird is that I cannot click on the Power BI report itself.

    It tries to open this URL:

    https://ourdomain.force.com/BusinessHubTest/s/BusinessHubTest/FV_FCC?id=a0D5W0000009QxjUAE

    However, I don't want to open the VF page (after all, it's just a container for an iframe). The customer should just be able to interact with the Power BI report.

    This DOES work for regular users in Salesforce (our staff), but for community users, I get this weird layer that keeps them from using the Power BI report.

    So to your point, there is no error message because after all, the Power BI report does show up, I just can't click on it.

    I could really need a hand here...

     
0/9000