Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

What is `displayNameKey` in capabilities.json ?

Hello,

 

 To do my cuom visuals, I enter some object properties in capabilities.json in this way:

 

"objects": {
  "ggsettings": {
    "displayName": "Chart Settings",
    "description": "Chart settings",
    "properties": {
      "Smoothing": {
        "displayName": "Smoothing",
        "description": "Add smoothing",
        "type": {
          "bool": true
        }
      },

 

I have seen some examples with a displayNameKey field:

 

"objects": {
  "ggsettings": {
    "displayName": "Chart Settings",
    "description": "Chart settings",
    "properties": {
      "Smoothing": {
        "displayName": "Smoothing",

        "displayNameKey": "XXXXXXXXXXX"
        "description": "Add smoothing",
        "type": {
          "bool": true
        }
      },

 

What is the role of this field?

1 REPLY 1
dm-p
Honored Contributor

displayNameKey (as well as descriptionKey and placeholderTextKey) is used to define a lookup value for localisation within visuals.

Note that if building this in, you need to package your visual to test that lookups work correctly, as stringResources/localisation keys are not supplied to the developer visual when debugging.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Users online (80)