在 Outlook 365 中使用日历事件的自定义属性 [英] Use of Custom Properties from calendar events in Outlook 365

查看:81
本文介绍了在 Outlook 365 中使用日历事件的自定义属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 JavaScript Office 创建了一个 Outlook 插件,以将自定义属性存储到日历事件中.我使用以下调用来检索数据:event.loadCustomPropertiesAsync(回调)在加载项中一切正常.

I created an Outlook Add-In using JavaScript Office to store custom properties into a calendar event. I used the following call to retrieve data: event.loadCustomPropertiesAsync(callback) Everything works fine in the Add-In.

我想构建一个通用应用程序并能够检索相同的数据.但是我找不到任何与当前 API 或 Graph 相关的方法.正在开发中吗?有人可以指出我解决问题的正确方向吗?我们如何获得 Graph Beta 版?

I want to build a Universal App and be able to retrieve the same data. But I can't find anything to do it with the current API or Graph. Is it being developed ? Can someone point me in the right direction to solve my problem? How can we get the Graph Beta version?

谢谢

推荐答案

Microsoft Graph API 目前支持使用以下请求获取/设置数据扩展:

The Microsoft Graph API support to get/set the data extension at present using the request below:

创建数据扩展:

POST /me/events/<id>/extensions

@odata.type": "Microsoft.Graph.OpenTypeExtension",
"extensionName": "Com.Contoso.Referral",
"companyName": "Wingtip Toys",
"expirationDate": "2015-12-30T11:00:00.000Z",
"dealValue": 10000

获取数据扩展:

GET /me/events/<Id>/extensions/<extensionId>
GET /users/<Id|userPrincipalName>/events/<Id>/extensions/<extensionId>

但是,它无法获取从 Office 加载项设置的自定义属性.如果您需要此功能,可以在此处提交反馈.

However it is not able to get the custom property which set from the Office add-in. If you require this feature, you can submit the feedback here.

这篇关于在 Outlook 365 中使用日历事件的自定义属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆