Forum Discussion

Hamid_Son's avatar
Hamid_Son
Regular Visitor
3 years ago

Can we Add/Remove data roles (defined in capabilities.json) dynamically in custom visual script ?

Hi,

 

I am a power BI custom visual developer. I have defined two data roles (sections) in capabilities.json of my custom visual.

 

So below is my question:

 

Question:

 

Can we Add/Remove data roles (defined in capabilities.json) dynamically in custom visual script ? In below image there are two sections "Category Data" and "Drilling Data" sections, I want to show drilling data if user checks "Enable Drilling" option in property window of my custom visual, can I achieve this behaviour in Power BI custom visual ? If yes, please guide me how can I get this behaviour ?

 

 

Best Regards,

Tanveer Hamid.  

 

No RepliesBe the first to reply