肥皂请求停止提供pidlidglobalobjectid和pidlidcleanglobalobjectid?

发布于 2025-02-03 06:22:53 字数 1633 浏览 2 评论 0原文

我开发了一个Outlook addin,该Addin依赖于globalObjectID在日历中唯一地标识事件。但是突然间,我向Exchange Server使用的肥皂请求停止了提供GlobalObjectID和CleanGlobalObjectID。

我正在使用此请求,并且效果很好,

function generateCalendarUidSoapRequest (itemId) {
  const request = '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">' +
    '  <soap:Header><t:RequestServerVersion Version="Exchange2013" /></soap:Header>' +
    '  <soap:Body>' +
    '    <m:GetItem>' +
    '      <m:ItemShape>' +
    '        <t:BaseShape>AllProperties</t:BaseShape>' +
    '      </m:ItemShape >' +
    '      <t:AdditionalProperties>' +
    '        <t:FieldURI FieldURI="calendar:UID"/>' +
    '        <t:ExtendedFieldURI DistinguishedPropertySetId="Meeting" PropertyId="3" PropertyType="Binary" />' +
    '        <t:ExtendedFieldURI DistinguishedPropertySetId="Meeting" PropertyId="35" PropertyType="Binary" />' +
    '      </t:AdditionalProperties>' +
    '      <m:ItemIds>' +
    '        <t:ItemId Id="' + itemId + '" />' +
    '      </m:ItemIds>' +
    '    </m:GetItem>' +
    '  </soap:Body>' +
    '</soap:Envelope>'

  return request
}

响应没有错误,但现在不包括任何&lt; t:globalObjectId&gt;,也没有类似的内容。也许在Exchange服务器中进行更新?我该怎么做才能获取GlobalObjectID或CleanGlobalObjectID?

I developed an Outlook addin which relies on GlobalObjectId to uniquely identify an event in the calendar. But suddenly the SOAP request I was using to the Exchange server stopped providing the GlobalObjectId and CleanGlobalObjectId.

I was using this request and it worked fine

function generateCalendarUidSoapRequest (itemId) {
  const request = '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">' +
    '  <soap:Header><t:RequestServerVersion Version="Exchange2013" /></soap:Header>' +
    '  <soap:Body>' +
    '    <m:GetItem>' +
    '      <m:ItemShape>' +
    '        <t:BaseShape>AllProperties</t:BaseShape>' +
    '      </m:ItemShape >' +
    '      <t:AdditionalProperties>' +
    '        <t:FieldURI FieldURI="calendar:UID"/>' +
    '        <t:ExtendedFieldURI DistinguishedPropertySetId="Meeting" PropertyId="3" PropertyType="Binary" />' +
    '        <t:ExtendedFieldURI DistinguishedPropertySetId="Meeting" PropertyId="35" PropertyType="Binary" />' +
    '      </t:AdditionalProperties>' +
    '      <m:ItemIds>' +
    '        <t:ItemId Id="' + itemId + '" />' +
    '      </m:ItemIds>' +
    '    </m:GetItem>' +
    '  </soap:Body>' +
    '</soap:Envelope>'

  return request
}

The response gives no error but now it does not include any <t:GlobalObjectId> nor anything similar. Perhaps an update in the Exchange server? What can I do to fetch the GlobalObjectId or the CleanGlobalObjectId?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鱼忆七猫命九 2025-02-10 06:22:53

在使用以下内容请求这两个属性时,我没有问题:

    <t:AdditionalProperties>
      <t:ExtendedFieldURI PropertyType="Binary" PropertyId="3"  PropertySetId="6ed8da90-450b-101b-98da-00aa003f1305"/>
      <t:ExtendedFieldURI PropertyType="Binary" PropertyId="35" PropertySetId="6ed8da90-450b-101b-98da-00aa003f1305"/>
    </t:AdditionalProperties>

I have no problem when requesting these two properties using the following:

    <t:AdditionalProperties>
      <t:ExtendedFieldURI PropertyType="Binary" PropertyId="3"  PropertySetId="6ed8da90-450b-101b-98da-00aa003f1305"/>
      <t:ExtendedFieldURI PropertyType="Binary" PropertyId="35" PropertySetId="6ed8da90-450b-101b-98da-00aa003f1305"/>
    </t:AdditionalProperties>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文