@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/core
sp_instance
Variable sp_instance
Const
sp_instance
:
{
display
:
"title"
;
extends
:
"sys_metadata"
;
name
:
"sp_instance"
;
schema
:
{
active
:
Typed
<
boolean
,
{
default
:
true
;
label
:
"Active"
}
>
;
class_name
:
Typed
<
string
,
{
label
:
"Bootstrap class name"
}
>
;
color
:
Typed
<
"default"
|
"primary"
|
"warning"
|
"danger"
|
"success"
|
"info"
,
{
choices
:
{
danger
:
{
label
:
"Danger"
}
;
default
:
{
label
:
"Default"
}
;
info
:
{
label
:
"Info"
}
;
primary
:
{
label
:
"Primary"
}
;
success
:
{
label
:
"Success"
}
;
warning
:
{
label
:
"Warning"
}
;
}
;
default
:
"default"
;
label
:
"Bootstrap color"
;
}
,
>
;
css
:
Typed
<
string
,
{
label
:
"CSS"
}
>
;
glyph
:
Typed
<
string
,
{
label
:
"Glyph"
}
>
;
id
:
Typed
<
string
,
{}
>
;
order
:
Typed
<
number
,
{
default
:
1
;
label
:
"Order"
}
>
;
roles
:
Typed
<
(
string
|
Role
)
[]
,
{
label
:
"Roles"
}
>
;
short_description
:
Typed
<
string
,
{
label
:
"Short description"
}
>
;
size
:
Typed
<
"md"
|
"sm"
|
"lg"
|
"xs"
,
{
choices
:
{
lg
:
{
label
:
"Large"
}
;
md
:
{
label
:
"Medium"
}
;
sm
:
{
label
:
"Small"
}
;
xs
:
{
label
:
"Extra Small"
}
;
}
;
default
:
"md"
;
label
:
"Bootstrap size"
;
}
,
>
;
sp_column
:
Typed
<
|
string
|
Record
<
"sp_column"
>
|
ExplicitKey
<
"sp_column"
>
|
TableBrand
<
"sp_column"
>
,
{
label
:
"Column"
;
referenceTable
:
"sp_column"
}
,
>
;
sp_widget
:
Typed
<
|
string
|
Record
<
"sp_widget"
>
|
ExplicitKey
<
"sp_widget"
>
|
TableBrand
<
"sp_widget"
>
,
{
label
:
"Widget"
;
referenceTable
:
"sp_widget"
}
,
>
;
title
:
Typed
<
string
,
{
label
:
"Title"
}
>
;
url
:
Typed
<
string
,
{
label
:
"HREF / URL"
}
>
;
widget_parameters
:
Typed
<
string
|
ScriptModule
<
Function
>
,
{
label
:
"Additional options, JSON format"
}
,
>
;
}
;
}
= ...
Type Declaration
Readonly
display
:
"title"
Readonly
extends
:
"sys_metadata"
Readonly
name
:
"sp_instance"
Readonly
schema
:
{
active
:
Typed
<
boolean
,
{
default
:
true
;
label
:
"Active"
}
>
;
class_name
:
Typed
<
string
,
{
label
:
"Bootstrap class name"
}
>
;
color
:
Typed
<
"default"
|
"primary"
|
"warning"
|
"danger"
|
"success"
|
"info"
,
{
choices
:
{
danger
:
{
label
:
"Danger"
}
;
default
:
{
label
:
"Default"
}
;
info
:
{
label
:
"Info"
}
;
primary
:
{
label
:
"Primary"
}
;
success
:
{
label
:
"Success"
}
;
warning
:
{
label
:
"Warning"
}
;
}
;
default
:
"default"
;
label
:
"Bootstrap color"
;
}
,
>
;
css
:
Typed
<
string
,
{
label
:
"CSS"
}
>
;
glyph
:
Typed
<
string
,
{
label
:
"Glyph"
}
>
;
id
:
Typed
<
string
,
{}
>
;
order
:
Typed
<
number
,
{
default
:
1
;
label
:
"Order"
}
>
;
roles
:
Typed
<
(
string
|
Role
)
[]
,
{
label
:
"Roles"
}
>
;
short_description
:
Typed
<
string
,
{
label
:
"Short description"
}
>
;
size
:
Typed
<
"md"
|
"sm"
|
"lg"
|
"xs"
,
{
choices
:
{
lg
:
{
label
:
"Large"
}
;
md
:
{
label
:
"Medium"
}
;
sm
:
{
label
:
"Small"
}
;
xs
:
{
label
:
"Extra Small"
}
;
}
;
default
:
"md"
;
label
:
"Bootstrap size"
;
}
,
>
;
sp_column
:
Typed
<
|
string
|
Record
<
"sp_column"
>
|
ExplicitKey
<
"sp_column"
>
|
TableBrand
<
"sp_column"
>
,
{
label
:
"Column"
;
referenceTable
:
"sp_column"
}
,
>
;
sp_widget
:
Typed
<
|
string
|
Record
<
"sp_widget"
>
|
ExplicitKey
<
"sp_widget"
>
|
TableBrand
<
"sp_widget"
>
,
{
label
:
"Widget"
;
referenceTable
:
"sp_widget"
}
,
>
;
title
:
Typed
<
string
,
{
label
:
"Title"
}
>
;
url
:
Typed
<
string
,
{
label
:
"HREF / URL"
}
>
;
widget_parameters
:
Typed
<
string
|
ScriptModule
<
Function
>
,
{
label
:
"Additional options, JSON format"
}
,
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@servicenow/sdk - v4.4.1
Loading...