Skip to main content

Notifications

Copilot Studio - General
Answered

Multi Adaptive Card picklist ?

Posted on by 26

Hi all, 

 

I'm looking to way of showing a list of multi adaptive cards like this 

 

JM78_0-1689247338411.png

 

It's like a picklist where you can select adaptive cards listed dynamically

 

Is that possible ?

 

Categories:
  • Viswav Profile Picture
    Viswav 94 on at
    Re: Multi Adaptive Card picklist ?

    Hi, I tried this but how do I extract the option the user the submitted to be used in a condition next?

    Viswav_0-1715773623216.png

     

  • JM78 Profile Picture
    JM78 26 on at
    Re: Multi Adaptive Card picklist ?

    @HenryJammes 

    I didn't had the time to reply but i've made a test and adapted your exemple to our need and it work 🙂

     

    In my case, i've creted the JSON structure via a Power Automate and sent the content as a reponse to PVA. 

    I've changed the adaptive card to in order to add some other attributes and replace those base 64 img by url's and finished by replacing the open URL action by a Submit action because i wanted to subscribe to an event by selecting him and clicking to "Subscribe". In my case i'm getting the ouput of the submit action as a variable to do the rest of my topic. 

     

    So here's the importante part of my P. Automate

    JM78_0-1689280607858.png

     

    JM78_1-1689280638927.png

     

    On my PVA Event topic

     

    JM78_2-1689280803282.png

     

    JM78_3-1689280857481.png

     

    Result : 

    JM78_4-1689281230700.png

     

     

    Now i just need to replace the event title on the button with "Subscribe" title. It'll be done tomorrow 🙂 

     

    Thanks for your help. 

    Great day

  • JM78 Profile Picture
    JM78 26 on at
    Re: Multi Adaptive Card picklist ?

    Wait. 

    I've just loaded your topic example and understand that you created a table of json content then you added index. 

    It's ok for me. That solution do the work i need. Let me try it and come back 🙂

  • JM78 Profile Picture
    JM78 26 on at
    Re: Multi Adaptive Card picklist ?

    Well. 

    I was looking in a way to put a dynamics number of Adaptive cards based on a variable and pass it as a parameter in the message. The number of adaptive cards is based on a power automate return.

     

    So the only way is to create on adaptive card and add it multiple times on a message and replace for each one the values ?

  • Verified answer
    HenryJammes Profile Picture
    HenryJammes on at
    Re: Multi Adaptive Card picklist ?

    Hi @JM78,

     

    If the number of adaptive cards is predefined, you can add multiple ones to a question or message node.

    You can display them in a carousel format.

     

    HenryJammes_0-1689248932741.png

     

    If the number of adaptive card is unknown, it's not possible today to have a dynamic number of attachments (i.e. adaptive card in this context).

    As a workaround, you can create a single adaptive card with a carousel-like format.

    I gave an example of how to do it, here: Solved: Re: Carousel cards in PVA - Power Platform Community (microsoft.com)

     

    2023-07-10 18-36-16-443 Topics_-_Internal_Employee_Chatbot__Power_Virtual_.gif

     

    Henry

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard