none
Exchange EWS Request SOAP / VBS - Outlook Formular ExtendetPropertys RRS feed

  • Frage

  • I would like to send an XML request to the Exchange EWS from a VBScript.

    The properties of the self-designed Outlook forms for calendars should also be queried.
    I think these form properties are stored in extendetPropertys.
    Unfortunately I don't know what names these extendetPropertys have in the EWS.
    Can someone please help me how I can read these extendetPropertys of the Outlook forms via XML from the EWS.

    Thanks in advance

    Uwe

    Mittwoch, 4. März 2020 09:47

Alle Antworten

  • Moin Uwe,

    ich antworte mal auf Deutsch, da du im Deutschen Forum gelandet bist - was ist das Ziel?

    Habe ich leider nicht ganz verstanden... ;)


    Gruß Norbert

    Donnerstag, 5. März 2020 05:36
    Moderator
  • Hallo Norbert,

    wir haben im Outlook den "normalen" Kalendereintrag mittels Formular erweitert

    (Outlook / Entwicklertools / Formular entwerfen / Termin / Öffnen )

    Dann haben wir einige neue Felder definiert, welche dann im Termin auf einer erweiterten Seite sichtbar sind und eingegeben werden können.

    Nun möchten wir auf die kompletten Kalendereinträge z.B. eines Jahres per XML / EWS zugreifen, also diese Termine abfragen.

    Ich kann dann eine Abfrage definieren:

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <soap:Body>
        <FindItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" Traversal="Shallow">
          <ItemShape>
            <t:BaseShape>AllProperties</t:BaseShape>
            <t:AdditionalProperties>
              <t:FieldURI FieldURI="item:Subject" />
              <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33287" PropertyType="Integer" />
              <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33300" PropertyType="Integer" />
              <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33367" PropertyType="Boolean" />
              <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33299" PropertyType="Integer" />
              <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33297" PropertyType="SystemTime" />
              <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33296" PropertyType="SystemTime" />
            </t:AdditionalProperties>
          </ItemShape>
          <ParentFolderIds>
            <t:DistinguishedFolderId Id="calendar" />
          </ParentFolderIds>
        </FindItem>
      </soap:Body>
    </soap:Envelope>

    Leider gelingt es mir nicht, die im selbst erweiterten Formular definierten Eigenschaften abzufragen.

    Mit "<t:BaseShape>AllProperties</t:BaseShape>" bekommt man eben nicht alle Propertys zurück, sondern nur die gebräuchlichen, und offensichtlich schon gar nicht die selbstgebauten.

    Ich weiss nicht, wie ich die im Formular entworfenen Eigenschaften adressieren kann.

    Ich bin für einige Tips sehr dankbar.

    Gruß

    Uwe

    Montag, 9. März 2020 13:42
  • Die extendedFieldURI sind nur Beispiele, wie man das ganze prinzipiell gestalten kann.

    Die Abfragen haben nichts mit dem Formular zu tun.

    Montag, 9. März 2020 13:44