Skip to main content

Field

Properties

NameTypeDescriptionNotes
NameStringName of the FormItem[optional]
DisplayNameStringDisplay name of the field[optional]
DisplayTypeStringType of the field to display[optional]
RequiredBooleanTrue if the field is required[optional]
AllowedValuesList[[]SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0List of allowed values for the field[optional]
Value[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0Value of the field[optional]

Examples

  • Prepare the resource
$Field = Initialize-PSSailpoint.BetaField  -Name Field1 `
-DisplayName Field 1 `
-DisplayType checkbox `
-Required null `
-AllowedValuesList [{Val1Display=null, Val1Value=null}, {Val2Display=null, Val2Value=null}] `
-Value null
  • Convert the resource to JSON
$Field | ConvertTo-JSON

[Back to top]