{"id":509,"date":"2025-02-22T14:09:32","date_gmt":"2025-02-22T14:09:32","guid":{"rendered":"https:\/\/kb.ctse.nl\/?page_id=509"},"modified":"2025-08-29T14:19:48","modified_gmt":"2025-08-29T14:19:48","slug":"custom-inputs","status":"publish","type":"page","link":"https:\/\/kb.ctse.nl\/?page_id=509","title":{"rendered":"Custom Inputs"},"content":{"rendered":"\n<p>On the document action template you can define Custom Inputs, so the user can\/must fill in extra info for using in the document flow.<\/p>\n\n\n\n<p><strong>Note: <\/strong>This feature is only supported for templates of types \u201cFlow Mailmerge\u2026\u201d and not supported for other templates types (yet).<\/p>\n\n\n\n<p>Custom Inputs can be defined with the following definition in JSON.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a><a><\/a><a><\/a><a>Fields<\/a><\/h2>\n\n\n\n<p>Each field contains an unique id (required), a type (required), a label (optional), helpText (optional), an indicator if a value is required (optional) or if a field is disabled (optional) and a default value (optional). Depending on the field type other properties may be required.<\/p>\n\n\n\n<p>Available types of fields: text, number, date, boolean, options, lookup, hidden and break.<\/p>\n\n\n\n<p>Property \u201clabel\u201d and \u201chelpText\u201d can be a single string or an object with the supported lcid\u2019s as property.<\/p>\n\n\n\n<p>These properties are required: &#8220;id&#8221; and &#8220;type&#8221;. Property &#8220;label&#8221; is recommended.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"fields\": &#91;\n   {\n\n&nbsp; &nbsp;&nbsp;\"id\": \"field1\",\n\n&nbsp; &nbsp;&nbsp;\"type\": \"text\",\n\n&nbsp;&nbsp;&nbsp; \"minLength\":10,\n\n&nbsp; &nbsp;&nbsp;\"maxLength\":100,\n\n&nbsp; &nbsp;&nbsp;\"required\": true,\n\n&nbsp; &nbsp;&nbsp;\"disabled\": false,\n\n&nbsp; &nbsp;&nbsp;\"label\": { \"1033\": \"Field 1\", \"1043\": \"Veld 1\" },\n\n&nbsp; &nbsp;&nbsp;\"helpText\": { \"1033\": \"More info...\", \"1043\": \"Meer informatie...\" },\n\n&nbsp;&nbsp;&nbsp; \"errorMessage\": { \"1033\": \"Required\", \"1043\": \"Verplicht\" },\n\n&nbsp; &nbsp;&nbsp;\"value\": \"test\"\n\n&nbsp; }\n ]\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">&nbsp;<a>Text Field<\/a><\/h3>\n\n\n\n<p>Single line text<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;lastname&#8221;, &nbsp; &#8220;type&#8221;: &#8220;text&#8221;, &nbsp; &#8220;maxLength&#8221;:100, &nbsp;&nbsp;&#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Last name&#8221;, &#8220;1043&#8221;: &#8220;Achternaam&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Multiline text<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;description&#8221;, &nbsp; &#8220;type&#8221;: &#8220;text&#8221;, &nbsp; &#8220;multiline&#8221;: true, &nbsp; &#8220;rows&#8221;: 5, &nbsp; &#8220;maxLength&#8221;:500, &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Description&#8221;, &#8220;1043&#8221;: &#8220;Omschrijving&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">&nbsp;<a>Number Field<\/a><\/h3>\n\n\n\n<p>Whole number<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;age&#8221;, &nbsp; &#8220;type&#8221;: &#8220;number&#8221;, &nbsp; &#8220;numType&#8221;: 0, &nbsp; &#8220;min&#8221;: 0, &nbsp; &#8220;max&#8221;: 150,&nbsp; &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Age&#8221;, &#8220;1043&#8221;: &#8220;Leeftijd&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Use optional property &#8220;format&#8221;: &#8220;slider&#8221; to show the number field as a slider.<\/p>\n\n\n\n<p>Decimal number<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;amount&#8221;, &nbsp; &#8220;type&#8221;: &#8220;number&#8221;, &nbsp; &#8220;numType&#8221;: 1, &nbsp; &#8220;precision&#8221;: 2, &nbsp; &#8220;min&#8221;: -9999999, &nbsp; &#8220;max&#8221;: 9999999,&nbsp; &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Amount&#8221;, &#8220;1043&#8221;: &#8220;Bedrag&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a><\/a><a>Date Field<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;birthdate&#8221;, &nbsp; &#8220;type&#8221;: &#8220;date&#8221;, &nbsp; &#8220;firstWeekDay&#8221;: 1, &nbsp;&#8220;allowTextInput&#8221;: true, &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Birthdate&#8221;, &#8220;1043&#8221;: &#8220;Geboortedatum&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a><\/a><a>Lookup Field<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;accountid&#8221;, &nbsp; &#8220;type&#8221;: &#8220;lookup&#8221;, &nbsp; &#8220;entityType&#8221;: &#8220;account&#8221;, &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Account&#8221;, &#8220;1043&#8221;: &#8220;Organisatie&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>You can also set the optional property \u201cfilters\u201d if needed:<\/p>\n\n\n\n<p>&nbsp; &#8220;filters&#8221;: &#8220;&lt;filter type=&#8217;and&#8217;&gt;&lt;condition attribute=&#8217;statecode&#8217; operator=&#8217;eq&#8217; value=&#8217;0&#8242; \/&gt;&lt;\/filter&gt;&#8221;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a><\/a><a>Options Field<\/a><\/h3>\n\n\n\n<p>Custom options<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;myoptions&#8221;, &nbsp; &#8220;type&#8221;: &#8220;options&#8221;, &nbsp; &#8220;options&#8221;: [ &nbsp;&nbsp;&nbsp; { &#8220;value&#8221;: 1, &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Option 1&#8221;, &#8220;1043&#8221;: &#8220;Optie 1&#8221; } }, &nbsp;&nbsp;&nbsp; { &#8220;value&#8221;: 2, &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Option 2&#8221;, &#8220;1043&#8221;: &#8220;Optie 2&#8221; } }, &nbsp; ], &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Make a choice&#8221;, &#8220;1043&#8221;: &#8220;Maak uw keuze&#8221;} }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Property \u201clabel\u201d of an option can be a single string or an object with the supported lcid\u2019s as property.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;myoptions&#8221;, &nbsp; &#8220;type&#8221;: &#8220;options&#8221;, &nbsp; &#8220;options&#8221;: [ &nbsp;&nbsp;&nbsp; { &#8220;value&#8221;: 1, &#8220;label&#8221;: &#8220;Option 1&#8221; }, &nbsp;&nbsp;&nbsp; { &#8220;value&#8221;: 2, &#8220;label&#8221;: &#8220;Option 2&#8221; }, &nbsp; ], &nbsp; &#8220;label&#8221;: &#8220;Make a choice&#8221;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Global optionset<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>&nbsp; &#8220;id&#8221;: &#8220;language&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;type&#8221;: &#8220;options&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;options&#8221;: { &#8220;optionsetName&#8221;: &#8220;new_languagecode&#8221; },<\/p>\n\n\n\n<p>&nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Language&#8221;, &#8220;1043&#8221;: &#8220;Taal&#8221; }<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>Entity field optionset<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;gender&#8221;, &nbsp; &#8220;type&#8221;: &#8220;options&#8221;, &nbsp; &#8220;options&#8221;: { &#8220;optionsetName&#8221;: &#8220;gendercode&#8221;, &#8220;entityType&#8221;: &#8220;contact&#8221; }, &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Gender&#8221;, &#8220;1043&#8221;: &#8220;Geslacht&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Statuscode optionset<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;status&#8221;, &nbsp; &#8220;type&#8221;: &#8220;options&#8221;, &nbsp; &#8220;options&#8221;: { &nbsp;&nbsp;&nbsp; &#8220;optionsetName&#8221;: &#8220;statuscode&#8221;, &#8220;entityType&#8221;: &#8220;contact&#8221;, &#8220;stateCode&#8221;: 1 &nbsp; }, &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Deactivate reason&#8221;, &#8220;1043&#8221;: &#8220;Reden van deactiveren&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>An option field will display as a dropdown by default. Optional property \u201cformat\u201d with value \u201cradio\u201d will display the field as a radiobuttons.<\/p>\n\n\n\n<p>For multiple select use<\/p>\n\n\n\n<p>&nbsp; &#8220;multiSelect&#8221;: true,<\/p>\n\n\n\n<p>The value for this field will be a comma separated string with the selected value(s).<\/p>\n\n\n\n<p>Default the field will be displayed as dropdown, to display as checkboxes use \u201cformat\u201d: \u201ccheckbox\u201d.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a><\/a><a>Boolean Field<\/a><a><\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;question&#8221;, &nbsp; &#8220;type&#8221;: &#8220;boolean&#8221;, &nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Question&#8221;, &#8220;1043&#8221;: &#8220;Vraag&#8221; } }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>This shows the field as a checkbox, to show the Boolean field as a toggle, use this:<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>&nbsp; &#8220;id&#8221;: &#8220;question&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;type&#8221;: &#8220;boolean&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;format&#8221;: &#8220;toggle&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;trueLabel&#8221;: { &#8220;1033&#8221;: &#8220;Yes&#8221;, &#8220;1043&#8221;: &#8220;Ja&#8221; },<\/p>\n\n\n\n<p>&nbsp; &#8220;falseLabel&#8221;: { &#8220;1033&#8221;: &#8220;No&#8221;, &#8220;1043&#8221;: &#8220;Nee&#8221; },<\/p>\n\n\n\n<p>&nbsp; &#8220;label&#8221;: { &#8220;1033&#8221;: &#8220;Question&#8221;, &#8220;1043&#8221;: &#8220;Vraag&#8221; }<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>Property \u201ctrueLabel\u201d and \u201cfalseLabel\u201d can be a single string or an object with the supported lcid\u2019s as property.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Paragraph Field<\/a><\/h3>\n\n\n\n<p>A paragraph field holds textblock as readonly.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;mysecret&#8221;, &nbsp; &#8220;type&#8221;: &#8220;paragraph&#8221;, &nbsp; &#8220;value&#8221;: &#8220;some text&#8221; }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a><\/a><a>Hidden Field<\/a><\/h3>\n\n\n\n<p>A hidden field holds data without displaying it.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>{ &nbsp; &#8220;id&#8221;: &#8220;mysecret&#8221;, &nbsp; &#8220;type&#8221;: &#8220;hidden&#8221;, &nbsp; &#8220;value&#8221;: &#8220;test&#8221; }<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Break Field<\/a><\/h3>\n\n\n\n<p>{<\/p>\n\n\n\n<p>&nbsp; &#8220;id&#8221;: &#8220;mybreak&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;type&#8221;: &#8220;break&#8221;,<\/p>\n\n\n\n<p>&nbsp; &#8220;lines&#8221;: 2<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a>Prefill Field Value<\/a><\/h3>\n\n\n\n<p>Text Field:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;test&#8221;<\/p>\n\n\n\n<p>Number Field value as whole number:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: 1<\/p>\n\n\n\n<p>Number Field value as decimal<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: 2.95<\/p>\n\n\n\n<p>Options Field single select:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: 1<\/p>\n\n\n\n<p>Or:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;item1&#8221;<\/p>\n\n\n\n<p>Options Field multi select:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;1,2,3&#8221;<\/p>\n\n\n\n<p>Or:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;item1,item2,item3&#8221;<\/p>\n\n\n\n<p>Note that the value must match with the value(s) of the options<\/p>\n\n\n\n<p>Boolean Field<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: true<\/p>\n\n\n\n<p>Lookup Field (value must be an array!):<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: [{ &#8220;id&#8221;: &#8221; c75d505c-71c6-45f8-8b17-e8004d2275d3&#8243;, &#8220;entityType&#8221;: &#8220;account&#8221;, &#8220;name&#8221;: &#8220;Contoso&#8221; }]<\/p>\n\n\n\n<p>Or to prefill the lookup with the recordid (from the form where you started the dialog):<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;${selectedEntityId}&#8221;<\/p>\n\n\n\n<p>Hidden Field:<\/p>\n\n\n\n<p>A value of an hidden field can hold any type of data (text, number, lookup, date).<\/p>\n\n\n\n<p>Date Field:<\/p>\n\n\n\n<p>To prefill the value with today\u2019s date, set property \u201cvalue\u201d to &#8220;${today}&#8221;:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;${today}&#8221;<\/p>\n\n\n\n<p>To prefill the value with today\u2019s date and time, set property \u201cvalue\u201d to &#8220;${now}&#8221;:<\/p>\n\n\n\n<p>&nbsp; &#8220;value&#8221;: &#8220;${now}&#8221;<\/p>\n\n\n\n<p>To prefill fields with more complexity, use scripting at the onPageLoaded event (see paragraph \u201cScript Page Load\u201d).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a><a><\/a><a>Interfaces Definition<\/a><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a>IField<\/a><\/h3>\n\n\n\n<p>All fields have properties id and type. Except the Break Field all fields also have property value. Except Hidden Field all fields have property visible.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>id<\/td><td>Required, string<\/td><\/tr><tr><td>type<\/td><td>Required, string, possible values: \u201ctext\u201d, \u201cnumber\u201d, \u201cdate\u201d, \u201cboolean\u201d, \u201coptions\u201d, \u201clookup\u201d, \u201cparagraph\u201d, \u201chidden\u201d or \u201cbreak\u201d<\/td><\/tr><tr><td>label<\/td><td>Optional, String or ILabel<\/td><\/tr><tr><td>helpText<\/td><td>Optional, String or ILabel<\/td><\/tr><tr><td>required<\/td><td>Optional, boolean (not applicable for hidden and paragraph fields)<\/td><\/tr><tr><td>disabled<\/td><td>Optional, boolean (not applicable for hidden and paragraph fields)<\/td><\/tr><tr><td>visible<\/td><td>Optional, boolean (not applicable for hidden fields)<\/td><\/tr><tr><td>value<\/td><td>Optional<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Text Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>minLength<\/td><td>Optional, number of minimum allowed characters<\/td><\/tr><tr><td>maxLength<\/td><td>Optional, number of maximum allowed characters<\/td><\/tr><tr><td>multiline<\/td><td>Optional, boolean<\/td><\/tr><tr><td>rows<\/td><td>Optional, whole number, only applicable if multiline is true<\/td><\/tr><tr><td>regEx<\/td><td>Optional, regular expression for validating the value<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Number Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>numType<\/td><td>Required, 0 = whole number, 1 = decimal<\/td><\/tr><tr><td>precision<\/td><td>Required if numType is decimal<\/td><\/tr><tr><td>min<\/td><td>Optional, minimum numeric value<\/td><\/tr><tr><td>max<\/td><td>Optional, maximum numeric value<\/td><\/tr><tr><td>format<\/td><td>Optional, string, possible values: \u201cslider\u201d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Date Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>firstWeekDay<\/td><td>Optional, number (0 = Sunday, 1 = Monday, 2 = Tuesday, etc.), if not set then default is 1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Boolean Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>format<\/td><td>Optional, string, possible values: \u201ccheckbox\u201d (default) or \u201ctoggle\u201d<\/td><\/tr><tr><td>trueLabel<\/td><td>Optional, string, only applicable if format is \u201ctoggle\u201d<\/td><\/tr><tr><td>falseLabel<\/td><td>Optional, string, only applicable if format is \u201ctoggle\u201d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Options Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>options<\/td><td>Required, array of IOptionValue or IOptionSet<\/td><\/tr><tr><td>multiSelect<\/td><td>Optional, boolean (default false)<\/td><\/tr><tr><td>format<\/td><td>Optional, string, possible values: \u201cdropdown\u201d (default), \u201cradio\u201d (only when multiSelect = false), \u201ccheckbox\u201d (only when multiSelect = true). &nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Lookup Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>entityType<\/td><td>Required, string, logical name of the entity<\/td><\/tr><tr><td>multiSelect<\/td><td>Optional, boolean (default is false)<\/td><\/tr><tr><td>viewId<\/td><td>Optional, string, id of the view<\/td><\/tr><tr><td>filters<\/td><td>Optional, string, for example: &lt;filter type=&#8217;and&#8217;&gt;&lt;condition attribute=&#8217;statecode&#8217; operator=&#8217;eq&#8217; value=&#8217;0&#8242; \/&gt;&lt;\/filter&gt;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Break Field<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>lines<\/td><td>Optional, number<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>IOptionValue<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>value<\/td><td>Required, number or string<\/td><\/tr><tr><td>label<\/td><td>Required, string or ILabel<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a><a><\/a><a>IOptionSet<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Properties<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>optionSetName<\/td><td>Name of the optionSet<\/td><\/tr><tr><td>entityType<\/td><td>Only applicable (and required) if the optionsetName does not refer to a global optionset<\/td><\/tr><tr><td>stateCode<\/td><td>Only applicable (and required) if optionSetName is \u201cstatuscode\u201d (to show only the statuscodes of this statecode)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a>&nbsp;ILabel<\/a><\/h3>\n\n\n\n<p>Object with one or more lcid\u2019s which hold the label text.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the document action template you can define Custom Inputs, so the user can\/must fill in extra info for using in the document flow. Note: This feature is only supported for templates of types \u201cFlow Mailmerge\u2026\u201d and not supported for other templates types (yet). Custom Inputs can be defined with the following definition in JSON. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":113,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-509","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=509"}],"version-history":[{"count":11,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/509\/revisions"}],"predecessor-version":[{"id":577,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/509\/revisions\/577"}],"up":[{"embeddable":true,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/113"}],"wp:attachment":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}