[office-js-preview] (Outlook) Signature interaction with LaunchEvent (#46795)

* [office-js-preview] (Outlook) Signature interaction with LaunchEvent

* Updates based on feedback

* Updates based on feedback
This commit is contained in:
Elizabeth Samuel 2020-08-18 11:28:36 -07:00 committed by GitHub
parent 5012cda281
commit 992e59fb7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11623,9 +11623,9 @@ declare namespace Office {
* append-on-send runs before on-send functionality.
*
* **Important**: If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
* an error is returned as this scenario is not supported.
* the `appendOnSendAsync` call returns an error as this scenario is not supported.
*
* **Important**: To use `appendOnSendAsync`, the `AppendOnSend` extended permission must be included in the `ExtendedPermissions` node of the manifest.
* **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
*
* **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
*
@ -11661,9 +11661,9 @@ declare namespace Office {
* append-on-send runs before on-send functionality.
*
* **Important**: If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
* an error is returned as this scenario is not supported.
* the `appendOnSendAsync` call returns an error as this scenario is not supported.
*
* **Important**: To use `appendOnSendAsync`, the `AppendOnSend` extended permission must be included in the `ExtendedPermissions` node of the manifest.
* **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
*
* **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
*
@ -11950,6 +11950,13 @@ declare namespace Office {
*
* **Important**: In Outlook on the web, `setSignatureAsync` only works on messages.
*
* **Important**: If your add-in implements the
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest},
* and calls `setSignatureAsync` in the event handler, the following behavior applies.
*
* - When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
* if the user closes the form without making other edits, they won't be prompted to save changes.
*
* [Api set: Mailbox Preview]
*
* @remarks
@ -11980,6 +11987,13 @@ declare namespace Office {
*
* **Important**: In Outlook on the web, `setSignatureAsync` only works on messages.
*
* **Important**: If your add-in implements the
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest},
* and calls `setSignatureAsync` in the event handler, the following behavior applies.
*
* - When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
* if the user closes the form without making other edits, they won't be prompted to save changes.
*
* [Api set: Mailbox Preview]
*
* @remarks