我目前正在使用 Microsoft PowerApps 测试一些内容。我的目标是创建一个应用程序,显示我的 Office 365 帐户的日历事件。我已应用与 Office 365 的连接,并且能够接收电子邮件。但我不知道如何获取事件,因为没有任何记录。在PowerAppStudio环境中我可以看到诸如
Office365.CalendarGetItem(...
之类的功能可用,但语法不清楚。请有人告诉我如何正确使用它。
我的经历如下;
你需要使用
Office365Outlook.CalendarGetTables()
获取日历对象。名称和
Office365Outlook.CalendarGetItems()
获取该对象的日历项目。
演示:
这为您提供了从中获取日历项目的参考 - 您现在可以使用图库来完成此操作;
默认情况下,将从今天的会议开始列出。
CalendarGetItems 有一些过滤选项,语法如下;
Office365Outlook.CalendarGetItems (string table, [advanced][Optional]string $filter, [advanced][Optional]string $orderby, [advanced][Optional]integer $skip, [advanced][Optional]integer $top)
我也使用这个很棒的参考 PowerApps 参考
您需要选择一个将读取项目的日历。
Office365.CalendarGetItems(name of your calendar).value
在“我的经验”答案中,我不得不更改“Office365”。到“Office365Outlook”。我怀疑内容错误,因为使用“Office365Outlook.CalendarGetItems”的高级选项示例。
那么
Office365.CalendarGetTables().value Office365.CalendarGetItems(YourDropDownName.Selected.Name).value
成为
Office365Outlook.CalendarGetTables().value Office365Outlook.CalendarGetItems(YourDropDownName.Selected.Name).value
我的 Power Apps 数据源是“Office365Outlook”,我自己的电子邮件帐户位于 https://outlook.office.com/mail/inbox .
这些对我有用。
Si tengo un calendario compartido como podria hacer para obtener el id de ese calendario y que me traiga es los eventos de dicho calendario?