Optional$metaOptionalinstallMethod?: "first install" | "demo" | "once"Optional$overrideSet properties not directly supported by this API.
OptionalalternatePortal to redirect users to when this portal is inactive.
Only applies when inactive is true.
OptionalcatalogDefault service catalog for the portal.
References a sc_catalog record.
OptionalcatalogPage displayed as the Service Catalog home/landing page.
OptionalcatalogsOrdered list of service catalogs (sc_catalog) available in the portal.
Controls which catalogs appear in catalog browsing and ordering. active controls visibility.
OptionalcategoryPage displayed when browsing Service Catalog categories (sc_category).
Typically the catalog category listing page.
OptionalchatChat queue (chat_queue) used for Virtual Agent or live chat integration.
When set, the portal header may display a chat launcher button.
OptionalcommunicationArray of sys_ids referencing communication channel records used for Virtual Agent or ITSM chat integration in this portal.
OptionalcssJSON string defining portal-level CSS custom properties (variables). These override theme variables and apply across all pages in the portal.
OptionaldarkDark mode theme applied when the user selects dark mode. References an sp_theme record.
OptionaldefaultMakes this the default portal, used when navigating via /?id=<pageId>
without an explicit portal suffix.
OptionalembeddableArray of sys_ids referencing Next Experience macroponent records
(sys_ux_macroponent) that can be embedded within this portal.
OptionalenableEnables the AI-powered search experience (Unified Search / NLU).
Requires a configured searchApplication and searchResultsConfiguration.
OptionalenableEnables certificate-based authentication for portal access. When true, users must present a valid client certificate.
OptionalenableEnables the Quick Start / Favorites panel, allowing users to pin frequently used catalog items, knowledge articles, and pages.
OptionalenableAllows Next Experience web components (macroponents) to be embedded within Service Portal widgets and pages.
OptionalhideHides the portal title text in the header navigation bar. Useful when the logo already conveys the portal name.
OptionalhomeDefault landing page shown when a user navigates to the portal root URL.
OptionaliconBrowser favicon for the portal. Accepts a sys_id string of a user_image attachment.
OptionalinactiveDeactivates the portal, making it inaccessible to users. Users
attempting to access it are redirected to alternatePortal if set.
OptionalknowledgeDefault knowledge base for knowledge search and filtering.
References a kb_knowledge_base record.
OptionalknowledgeOrdered list of knowledge bases (kb_knowledge_base) available in the portal.
Used to scope KB search and article browsing. active controls visibility.
OptionalknowledgePage displayed as the Knowledge Management home/landing page.
OptionalloginPage shown to unauthenticated users instead of the requested page.
OptionallogoLogo image displayed in the portal header. Accepts a sys_id string of a
user_image attachment or a Now.attach() reference.
OptionallogoAccessible alt text for the logo image, used by screen readers.
OptionalmainNavigation menu rendered in the portal header. References an sp_instance_menu record.
OptionalnotPage rendered when a route cannot be matched (HTTP 404 equivalent).
OptionalprotectionControls edit/view access for other developers after the application is installed.
OptionalquickJSON string configuring the Quick Start / Favorites feature appearance. Controls favorite icon styles (e.g. checked/unchecked icon names and colors).
OptionalsearchSearch application (sys_search_application) that defines which content
sources (tables, KB, catalog) are included in portal search.
OptionalsearchUnified Search composite definition (sys_ux_composite_definition) that controls
how search results are rendered. Used when AI Search or Unified Search is enabled.
OptionalsearchOrdered list of search sources (sp_search_source) available in portal search.
Each entry's order controls its position in search result grouping.
OptionalsupportEnables right-to-left (RTL) text layout for languages such as Arabic and Hebrew. When true, the portal layout mirrors horizontally.
OptionaltaxonomiesOrdered list of taxonomy entries for portal navigation and content classification.
active controls whether the taxonomy is visible to portal users.
OptionaltextFull-text search index group (ts_index_group) used to scope portal
search to specific content. Controls what text is indexed and searched.
OptionalthemeLight mode theme applied to all pages in the portal. References an sp_theme record.
Portal display name shown in the browser tab and portal header (required)
URL path suffix used to access the portal. For example, a value of 'esc'
makes the portal accessible at /<instance>/esc. Must be lowercase, may
contain hyphens and underscores, and cannot start/end with an underscore.
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)