Skip to content

Commit 624e5a8

Browse files
author
github-actions
committed
Merge branch 'main' into live
2 parents d8bf687 + 8a02e73 commit 624e5a8

File tree

69 files changed

+3144
-1360
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3144
-1360
lines changed

docs/docs-ref-autogen/outlook/outlook/office.appointmentcompose.yml

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2245,16 +2245,7 @@ methods:
22452245
uid: 'outlook!Office.AppointmentCompose#getAttachmentContentAsync:member(1)'
22462246
package: outlook!
22472247
fullName: 'getAttachmentContentAsync(attachmentId, options, callback)'
2248-
summary: >-
2249-
Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
2250-
2251-
2252-
The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best
2253-
practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same session,
2254-
use that identifier to retrieve the attachment. In Outlook on the web, on mobile devices, and in [new Outlook on
2255-
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->, the attachment
2256-
identifier is valid only within the same session. A session is over when the user closes the app, or if the user
2257-
starts composing an inline form then subsequently pops out the form to continue in a separate window.
2248+
summary: Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
22582249
remarks: >-
22592250
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
22602251
@@ -2269,6 +2260,24 @@ methods:
22692260
-->**: Appointment Organizer
22702261
22712262
2263+
**Important**:
2264+
2265+
2266+
- The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a
2267+
best practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same
2268+
session, use that identifier to retrieve the attachment.
2269+
2270+
2271+
- In Outlook on the web and the [new Outlook on
2272+
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->,
2273+
`getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
2274+
2275+
2276+
- In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid
2277+
only within the same session. A session is over when the user closes the app, or if the user starts composing an
2278+
inline form then subsequently pops out the form to continue in a separate window.
2279+
2280+
22722281
**Errors**:
22732282
22742283
@@ -2346,16 +2355,7 @@ methods:
23462355
uid: 'outlook!Office.AppointmentCompose#getAttachmentContentAsync:member(2)'
23472356
package: outlook!
23482357
fullName: 'getAttachmentContentAsync(attachmentId, callback)'
2349-
summary: >-
2350-
Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
2351-
2352-
2353-
The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best
2354-
practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same session,
2355-
use that identifier to retrieve the attachment. In Outlook on the web, on mobile devices, and in [new Outlook on
2356-
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->, the attachment
2357-
identifier is valid only within the same session. A session is over when the user closes the app, or if the user
2358-
starts composing an inline form then subsequently pops out the form to continue in a separate window.
2358+
summary: Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
23592359
remarks: >-
23602360
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
23612361
@@ -2370,6 +2370,24 @@ methods:
23702370
-->**: Appointment Organizer
23712371
23722372
2373+
**Important**:
2374+
2375+
2376+
- The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a
2377+
best practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same
2378+
session, use that identifier to retrieve the attachment.
2379+
2380+
2381+
- In Outlook on the web and the [new Outlook on
2382+
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->,
2383+
`getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
2384+
2385+
2386+
- In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid
2387+
only within the same session. A session is over when the user closes the app, or if the user starts composing an
2388+
inline form then subsequently pops out the form to continue in a separate window.
2389+
2390+
23732391
**Errors**:
23742392
23752393
@@ -2419,6 +2437,11 @@ methods:
24192437
-->**: Appointment Organizer
24202438
24212439
2440+
**Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and
2441+
share** option to upload an attachment to OneDrive and include a link to the file in the mail item. However,
2442+
since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
2443+
2444+
24222445
#### Examples
24232446
24242447
@@ -2512,6 +2535,11 @@ methods:
25122535
**[Applicable Outlook
25132536
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
25142537
-->**: Appointment Organizer
2538+
2539+
2540+
**Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and
2541+
share** option to upload an attachment to OneDrive and include a link to the file in the mail item. However,
2542+
since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
25152543
isPreview: false
25162544
isDeprecated: false
25172545
syntax:

docs/docs-ref-autogen/outlook/outlook/office.appointmentread.yml

Lines changed: 48 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,17 @@ properties:
4141
-->**: Appointment Attendee
4242
4343
44-
**Note**: Certain types of files are blocked by Outlook due to potential security issues and are therefore not
45-
returned. For more information, see [Blocked attachments in
44+
**Important**:
45+
46+
47+
- Certain types of files are blocked by Outlook due to potential security issues and are therefore not returned.
48+
For more information, see [Blocked attachments in
4649
Outlook](https://support.microsoft.com/office/434752e1-02d3-4e90-9124-8b81e49a8519)<!-- -->.
4750
4851
52+
- Attachments added using the **Upload and share** option aren't returned.
53+
54+
4955
#### Examples
5056
5157
@@ -1909,17 +1915,7 @@ methods:
19091915
uid: 'outlook!Office.AppointmentRead#getAttachmentContentAsync:member(1)'
19101916
package: outlook!
19111917
fullName: 'getAttachmentContentAsync(attachmentId, options, callback)'
1912-
summary: >-
1913-
Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
1914-
1915-
1916-
The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best
1917-
practice, you should get the attachment's identifier from an
1918-
[item.attachments](xref:outlook!Office.AppointmentRead%23attachments:member) call, then in the same session, use
1919-
that identifier to retrieve the attachment. In Outlook on the web, on mobile devices, and in [new Outlook on
1920-
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->, the attachment
1921-
identifier is valid only within the same session. A session is over when the user closes the app, or if the user
1922-
starts composing an inline form then subsequently pops out the form to continue in a separate window.
1918+
summary: Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
19231919
remarks: >-
19241920
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
19251921
@@ -1934,6 +1930,25 @@ methods:
19341930
-->**: Appointment Attendee
19351931
19361932
1933+
**Important**:
1934+
1935+
1936+
- The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a
1937+
best practice, you should get the attachment's identifier from an
1938+
[item.attachments](xref:outlook!Office.MessageRead%23attachments:member) call, then in the same session, use that
1939+
identifier to retrieve the attachment.
1940+
1941+
1942+
- In Outlook on the web and the [new Outlook on
1943+
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->,
1944+
`getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
1945+
1946+
1947+
- In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid
1948+
only within the same session. A session is over when the user closes the app, or if the user starts composing an
1949+
inline form then subsequently pops out the form to continue in a separate window.
1950+
1951+
19371952
**Errors**:
19381953
19391954
@@ -2002,17 +2017,7 @@ methods:
20022017
uid: 'outlook!Office.AppointmentRead#getAttachmentContentAsync:member(2)'
20032018
package: outlook!
20042019
fullName: 'getAttachmentContentAsync(attachmentId, callback)'
2005-
summary: >-
2006-
Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
2007-
2008-
2009-
The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best
2010-
practice, you should get the attachment's identifier from an
2011-
[item.attachments](xref:outlook!Office.AppointmentRead%23attachments:member) call, then in the same session, use
2012-
that identifier to retrieve the attachment. In Outlook on the web, on mobile devices, and in [new Outlook on
2013-
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->, the attachment
2014-
identifier is valid only within the same session. A session is over when the user closes the app, or if the user
2015-
starts composing an inline form then subsequently pops out the form to continue in a separate window.
2020+
summary: Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
20162021
remarks: >-
20172022
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
20182023
@@ -2027,6 +2032,25 @@ methods:
20272032
-->**: Appointment Attendee
20282033
20292034
2035+
**Important**:
2036+
2037+
2038+
- The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a
2039+
best practice, you should get the attachment's identifier from an
2040+
[item.attachments](xref:outlook!Office.MessageRead%23attachments:member) call, then in the same session, use that
2041+
identifier to retrieve the attachment.
2042+
2043+
2044+
- In Outlook on the web and the [new Outlook on
2045+
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->,
2046+
`getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
2047+
2048+
2049+
- In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid
2050+
only within the same session. A session is over when the user closes the app, or if the user starts composing an
2051+
inline form then subsequently pops out the form to continue in a separate window.
2052+
2053+
20302054
**Errors**:
20312055
20322056

docs/docs-ref-autogen/outlook/outlook/office.loadedmessagecompose.yml

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -520,16 +520,7 @@ methods:
520520
uid: 'outlook!Office.LoadedMessageCompose#getAttachmentContentAsync:member(1)'
521521
package: outlook!
522522
fullName: 'getAttachmentContentAsync(attachmentId, options, callback)'
523-
summary: >-
524-
Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
525-
526-
527-
The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best
528-
practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same session,
529-
use that identifier to retrieve the attachment. In Outlook on the web and [new Outlook on
530-
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->, the attachment
531-
identifier is valid only within the same session. A session is over when the user closes the app, or if the user
532-
starts composing an inline form then subsequently pops out the form to continue in a separate window.
523+
summary: Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
533524
remarks: >-
534525
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
535526
@@ -544,6 +535,24 @@ methods:
544535
-->**: Message Compose
545536
546537
538+
**Important**:
539+
540+
541+
- The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a
542+
best practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same
543+
session, use that identifier to retrieve the attachment.
544+
545+
546+
- In Outlook on the web and the [new Outlook on
547+
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->,
548+
`getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
549+
550+
551+
- In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid
552+
only within the same session. A session is over when the user closes the app, or if the user starts composing an
553+
inline form then subsequently pops out the form to continue in a separate window.
554+
555+
547556
**Errors**:
548557
549558
@@ -583,16 +592,7 @@ methods:
583592
uid: 'outlook!Office.LoadedMessageCompose#getAttachmentContentAsync:member(2)'
584593
package: outlook!
585594
fullName: 'getAttachmentContentAsync(attachmentId, callback)'
586-
summary: >-
587-
Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
588-
589-
590-
The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a best
591-
practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same session,
592-
use that identifier to retrieve the attachment. In Outlook on the web and [new Outlook on
593-
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->, the attachment
594-
identifier is valid only within the same session. A session is over when the user closes the app, or if the user
595-
starts composing an inline form then subsequently pops out the form to continue in a separate window.
595+
summary: Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object.
596596
remarks: >-
597597
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
598598
@@ -607,6 +607,24 @@ methods:
607607
-->**: Message Compose
608608
609609
610+
**Important**:
611+
612+
613+
- The `getAttachmentContentAsync` method gets the attachment with the specified identifier from the item. As a
614+
best practice, you should get the attachment's identifier from a `getAttachmentsAsync` call, then in the same
615+
session, use that identifier to retrieve the attachment.
616+
617+
618+
- In Outlook on the web and the [new Outlook on
619+
Windows](https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627)<!-- -->,
620+
`getAttachmentContentAsync` doesn't support attachments that were added using the **Upload and share** option.
621+
622+
623+
- In Outlook on the web, on mobile devices, and in the new Outlook on Windows, the attachment identifier is valid
624+
only within the same session. A session is over when the user closes the app, or if the user starts composing an
625+
inline form then subsequently pops out the form to continue in a separate window.
626+
627+
610628
**Errors**:
611629
612630
@@ -654,6 +672,11 @@ methods:
654672
**[Applicable Outlook
655673
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
656674
-->**: Message Compose
675+
676+
677+
**Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and
678+
share** option to upload an attachment to OneDrive and include a link to the file in the mail item. However,
679+
since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
657680
isPreview: true
658681
isDeprecated: false
659682
syntax:
@@ -694,6 +717,11 @@ methods:
694717
**[Applicable Outlook
695718
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
696719
-->**: Message Compose
720+
721+
722+
**Important**: In Outlook on the web and the new Outlook on Windows, users can select the **Upload and
723+
share** option to upload an attachment to OneDrive and include a link to the file in the mail item. However,
724+
since only a link is included, `getAttachmentsAsync` doesn't return this attachment.
697725
isPreview: true
698726
isDeprecated: false
699727
syntax:

0 commit comments

Comments
 (0)