Table of Contents

type attribute

Specifies the parameter type.

Content Type

Item Facet value Description
string restriction
  Enumeration string string

Parent

ScriptParameter

Example

<Parameters>
   <ScriptParameter id="1" type="string" values="TicketStates">
      <Description>State to apply</Description>
   </ScriptParameter>
</Parameters>

Remarks

  • Do not use a CLR type name in this attribute. If the script expects a parameter that is not declared, or if the referenced values file is unavailable, the script can receive an empty or unusable value.

  • The type attribute describes the value presented to the automation script for the parameter. The current schema facet lists string as the supported value. At runtime, the ScriptParam value is supplied as a string. Use the values attribute on the same ScriptParameter when the parameter gets its selectable values from a memory file. Keep the parameter ID and description aligned with the code that reads it.

Authoritative references

Advanced search syntax