Update README.md

This commit is contained in:
Harsha Vardhini 2020-05-11 23:09:20 +05:30
parent c1705c4266
commit 3134570daf
4 changed files with 16915 additions and 2 deletions

View File

@ -4,6 +4,7 @@
This Add-in helps the user to save current selected email to SharePoint document Library. This Add-in helps the user to save current selected email to SharePoint document Library.
## Applies to ## Applies to
* [SharePoint Framework](https:/dev.office.com/sharepoint) * [SharePoint Framework](https:/dev.office.com/sharepoint)
@ -37,3 +38,14 @@ Version|Date|Comments
* Deploy the save-email-to-sharepoint.sppkg to SharePoint App Catalog * Deploy the save-email-to-sharepoint.sppkg to SharePoint App Catalog
* For deployment in your tenant, Please refer this article - https://docs.microsoft.com/en-us/microsoft-365/admin/manage/manage-deployment-of-add-ins?view=o365-worldwide * For deployment in your tenant, Please refer this article - https://docs.microsoft.com/en-us/microsoft-365/admin/manage/manage-deployment-of-add-ins?view=o365-worldwide
## Personally deploy in your outlook web app
* In Outlook web, select an email and select more options
* Select 'More actions' at the top of the message.
* Go to the bottom of the list and select. Get Add-ins.
* On the Add-ins for Outlook page, select the My add-ins.
* Scroll to the bottom to Custom Add-ins
* Select Custom Add-ins from the a file. Upload the manifest file 'e6083c02-3280-4430-a877-22cbc6251d21_outlookManifest.xml' from the OfficeAddin folder.
* Click install in the warning window.
* Now you can use the Add-in for your outlook web login.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

File diff suppressed because it is too large Load Diff

View File

@ -25,8 +25,8 @@ export default class Services {
}); });
} }
public getEmailContent(context: WebPartContext, id: string): Promise<any> { public getEmailContent(context: WebPartContext, id: string): Promise<any> {
return context.msGraphClientFactory.getClient().then((client: MSGraphClient): void => { return context.msGraphClientFactory.getClient().then((client: MSGraphClient): Promise< void> => {
client.api('/me/messages/' + id + '/$value').version('v1.0').responseType('blob').get().then((response: any) => { return client.api('/me/messages/' + id + '/$value').version('v1.0').responseType('blob').get().then((response: any) => {
return response; return response;
}); });
}); });