cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Adaptive cards in PVA

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!

 

1 ACCEPTED SOLUTION

Accepted Solutions

@kranis ,

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-informat...

 

---
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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

View solution in original post

9 REPLIES 9
Super User
Super User

Hi @kranis ,

 

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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

@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.

 

Yes @kranis !

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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

ok!

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

@kranis ,

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-informat...

 

---
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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

View solution in original post

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?

 

 

Congrats @kranis !!! 🙂

 

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/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

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! 🙂

Super User
Super User

Hi @kranis ,

 

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-...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Virtual Agents Community Super Users!

Congratulations to our Season 1 2021 Super User Crew!

PVA Commnity Blog

NEW Power Virtual Agents Community Blog

View articles posted by fellow community members on the Power Virtual Agents Community Blog!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Users online (36,347)