Forum Discussion

Stephen-14853's avatar
Stephen-14853
Tin Contributor
Jun 24, 2026
Solved

How do I get quick actions to show up in Gallery view for a list?

Hello, I'm creating a sharepoint list of employees. I create quick actions for sending an employee a teams message or an email, and they work fine in list view. However, in gallery view they don't show up. The field title is displayed, but there's nothing inside, which I've highlighted with a red box. Is it possible to get the quick action buttons to appear in this view?

 

  • virendrak's avatar
    virendrak
    Jul 08, 2026

    I think it's failing because Actions is not a Person field, so @currentField refers to the Actions column itself and has no email property.

    Can you please try to add...

    "href": "='mailto:' + [$Contact.email]"

5 Replies

  • Hi! Gallery view does not always render list quick-action columns the same way as List view. You can usually reproduce the buttons by editing the Gallery view's JSON formatting and adding customRowAction elements for the email or Teams links. Please share the current column formatting JSON with any addresses removed, and someone can help adapt it safely.

  • yoink's avatar
    yoink
    Tin Contributor

    You can add a button with 'mailto' link or probably emulate whatever your column format is in list view by customizing your gallery view (card) format JSON. 

    I'm not yet able to post links, but search for Microsoft's 'Learn Gallery Formatting' or check 'PnP List Formatting' to see what's possible. 

    • Stephen-14853's avatar
      Stephen-14853
      Tin Contributor

      Thank you, and apologies for the late response. I did some research and was able to add a button with a link. However, when I try attaching a mailto link ("'mailto:' + [@currentField.email]"), the entire gallery disappears. Note: I added a new field "Actions" to test out custom formatting with, that's why it's under Actions instead of Contact now.

       

      This is the JSON I added:

          {
            "elmType": "a",
            "txtContent": "Email",
            "attributes": {
              "class": "sp-card-defaultClickButton",
              "role": "presentation",
              "target": "_blank",
              "href": "='mailto:' + [currentField.email]"
            },
            "style": {
              "padding": "5px",
              "height": "20px",
              "margin-right": "3px",
              "margin-botton": "3px",
              "font-size": "15px",
              "border-radius": "2px",
              "border": "none",
              "font-weight": "600",
              "background-color": "#0078d4",
              "cursor": "pointer",
              "color": "white",
              "text-decoration": "none",
              "text-align": "center",
              "width": "40px"
            }
          }

       

      • virendrak's avatar
        virendrak
        Steel Contributor

        I think it's failing because Actions is not a Person field, so @currentField refers to the Actions column itself and has no email property.

        Can you please try to add...

        "href": "='mailto:' + [$Contact.email]"