How to build an Adaptive Card web part or ACE [Updated 2024]

Adaptive Cards are a standardized “recipe” for writing a Card. While Viva Connections has a built-in Adaptive Card “app”, in SharePoint you need to first download a web part from the SharePoint store.

In this tutorial, we’ll go through the installation process and cover how you can make your own Adaptive Cards.

Get the web part

There is a handy-dandy web part called App integrations that lets you embed Adaptive Cards on any SharePoint page. So to start, go to Microsoft App Source and get yourself the web part.

Once you click on Get it now you need to follow a couple of prompts to enable the web part to become available to your SharePoint admins. Now, you can add the web part to your page from the “picker” dropdown. Once it’s on your page click the Edit button to open the configuration sidebar.

The whole web part is designed to either let you directly Connect to an app or Embed an existing Card. We’ll focus on the embedding option which basically lets you embed a Card you made elsewhere, just like you can embed a YouTube video.

Find a suitable template

Now, for our Adaptive Card web part we need to find a template to base our design off of. In our list you’ll get to a collection of templates that are divided into ones for employee experience, basic building blocks, such as lists or notifications, and, ones specifically designed for SharePoint/Viva.

Just pick one you like and then press the Deploy to Viva or SharePoint button. This will launch you into the Adaptive Card designer where your template will load.

Change the Adaptive Card’s design

The Adaptive Card designer is broadly sectioned into 3 areas of interest:

  1. The yellow area is the main canvas for your Card. You can drag elements from the left into the Card, e.g. to add an image or another text block. Elements within the card can be rearranged via drag-and-drop. In dark yellow, you see what element is currently active as highlighted in the Card Structure section. To the right, you see additional options for the currently active element, i.e. change the image size, font weight, etc.
  2. In the purple area, your entire Card is represented as JSON. JSON is a file format similar to HTML, and this lets you copy-and-paste your entire Card design. When you make changes in the yellow area, this area will be updated each time.
  3. In turquoise, you see your data. If you’ve used Microsoft’s version of the Adaptive Card Designer you will know this section to be static JSON, presumably taken from some API’s docs, and you can insert this data into the Adaptive Card using “Templating“. However, in our version you can automatically retrieve live data from your apps for this section. To connect this box to an app, click the Connect to data source button along menu bar on the top (which we’ll do in step 4).

Just make your changes as you desire, try different templates or refer to the Adaptive Cards Schema explorer as required.

Get live data from an app (optional)

In the penultimate step, we’ll now connect the Adaptive Card to one of the apps that are available from the App Directory. Click on the Connect to data source button. Then search for and select your app from the dropdown. You can see all available app in the App Directory.

The subsequent steps can differ from app to app, some are a straightforward OAuth authorization, other apps require you entering an API key or other parameters.

Once your data is connected it will appear in the bottom right-hand corner of your Adaptive Card Designer where you can then integrate it into your Adaptive Card design where you can insert it into your Card using Templating.

Share the Card to SharePoint

Finally, we come full circle and our Card is ready to be embedded into our SharePoint page. Deploying the Adaptive Card is super simple, just click on the Share button along the top of the Designer and then Copy the Card Share URL over to your web part and adjust the Card’s height to your liking. And there it is!

~~~

Did you find this tutorial useful? Were you able to make your own Adaptive Cards for SharePoint? Let me know in the comments below.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts
Read More

Embed RSS news feed web part into SharePoint or Viva Connections (Updated 2025)

Despite first being released in 1999 (yeah, a quarter of a century ago) RSS feeds are still a go-to format to syndicate news from different sources. This makes it also an ideal tool to show local news, weather, traffic updates, and more to users of your intranet. SharePoint used to offer a built-in RSS reader web part, but it was broken for many years until it was removed in 2024 alongside other SharePoint Connectors. From the SharePoint store: RSS feeds web part Luckily there is an easy replacement available directly on Microsoft AppSource: RSS feed web part for SharePoint. It’s…
Read More

23 free Adaptive Card templates for businesses (Updated Apr ’23)

Adaptive Cards are a standardized UX for business use cases, such as displaying Adaptive Cards in SharePoint, or to build Adaptive Cards . With the wide range of input types and the flexible layout they are a great way to make portable snippets of information. Related: Building with Adaptive Cards? Here’s what you should consider If you’re considering to build Adaptive Cards for your business, then these free examples could help you get there more quickly. Our free Adaptive Card samples show a great range of designs and layouts with images, approve/decline buttons and expanding sections. Adaptive Cards for Employee…
Read More

6 things about Viva Connections admins should know

With tools that help you learn, share knowledge, maintain wellbeing, and more, Viva is the name for Microsoft’s push into the employee experience space. Viva Connections, specifically, aims to be a gateway to all the other Viva services, with their more specialized UIs, and generally a hub for all kinds of relevant content for the user. In this blog post we’ll specifically talk about Viva Connections and whether it’s a product you should consider deploying to your Microsoft 365. Viva Connections is really two products Viva Connections consists of your Feed and your Dashboard. The Feed is pretty self-explanatory: it’s…
Read More

Top 3 smart office assistant devices you need to know about (with screenshots)

Just like the Alexa in your kitchen, smart office devices exist to make your day-to-day job easier. Gartner predicts that 25% of workers will use digital assistants every day by 2021, and it’s no surprise why when you consider a digital assistant can recoup 36% of your time every day. A cornerstone of any smart office and the heart of your operations is the smart office assistant. Smart office assistant devices are consumer devices equipped with an enterprise OS or skills. They’re tailored for use in an office environments, and can act as a gateway to the rest of your…