0

I am unable to capture the Managed Metadata field within my JSON formatting. I can reference other fields by their Internal names but how would I go about grabbing that MMD value?

{
  "elmType": "a",
  "txtContent": "",
  "attributes": {
    "target": "_blank",
    "iconName": "OpenInNewWindow",
    "class": "sp-field-quickAction",
    "href": {
      "operator": "+",
      "operands": [
        "https://tenant.sharepoint.com/sites/newsite/Lists/listname/AllItems.aspx?ID=",
        "[$Custom_x0020_Field]"
      ]
    }
  }
}

The link doesn't generate which means there must be an error in the code. The Managed Metadata field is probably an object so what attribute can I reference to get the set value?

1 Answer 1

1

Managed Metadata type of field is not supported in column formatting.

Supported column types

The following column types support column formatting:

Single line of text

Number

Choice

Person or Group

Yes/No

Hyperlink

Picture

Date/Time

Lookup

Title (in Lists)

The following are not currently supported:

Managed Metadata

Filename (in Document Libraries)

Calculated

Retention Label

Currency

Reference: Use column formatting to customize SharePoint

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.