Updated readme with yaml

This commit is contained in:
Hugo Bernier 2020-06-28 00:25:33 -04:00
parent d123500b32
commit 084e745567
1 changed files with 25 additions and 3 deletions

View File

@ -1,6 +1,22 @@
## Image Gallery Web Part Built with Adaptive Cards
---
page_type: sample
products:
- office-sp
languages:
- javascript
- typescript
extensions:
contentType: samples
technologies:
- SharePoint Framework
platforms:
- React
createdDate: 11/28/2018 12:00:00 AM
---
# Image Gallery Web Part Built with Adaptive Cards
## Summary
### Summary
This sample demonstrates the capability of using [Adaptive Cards](https://adaptivecards.io/) with SharePoint Framework. Adaptive cards are great fit for Bot, however they can be effectively used with SPFx to render the content. This web part helps to display the image gallery from SharePoint list.
![Web part preview][figure1]
@ -10,8 +26,10 @@ The sample also provisions the list called "Adaptive Card Images" which can be u
![SharePoint Run][figure2]
### SharePoint Asset
A SharePoint list (named "Adaptive Card Images") is provisioned to store the image information. The schema of the list is as below.
![List Schema][figure3]
- The "Image Link" column stores the url of image to be displayed in adaptive card.
- The "Navigation URL" column represents the url to navigate by clicking on image in adaptive card.
- The "Sort Order" column represents the order in which images to be displayed in adaptive card.
@ -20,12 +38,14 @@ The solution also provisions sample data to the "Adaptive Card Images" list.
![List Sample Data][figure4]
### NPM Packages Used
Below NPM packages are used to develop this sample.
1. sp-pnp-js (https://www.npmjs.com/package/sp-pnp-js)
2. adaptivecards (https://www.npmjs.com/package/adaptivecards)
## Used SharePoint Framework Version
![drop](https://img.shields.io/badge/drop-1.10-green.svg)
![1.10.0](https://img.shields.io/badge/drop-1.10-green.svg)
## Applies to
@ -47,6 +67,7 @@ Version|Date|Comments
1.0.0|November 28, 2018|Initial release
## Disclaimer
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
---
@ -65,6 +86,7 @@ Version|Date|Comments
- Search and add web part "Adaptive Cards Image Gallery"
## Features
This sample web part shows how adaptive cards can be used effectively with SharePoint Framework to render an image gallery with data stored in a SharePoint list.
- Integrating adaptive cards
- Rendering image gallery