Office.MailboxEnums.SaveLocation enum
Gibt den Speicherort an, an dem ein Add-In Daten speichern möchte.
Hinweise
Anwendbarer Outlook-Modus: Compose, Read
Wichtig: Diese Enumeration wird nur in Outlook auf Android und iOS ab Version 4.2443.0 unterstützt. Weitere Informationen zu APIs, die in Outlook auf Mobilgeräten unterstützt werden, finden Sie unter Outlook-JavaScript-APIs, die in Outlook auf Mobilgeräten unterstützt werden.
Verwendet von
Beispiele
// Checks if the add-in can save data to SharePoint.
const isSaveToSharePointAllowed = Office.context.mailbox.getIsSaveToLocationAllowed(Office.MailboxEnums.SaveLocation.SharePoint);
if (isSaveToSharePointAllowed) {
console.log("Saving to SharePoint is allowed.");
// Do something.
} else {
console.log("Saving to SharePoint isn't allowed.");
}
Felder
| AccountDocument | Ein Standort, der einem Konto innerhalb eines Add-Ins zugeordnet ist. |
| Box | Box ein. |
| Dropbox | Dropbox. |
| GoogleDrive | Google Drive. |
| Local | Lokaler Speicher auf einem Gerät. |
| OnedriveForBusiness | OneDrive for Business. Wichtig: Verwenden Sie für OneDrive Personal "OTHER". |
| Other | Andere Cloudspeicheranbieter, einschließlich OneDrive Personal |
| PhotoLibrary | Die Fotobibliothek des Geräts. |
| SharePoint | SharePoint. Umfasst sowohl SharePoint Online als auch SharePoint lokal (wenn mit einem Microsoft Entra ID Konto zugegriffen wird). |