desktop6:DataItem

Specifies a string value for a trigger event of a service.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <desktop6:Extension>

                        <desktop6:Service>

                             <desktop6:TriggerEvents>

                                  <desktop6:TriggerCustom>

                                       <desktop6:StringData>

                                            <desktop6:DataItem>

Syntax

<desktop6:DataItem
  Value = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Value The value of the string. A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. Yes

Child elements

None.

Parent elements

Parent element Description
StringData Specifies one or more string data values for a trigger event of a service.

Remarks

This element requires the packagedServices or localSystemServices restricted capability.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/6
Minimum OS Version Windows 10 version 1903 (Build 18362)