See root sample README
Get your own free development tenant by subscribing to Microsoft 365 developer program
None
Solution | Author(s) |
---|---|
folder name | Author details (name, company, twitter alias with link) |
Version | Date | Comments |
---|---|---|
1.0 | January 29, 2021 | Initial release |
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.
For details on deploying the default package supplied with this sample, please see the root sample README
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
- npm install
- gulp serve
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
- Getting started with SharePoint Framework
- Building for Microsoft teams
- Use Microsoft Graph in your solution
- Publish SharePoint Framework applications to the Marketplace
- Microsoft 365 Patterns and Practices - Guidance, tooling, samples and open-source controls for your Microsoft 365 development