Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi Guys..
I'm developing a powerbi custom visual, witch is mostly done and ready to go.
For the better look & feel, attraction and the user guidance contents, I'm going to develop the initial empty view of the visual with some HTML tags and images and/or gif animations.
For that purpose, I need the visual to fire an event, soon after the visual instance is dragged from the visuals pane to the report/page . That means, this expected event should fire before user drag any data field from the datasource to the capabilities fields.
Currently it fires only the "update" event, when user drag a data field.
Is there any available event for this purpose, that fires just after visual dragged on to the report/page.
Or any other feasibility to apply my HTML tags and images/gifs on the initial empty view of visual.
Thanks in advance..
Lasantha.
Solved! Go to Solution.
Hi @dakdgdl,
There are capabilities that allow the update method to fire when the data view is empty, which is the Power BI visuals way to handle a landing page. Here's the MS documentation on how to set it up.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @dakdgdl,
There are capabilities that allow the update method to fire when the data view is empty, which is the Power BI visuals way to handle a landing page. Here's the MS documentation on how to set it up.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi dm-p,
That's really perfect..
These 2 capabilities make the update method to trigger even before drag a data field.
{
"supportsLandingPage": true,
"supportsEmptyDataView": true,
}
Thank you very much
Lasantha.
Hi Guys..
I'm developing a powerbi custom visual, witch is mostly done and ready to go.
For the better look & feel, attraction and the user guidance contents, I'm going to develop the initial empty view of the visual with some HTML tags and images and/or gif animations.
For that purpose, I need the visual to fire an event, soon after the visual instance is dragged from the visuals pane to the report/page . That means, this expected event should fire before user drag any data field from the datasource to the capabilities fields.
Currently it fires only the "update" event, when user drag a data field.
Is there any available event for this purpose, that fires just after visual dragged on to the report/page.
Or any other feasibility to apply my HTML tags and images/gifs on the initial empty view of visual.
Thanks in advance..
Lasantha.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.