0
私はOutlook 365用の単純なアドインで作業しますが、office.context変数は常に空のため、私はいくつかの単純な点を見逃しているようです例のベースコードサンプル:outlook 365アドイン:Office.contextは常に空です
// The initialize function is required for all apps.
Office.initialize = function() {
// Checks for the DOM to load using the jQuery ready function.
$(document).ready(function() {
// After the DOM is loaded, app-specific code can run.
var item = Office.context.mailbox.item;
var subject = item.subject;
// Continue with processing the subject of the current item,
// which can be a message or appointment.
});
}
私は何が恋しいですか?アドインのアクセス権が最も高い - ReadWriteMailbox