Skip to main content

Notifications

Power Platform Community / Forums / General / Adaptive cards in PVA
General
Answered

Adaptive cards in PVA

Posted on by

According to this link from MS it is possible to create Adaptive cards in PVA.

https://github.com/microsoft/PowerVirtualAgentsSamples/tree/master/BuildYourOwnCanvasSamples

 

Can someone explain to me how can I recieve the data in PVA if a user has entered data in for e.g. a adaptive card (for e.g. input form).

 

Thanks!

 

Categories:
  • renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Adaptive cards in PVA

    Hi @Anonymous ,

     

    I'm starting a series of posts and videos (1 video per day) to explain better how can you use the Adaptive Cards, Multiple Choices, and a lot of things, using the Bot Framework Composer integration.
    Please, follow and like this article: https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Community/Power-Virtual-Agents-integration-with-Bot-Framework-Composer/ba-p/750348

  • Re: Adaptive cards in PVA

    As of now I´m just trying to display any adaptive card in the PVA.

     

    @renatoromao Do you by any chance have a working example? 

     

    Thanks a million! 🙂

  • renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Adaptive cards in PVA

    Congrats @Anonymous !!! 🙂

     

    Did you try to use the input form code?

    If yes, where did you test your PVA? (which channel)

     

    ---

    Thanks!

    Renato Romão

    https://www.linkedin.com/in/renatoromao/

  • Re: Adaptive cards in PVA

    OK. I have now finally managed to create a Skill in add it to PVA - after quite many hours struggle 🙂

     

    pic2.png

     

    Now I want to show the user an input form (https://adaptivecards.io/samples/InputForm.html)

     

    One question @renatoromao ,

     

    How can I capture the users input values from the form in the PVA?

     

     

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Adaptive cards in PVA

    @Anonymous ,

    You can do all things that are shown here: https://github.com/microsoft/PowerVirtualAgentsSamples/tree/master/BuildYourOwnCanvasSamples

     

    It's a real case and you can see this case using Bot Framework: https://powervirtualagents.microsoft.com/en-us/blog/helping-organizations-provide-real-time-information-about-covid-19-with-microsoft-power-virtual-agents/

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • Re: Adaptive cards in PVA

    ok!

    you mean Yes to return an Input form (Adaptive card) or to just return an image?

  • renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Adaptive cards in PVA

    Yes @Anonymous !

    If you got any limitations using a channel, you can report on the forum or create an idea in the community.

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • Re: Adaptive cards in PVA

    @renatoromao  Thanks!

     

    So a Skill is able to return an Adaptive card to PVA - which in turn can return it to the chat client?

    Is that correct?

     

    I had read that link before - but i dont want to return an Image - instead I want to return an input form.

     

  • renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Adaptive cards in PVA

    Hi @Anonymous ,

     

    You need to implement the Bot Framework to do it: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-use-skills

     

    Using only PVA, you cannot use Adaptive cards yet, the idea has been created here: https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Adaptive-Cards/idi-p/399095

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

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

#3
Expiscornovus Profile Picture

Expiscornovus 1,700