Share via


MultipleResponseInteraction Complex Type

Defines an interaction used to let the user select more than one choice from a list of choices.

<xs:complexType name="MultipleResponseInteraction">
    <xs:sequence>
        <xs:element name="AllowDynamicResponses"
            type="xs:boolean"
            minOccurs="1"
            maxOccurs="1"
         />
        <xs:element name="Choices"
            type="dcmPS:Choices"
            minOccurs="1"
            maxOccurs="1"
         />
        <xs:element name="ID"
            type="dcmPS:ID"
            minOccurs="1"
            maxOccurs="1"
         />
        <xs:element name="DisplayInformation"
            type="dcmPS:DisplayInformation"
            minOccurs="1"
            maxOccurs="1"
         />
        <xs:element name="ContextParameters"
            type="dcmPS:Parameters"
            minOccurs="1"
            maxOccurs="1"
         />
        <xs:element name="ExtensionPoint"
            type="dcmPS:ExtensionPoint"
            minOccurs="1"
            maxOccurs="1"
         />
    </xs:sequence>
</xs:complexType>

Child elements

Element Type Description
AllowDynamicResponses xs:boolean Set to true if the script can add choices at run time; otherwise, false if the list is static. The dynamic choices are shown before the static choices in the list. Note that if you specify true, the interaction cannot be included in an answer file.
Choices [dcmPS:Choices](package-choices-complextype.md) The static list of choices.
ContextParameters [dcmPS:Parameters](package-parameters-complextype.md) Some extension points can contain substitution strings (for example, %param%). Each substitution string in the extension point is replaced with the value of the same named parameter specified in this list.
DisplayInformation [dcmPS:DisplayInformation](package-displayinformation-complextype.md) The name and description of this interaction that is used in the UI. The name is used as the prompt for the list.
ExtensionPoint [dcmPS:ExtensionPoint](package-extensionpoint-complextype.md) An extension point that extends the functionality of this interaction. Each extension is a child element of ExtensionPoint. The extension points are MSDT specific and are not supported by the command-line client using the [Invoke-TroubleshootingPack](invoke-troubleshootingpack-cmdlet.md) cmdlet. You can specify one or more of the following extensions (but only one of each).
Extension Description
Link Creates a link to the specified URL. The link is placed at the bottom of the interaction window. You must use this extension point in conjunction with the LinkText extension point.
The URL can contain substitution strings (for example, %param%) that are specified in the ContextParameters element.
The URL must begin with http, https, or mshelp.
LinkText The text to use for a link. The contents of the LinkText element is the resource identifier of the localized string. You must use this extension point in conjunction with the Link extension point.
The link text can contain substitution strings (for example, %param%) that are specified in the ContextParameters element.
NoCache By default, the answer to an interaction is cached. When running in MSDT, if the interaction is called more than one time, the interaction is shown the first time and the cached answer is used thereafter (without displaying the interaction). Use this extension point to force the interaction to display on subsequent requests and to not get the answer from the cache.
This extension is ignored if you run the pack from a command-line and provide an answer file that provides an answer for the interaction.
This extension's usage is NoCache/.
NoUI Suppresses the interaction. Gets the responses to the interaction from the answer file rather than from the user. For details on using an answer file, see the [Get-TroubleshootingPack](get-troubleshootingpack-cmdlet.md) and [Invoke-TroubleshootingPack](invoke-troubleshootingpack-cmdlet.md) cmdlets. This extension's usage is NoUI/.
RTFDescription A rich text format string that replaces the Description element of [DisplayInformation](package-displayinformation-complextype.md). If the client does not support rich text, the description string is used.
The RTF string can contain substitution strings (for example, %param%) that are specified in the ContextParameters element.
The RTFDescription element can contain an RTF string or a localized resource string (for example, "@diag.dll,-123" or "@diag.dll,RESOURCE.RTF")

ID [dcmPS:ID](package-id-simpletype.md)

An identifier that identifies this interaction.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

MultipleResponseInteraction (MultipleResponseInteractions) Element

MultipleResponseInteractions Complex Type

SingleResponseInteraction Complex Type