Tool zum Erstellen von APEX-Outlook-AddIns
https://learn.microsoft.com/en-us/office/dev/add-ins/develop/xml-manifest-overview?tabs=tabid-1
https://learn.microsoft.com/de-de/javascript/api/outlook/office.mailbox?view=outlook-js-preview
Nur Add-In-Manifestreferenz für Office-Add-Ins - Office Add-ins | Microsoft Learn
- no authentication App, public-Page oder Office365 Authentication (zur Not)
- App-Definition > Security: Embed in Frames Allow
- App-Definition > User Interface oder Page : JavaScript / File URLs : https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
Function and Global Variable Declaration
Office.onReady((info)=>{
console.log('Info:')
console.log(info);
console.log('Office Context:')
console.log(Office.context);
apex.item('P1_USER').setValue(Office.context.mailbox.userProfile.emailAddress);
apex.item('P1_SENDER').setValue(Office.context.mailbox.item.from.emailAddress);
Office.context.mailbox.item.body.getAsync(Office.CoercionType.Html,(result)=>{
apex.item('P1_BODY').setValue(result.value);
});
});
Installieren: https://aka.ms/olksideload