Forum Discussion

marcobaciga's avatar
marcobaciga
Helper I
8 years ago
Solved

disable custom objects properties

Hello, i have a custom objects in capabilities files.

Is it possible disable this custom objects properties before i add data in my custom visual like matrix or table default visual on powerbi?

 

"objects": {
"Test1": {
"displayName": "Test1",
"properties": {

6 Replies

  • v-viig's avatar
    v-viig
    Community Champion

    Hello marcobaciga

     

    You should return an empty array ([]) as a result of enumerateObjectInstances method if dataView is empty.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

     

    • marcobaciga's avatar
      marcobaciga
      Helper I

      Thank you v-viig,

      I try your solution but the objects is hidden.

      I want to obscure like this image.

      Is it possible?

      Thanks

       

       

      • v-viig's avatar
        v-viig
        Community Champion

        You should define show property in your capabilities and use false as a default value (capabilities sample).

         

        Ignat Vilesov,

        Software Engineer

         

        Microsoft Power BI Custom Visuals

        [email protected]