uap:LaunchAction (in AppointmentsProviderLaunchActions)

Describes an uap:AppointmentsProviderLaunchActions content action.

Element hierarchy

<Package>
<Applications>
<Application>
<Extensions>
<uap:Extension>
<uap:AppointmentsProvider>
<uap:AppointmentsProviderLaunchActions>
<uap:LaunchAction>

Syntax

<LaunchAction Verb           = "addAppointment" | "removeAppointment" | "replaceAppointment" | "showTimeFrame" | "showAppointmentDetails"
                  DesiredView?   = "default" | "useLess" | "useHalf" | "useMore" | "useMinimum"
                  Executable?    = A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used.  If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used.
                  EntryPoint?    = A string between 1 and 256 characters in length, representing the  task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type.
If EntryPoint is not specified, the EntryPoint defined for the app is used instead.

                  RuntimeType?   = A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.
                  StartPage?     = A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.
                  ResourceGroup? = An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. />

Key

? optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
DesiredView

The desired amount of screen space to use when the appointment launches.

This attribute can have one of the following values:

  • default
  • useLess
  • useHalf
  • useMore
  • useMinimum
No
EntryPoint

The activatable class ID.

A string between 1 and 256 characters in length, representing the task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead. No
Executable

The default launch executable.

A string between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used. If specified, the EntryPoint property is also used. If that EntryPoint property isn't specified, the EntryPoint defined for the app is used. No
ResourceGroup

A tag that you can use to group extension activations together for resource management purposes (for example, CPU and memory). The value you can set ResourceGroup is free-form and flexible. See Application@ResourceGroup and Remarks.

An alphanumeric string between 1 and 255 characters in length. Must begin with an alphabetic character. No
RuntimeType

The runtime provider. This attribute is used typically when there are mixed frameworks in an app.

A string between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, , |, ?, or *. No
StartPage

The web page that handles the extensibility point.

A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. No
Verb

A unique identifier that is passed to the app when it is launched. The app can use this string to determine which uap:AppointmentsProviderLaunchActions handler triggered its launch. It is unique per application in the package and is case sensitive.

This attribute can have one of the following values:

  • addAppointment
  • removeAppointment
  • replaceAppointment
  • showTimeFrame
  • showAppointmentDetails
Yes

Child Elements

None.

Parent Elements

Parent Element Description
uap:AppointmentsProviderLaunchActions

Declares actions to take when a appointment is launched.

The following elements have the same name as this one, but different content or attributes:

Remarks

For more info about launch actions that an appointments provider takes, see AppointmentsProviderLaunchActionVerbs.

LaunchAction (in AppointmentsProviderLaunchActions) has these semantic validations:

  • Extension base attributes must follow these rules:

    • If the StartPage attribute is specified, fail if the EntryPoint, Executable, or RuntimeType attribute is specified.
    • Otherwise, fail if the Executable or RuntimeType attribute is specified without an EntryPoint specified.
  • If LaunchAction (in AppointmentsProviderLaunchActions) defines the EntryPoint attribute, either this LaunchAction (in AppointmentsProviderLaunchActions) or the parent uap:Extension or Application element must specify an Executable attribute.

Requirements

Namespace

http://schemas.microsoft.com/appx/manifest/uap/windows10