Forum Discussion

dm-p's avatar
dm-p
Super User
7 years ago
Solved

Custom Visual Objects Migration & Report Page Tooltip Properties

Hi there,   I'm just looking at updating one of my custom visuals to allow the use of report page tooltips, and while I can get this working just fine, I've realised that I need to fix my existing ...
  • v-viig's avatar
    7 years ago

    Hi dm-p ,

     

    The predefined properties can't be controlled from Custom Visuals. That means you can not change order and you can not get their values.

     

    To keep backward compatibility you should keep both tooltip and visualTooltip in the capabilities.json. It's required to get tooltip options in legacy reports.

     

    EnumerateObjectInstances should return an empty array for the tooltip to hide it in Format Panel.

     

    As a third step, you should update Settings parse to check visualTooltip first. It's defined you should ignore values from the tooltip. Otherwise, you should copy tooltip to visualTooltip in your Settings parser.

     

    Let me know if you have any questions.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]