Forum Discussion

RAFFO's avatar
RAFFO
New Member
1 year ago

PBI Custom Visual Enabling Custom Download for Public Users (outside my organization)

Hi there, 

 

is there a way to allow a users outside my organization to download a custom file from our Custom Visual whose report is publicly published for the web?

Such functionality works fine with logged users from our organization.

(Report works fine on the web except for the fact that external users do not receive any download feedback).

 

related cabilities.json items are set as follows:

 

"privileges": [
        {
            "name": "LocalStorage",
            "essential": true
        },
        {
            "name": "ExportContent",
            "essential": true
        },
        {
            "name": "WebAccess",
            "essential": true,
            "parameters": [ "https://*.microsoft.com", "https://app.powerbi.com" ]
        }
    ]

  

 

Thanks in advance

Raffaello   

1 Reply

  • dm-p's avatar
    dm-p
    Super User

    Hi RAFFO 

     

    Like all privileged APIs, this isn't supported for publish to web scenarios - just Desktop and the Service. I'm unsure if setting up Power BI Embedded would work either, as it's not stated in the documentation for this feature like it is for some of the other APIs. You might need to check this with the team directly: [email protected]

     

    Any workaround I can think of currently for using the publish to web pathway would be to host it somewhere else and have a link available either on your report or on the hosting page. I appreciate that this isn't necessarily a useful idea, given that you probably have specific logic and want to also adapt to contextual data that your visual has.

     

    Regards,

     

    Daniel