Skip to content

Latest commit

 

History

History
80 lines (50 loc) · 3.06 KB

File metadata and controls

80 lines (50 loc) · 3.06 KB

covid-spfx

Summary

See root sample README

Used SharePoint Framework Version

version

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

None

Solution

Solution Author(s)
folder name Author details (name, company, twitter alias with link)

Version history

Version Date Comments
1.0 January 29, 2021 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.


Minimal Path to Awesome

Deploy Default Build

For details on deploying the default package supplied with this sample, please see the root sample README

Custom Build

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve

Change Site Collection For Microsoft Teams Personal App

To change the location where the Microsoft Teams Personal App looks for the lists that contain the data for the Covid-19 Attestation App you can modify the manifest.json file in the teams folder to point to that site collection and then replace the updated manifest in the TeamsSPFxApp.zip file.

Under the staticTabs element, change the contentUrl element to include the relative site collection url in the dest property, in the example below replace MyCovidSite with your site collection.

"contentUrl": "https://{teamSiteDomain}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/sites/MyCovidSite/_layouts/15/teamshostedapp.aspx%3Fteams%26personal%26componentId=3ab8fb75-8f80-4ff1-90a3-6f711ad27c1d%26forceLocale={locale}",
    

Once you do that you can then repackage and deploy the resulting sppkg solution to your tenant app catalog. In the command-line run the following commands and then follow the Steps for deployment in the root README.

gulp clean
gulp bundle --ship
gulp package-solution --ship

References