Back to form formats
Form formattingSharePoint Online

Send Meeting Invite with Microsoft Teams

This sample demonstrates sending a meeting invite via Microsoft Teams to attendees in SharePoint list. The JSON can be used as Footer within SharePoint List formatting.

screen_capture
Sample preview · View original image

Copy. Apply. Make it yours.

Get this format

1 definition

Review the requirements below, then paste this JSON into the matching formatting panel. Show me where.

Use your list's internal column names and replace any tenant-specific URLs or flow IDs. Formatting is presentation, not a way to secure data.

Form footer
Download JSON
{
  "elmType": "div",
  "style": {
    "width": "100%",
    "display": "=if([$Title], 'block', 'none')",
    "padding-top": "10px",
    "border-top": "1px solid"
  },
  "children": [
    {
      "elmType": "a",
      "attributes": {
        "target": "_blank",
        "href": {
          "operator": "+",
          "operands": [
            "https://teams.microsoft.com/l/meeting/new",
            "?subject=",
            "Test",
            "&attendees=",
            "joe@contoso.com",
            "&content=",
            "Hey, calling for a meeting to discuss (",
            "[$Title]",
            ") coming along?"
          ]
        },
        "class": "ms-fontColor-themePrimary"
      },
      "children": [
        {
          "elmType": "span",
          "txtContent": "Send Meeting invite with Microsoft Teams"
        },
        {
          "elmType": "span",
          "style": {
            "margin-left": "8px",
            "vertical-align": "middle"
          },
          "attributes": {
            "iconName": "TeamsLogo",
            "class": "ms-fontColor-themePrimary ms-fontSize-xl"
          }
        }
      ]
    }
  ]
}

From the contributor

How to use this sample

Summary

This sample demonstrates sending a meeting invite via Microsoft Teams to attendees in SharePoint list. The JSON can be used as Footer within SharePoint List formatting.

screenshot of the sample

Form requirements

Type Internal Name Required
Single line of text Title Yes

Sample

Solution Author(s)
send-meeting-invite-with-teams-footer.json Vignesh Manohar

Version history

Version Date Comments
1.0 Sepetember 25, 2023 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Additional notes

  • This sample uses deep link to open a meeting scheduling dialog.