Moisés
Moisés

Reputation: 105

How create property string in power bi custom?

I'm developing a new custom visual with power bi and I'm creating new properties, but I don't know how to create string properties.

For color I'm using type: { fill: { solid: { color: true } } } and for bool I'm using type: { bool: true } .

Any help will be good for me.

Thank in advance.

Upvotes: 0

Views: 144

Answers (1)

Kasipathi Bendalam
Kasipathi Bendalam

Reputation: 46

Use text type for string input in capabilities.json

"type":{  
            "text": true
           }

Upvotes: 1

Related Questions