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.
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")
{
}
}
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156