Forum Discussion
persistProperties with empty dataview
Hi danieleperilli,
I suppose it may be triggered by visual render and initialize if that feature takes the same logic as visuals initializations.
You can also take a look at following document about power bi visual concepts if helps:
Power BI visuals concepts - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
I'm sorry, I don't understand your answer.
If there is no data associated with the visual (and the visual now supports it thanks to the "supportsEmptyDataView" flag) and you call host.persistProperties (...), the visual does not save the passed data as usual. With regular data binding, persistProperties saves the passed properties and triggers the Update event, without data this does not happen.
- Anonymous5 years agoNot applicable
Hi danieleperilli,
So you mean this issue appears when you enable the flag? If that is the case, perhaps you can try to contact to power bi custom visual team to report this scenario.
Regards,
Xiaoxin Sheng
- danieleperilli5 years agoKudo Commander
Ok, thanks. I will contact them directly.
- Balogh1Bence4 years agoHelper II
Have you received any useful information from the powerbi custom visual team?