Carousel schema in Microsoft adaptive cards - adaptive-cards

I'm unable to get the adaptive cards schema for carousel. When I have gone through docs I found one schema but when using that got the message saying upgrade to new schema. But I didn't see any where the new JSON schema for adaptive cards carousel.

There is no carousel in Adaptive Cards (yet...)
This link provides the element collections that are available at present for Adaptive Cards
http://adaptivecards.io/explorer/
You could always raise this as a feature request over on the GitHub site
https://github.com/Microsoft/AdaptiveCards/issues

An adaptive card is actually an attachment that you have in a simple text. Now you can have a carousel of adaptive cards but not carousels IN adaptive cards. I'll attach a link so that you can create a carousel of adaptive cards referring to it:
https://github.com/Microsoft/AdaptiveCards/issues/2507

Related

Adaptive Card - Action.OpenUrl not working on web browser

I'm trying to develop an adaptive card layout which can be integrated in web application.
I have developed the entire layout but the action event for opening URL(Action.OpenUrl) is not working.
Other actions such as Action.ToggleVisibility is working fine.
Here is a code pen for the same.
What I have noticed is, an alert is being triggered on the adaptive cards website/adaptive card designer for these tutorials but redirection is not working even on that website.
please let me know if I'm have to do something else to make the url open in new window.

How do I disable/hide adaptive cards/action buttons without using redux middleware?

I'm building chatbot leveraging Bot Framework Composer(C# bot). According to the specifications, we created a react-app and integrated bot into it with the help of a DirectLine token. We want to disable the card/action button from WebChat after the adaptive card is rendered, so the user cannot click on the action button again. Is there a way to disable or hide the adaptive card after a single use?
You will get the following class to all the buttons which are loaded in adaptive cards which are under li element for each message:
.ac-actionSet .ac-pushButton
You have to do some logic in javascript or react based on this class and hide previous li elements buttons except current li element.

Django lazy load images

i am working on a Django project, where we built a Bootstrap carousel of images.
My task now is to try and lazy load those images.
How would I write a view in Django and in HTML that would request the next image in the list and the render it.
The carousel does have a back and next button that could be used as an event but I am unsure how I would go about partially rendering the slideshow.
Thanks in advance.

Set Timer in adaptive card

I am trying to build a microsoft adaptive card with timer on top of the card and once timer expires automatically a action should invoked. Is this possible in adaptive card?
As of today this is not possible.
Cards are just "UI", you can not run any scripts, timers or any automatic functionality in a card without user interaction. This might change in the future but the current version can't do this.
Sorry not to have any better news.

Create App Store buttons in Bootstrap

i use bootstrap, my question is that is exist or if we can create responsive buttons in Boostrap for App's Store: Google Play, Windows Store, Blackberry Store, Apple Store ... like in my image:
You should check the marketing guidelines for the respective stores. They will provide the images to use and you should not alter/create them yourself.
App Store
Play Store
Not with just bootstrap. You'll need to write custom css for this in order to have the logos appear. http://fontawesome.io/icons/ has some of the icons.