OptionalActionDefines the result table columns.
View: The array defines the complete set and order of columns.View: The array provides per-column overrides (matched by InternalName) for columns defined in the SP view. Only entries matching a view field are applied; extra entries are ignored.This property is always required — even when using View.
OptionalFormOptionalMaxTranslation key for the tab name (optionally prefixed with RESX.).
Used as activeTab value in custom scripts
(with the RESX. prefix stripped).
OptionalShowOptionalViewLets you reuse an existing SharePoint view so that you don't have to specify every TableColumn within Columns. You may still use the Columns property to override any column behavior.
| Scenario | Behavior |
|---|---|
| View + Columns | Merge mode. The View defines which columns are displayed and their order (from the SP view's ViewFields). For each view column, a matching entry in Columns (by InternalName) is looked up and its properties (e.g. Name, DisplayLink, Width) are applied as overrides. Columns entries that don't match any view field are ignored. |
| Columns only (no View) | Columns-only mode. The Columns array defines both the set and order of displayed columns. SP field metadata enriches rendering (field title, type) when available. |
| View only (no Columns) | Not supported. Columns is always required. |
The SP view "Všechny faktury" defines fields [DocIcon, s_invoiceNumber, s_invoiceBarcode, ...].
The Columns array provides overrides for two of them:
{
"View": { "List": "{SiteUrl}/InboundInvoices", "ViewTitle": "Všechny faktury" },
"Columns": [
{ "InternalName": "DocIcon", "DisplayLink": true, "Name": "", "Width": "16px" },
{ "InternalName": "s_invoiceBarcode", "DisplayLink": true }
]
}
Result: All view columns are displayed in the view's order. DocIcon gets a custom width and empty header; s_invoiceBarcode gets a clickable link. Other view columns (e.g. s_invoiceNumber) use their default SP field titles and no overrides.
Action buttons specific to this tab. At runtime, these are merged with global
ActionButtonsfrom ISearchWp. If a tab button has the sameIDas a global one, the tab-level definition overrides it.