Store instance options in a table Create a table to store widget instance options instead of editing the existing option schema. When using a table as your widget option schema, you can define custom fields using any ServiceNow field type, add filters to fields, and search or query instance options. Before you beginRole required: admin or sp_admin About this task To define a custom option schema, add fields to an sp_instance extension table, then set your widget to use the extension table as a data source. Using an extension table enables you to: Add any ServiceNow field type, including fields with advanced customization, to the option schema. Define complex widget options. Search and filter instance options. Note: While storing options in a table enables you to define more complex options, this method is more difficult to maintain than editing the option schema. To avoid creating unnecessary tables and adding additional server calls to your widget, edit the existing option schema when possible. Store options in a table only when complex or searchable options are required. Procedure Create a table that extends an sp_instance table to store your custom option schema. Navigate to System Definition > Tables. Click New. Define a label and name. In the Extends table field, select an sp_instance table that provides the necessary fields. Instance table Description Instance [sp_instance] Includes base instance fields. Instance with Table [sp_instance_table] Includes sp_instance fields and fields to display table data such as Table and Filter. Save the form. Define custom fields in the extension table. You can define any field type to use in your option schema by adding new columns in the Columns list. Update your widget to use the extension table as a data source. Navigate to Service Portal > Widgets. Open the widget you would like to create custom options for. In the Data table field, select your sp_instance extension table. Configure the extension table form to display the desired fields. Fields configured on the form are available as instance options. Navigate to the extension table form: <yourInstance>/<your_extenstion_table>.do. Right-click the header menu and select Configure > Form Layout. Add the fields to the form. Click Save. Configure the widget to display the desired fields as instance options. Navigate to Service Portal > Widgets. Open the widget that has the extension table set as the data source. Use the Fields slushbucket to select fields to display as instance options. Save the form. What to do nextTest the option schema by adding the widget to a page in the Service Portal Designer. Click the edit icon on the widget instance to view the instance options. After configuring the widget instance options, view the configuration by navigating to the instance record in the sp_instance extension table.