Skip to main content

Notifications

Topic Creation & Management
Answered

Carousel cards in PVA

Posted on by 24

Hello,

 

How to create Carousel cards in PVA now?

 

Regards

Yogesh

  • marosalusa Profile Picture
    marosalusa 2 on at
    Re: Carousel cards in PVA

    Could you please share the code for this option/picture ? Trying to do a carousel format for 3 different products: P1, P2 and P3. When the customer pick one, the next step in the bot will know which one was selected. Thanks

  • Yogesh3097 Profile Picture
    Yogesh3097 24 on at
    Re: Carousel cards in PVA

    Hello @HenryJammes ,

     

    Could you please share a sample for dynamic values which has to be used in Input.choiceset and action.submit.

     

    Regards

    Yogesh

     

     

  • Verified answer
    HenryJammes Profile Picture
    HenryJammes on at
    Re: Carousel cards in PVA

    Hi @Yogesh3097,

     

    Sorry for the delay on this. Still need to do the write up and detailed explanation, but hopefully the below unblocks you.

     

    This is the end result:

     

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

     

    The content of dynamic is fully dynamic. 
    I just use an input JSON data array (as a string variable to simplify).

    I also used SVG's for the images, but the standard way is usually to use URLs.

     

    I'm attaching in a ZIP the YAML content of the topic that you can paste in a new topic, in the code editor view, to have a look at it.

     

     

    Henry

  • Yogesh3097 Profile Picture
    Yogesh3097 24 on at
    Re: Carousel cards in PVA

    Hello @HenryJammes ,

     

    Is there any update on the document, which we discussed earlier. It would be great, if you finished the document.

     

    Regards

    Yogesh

  • Yogesh3097 Profile Picture
    Yogesh3097 24 on at
    Re: Carousel cards in PVA

    Sure @HenryJammes, Please share that document once you finsihed. 

    Thanks

    Yogesh

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Carousel cards in PVA

    I'll try and document something this week. Globally what it does is creating a single adaptive card that looks like a carousel and with toggle visibility rules allows to hide the current record, display the next one, etc.

  • Yogesh3097 Profile Picture
    Yogesh3097 24 on at
    Re: Carousel cards in PVA

    Hello @HenryJammes ,

     

    Just a kind reminder, Could you please share that working sample?

     

    Regards

    Yogesh

  • Yogesh3097 Profile Picture
    Yogesh3097 24 on at
    Re: Carousel cards in PVA

    Hello @HenryJammes,

     

    That would be great, If you share the powerFx. Please share me that sample. I am waiting for that. 

    And from that sample, Can I tweak the formula and use input.choiceset dynamically?

     

    Thanks

    Yogesh

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Carousel cards in PVA

    Thank you @Yogesh3097,

     

    It isn't possible today to have a dynamic number of attachments (i.e. adaptive cards, hero cards...).

    A workaround is to create an adaptive card that will replicate a carousel behavior, and making it dynamic using Power Fx.

     

    I have a working sample that I need to tidy up and share.

     

    Henry

  • Yogesh3097 Profile Picture
    Yogesh3097 24 on at
    Re: Carousel cards in PVA

    Hello,

    Scenario:

    I have list of adaptive card  which has to be showed in a carousel format. 

    The number of adaptive cards used in carousel format is dynamic and the JSON format for all adaptive cards are same. Please provide a solution for this.

     

    Thanks 

    Yogesh

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,995

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics