Optional$metaOptionalinstallMethod?: "first install" | "demo" | "once"Optional$overrideSet properties not directly supported by this API.
OptionalactiveWhether this instance is rendered on the page.
Set to false to hide the instance without deleting it.
OptionaladvancedEnables fine-grained control over placeholder width and height via
placeholderDimensions. Only relevant when asyncLoad is true.
OptionalasyncDefers rendering of this widget until the async trigger condition is met.
Use with asyncLoadTrigger to control when loading begins.
OptionalasyncComma-separated list of device types for which async loading is applied.
OptionalasyncControls when async loading is triggered:
'viewport' — loads the widget when it is scrolled into the visible viewport.'parallel' — loads the widget immediately in parallel with other page content.OptionalcolorBootstrap contextual color applied to the instance header band.
Valid values: 'default', 'primary', 'success', 'info', 'warning', 'danger'.
OptionalcolumnReference to the sp_column record this instance belongs to (used internally).
OptionalcssCSS scoped to this widget instance, applied in addition to the widget's own CSS.
OptionalcssAdditional CSS class name added to the instance wrapper element.
OptionalglyphFontAwesome icon class (without the fa- prefix) shown alongside the instance title.
OptionalidUnique string identifier for the instance record (sp_instance.id).
OptionalitemsThe menu items for the instance (maps to sp_rectangle_menu_item)
OptionalorderSort order within the column. Lower values appear higher/earlier.
OptionalplaceholderServer-side script that returns placeholder dimension config dynamically. Evaluated on page load before the widget is asynchronously loaded.
OptionalplaceholderJSON object specifying explicit width/height for the async placeholder.
Only used when advancedPlaceholderDimensions is true.
OptionalplaceholderAngularJS HTML template rendered as the placeholder while async content loads.
OptionalpreserveMaintains the placeholder element's height while async content is loading,
preventing layout shift (CLS). Only relevant when asyncLoad is true.
OptionalprotectionControls edit/view access for other developers after the application is installed.
OptionalrolesRestricts visibility of this instance to users with at least one of the specified roles. If empty, the instance is visible to all users who can access the page.
OptionalshortBrief admin-facing description of the instance's purpose. Not displayed to end users.
OptionalsizeVisual size of the instance card in the portal designer.
Valid values: 'sm', 'md', 'lg', 'xl'.
OptionaltitleHeading text displayed above the widget instance in the portal UI.
OptionalurlURL override applied to the instance link/title.
OptionalwidgetThe widget (sp_widget) to render at this position on the page.
OptionalwidgetJSON key-value pairs passed to the widget's server and client scripts
as options. Keys correspond to the widget's optionSchema property names.
Map a record to an output folder that loads only in specific circumstances. 'first install' -> 'unload' (only loaded when plugin is first registered), 'demo' -> 'unload.demo' (only loaded when demo data is loaded), 'once' -> 'apply_once' (scripts that are only applied once)