web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Missing key field in adaptive card

(0) ShareShare
ReportReport
Posted on by 82

Hi,

We have created a custom table in Business Central, similar to Jobs where the key field is "No." and other important fields are "Customer No.", "Customer Name" and Description. I created a simple automatic flow in Power Apps to send an adaptive card to a channel when a new record is created. 

The fields in the adaptive card are "Customer No.", Description and "Customer Name" (in that order), there is no reference to the key field "No.". Neither in the custom table's keys and field groups nor in the card page used for the adaptive card is there a combination of the table fields in that order. The key field is also on the card page. Still the adaptive card is produced per default without the key field and with that weird field order.

How does power apps know which fields to include and in what order? Any answer is much appreciated.

Thanks.

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    RE: Missing key field in adaptive card

    Hi, It may be related to the Brick field group, hoping to give you some hints.

    Developing for Microsoft Teams Using Metadata - Business Central | Microsoft Learn

    Thanks.

    ZHU

  • Pimp Your BC Profile Picture
    82 on at
    RE: Missing key field in adaptive card

    Hi Yun Zhu,

    Thanks for the reply, and for the link!

    As you can see from the fieldgroup Brick, it does contain the "No." and even has a different order than the one in the adaptive card. So it seems to be something else that is determining the fields to include and in what order they are shown.

       fieldgroups

       {

           fieldgroup(Brick; Description, "No.", "Customer No.", "Customer Name")

           {

           }

       }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans