@servicenow/sdk - v4.7.0
Preparing search index...
@servicenow/sdk/core
sp_rectangle_menu_item
Variable sp_rectangle_menu_item
Const
sp_rectangle_menu_item
:
{
allowWebServiceAccess
:
true
;
audit
:
true
;
display
:
"label"
;
extends
:
"sys_metadata"
;
label
:
"Menu Item"
;
name
:
"sp_rectangle_menu_item"
;
schema
:
{
active
:
Typed
<
boolean
,
{
default
:
true
;
label
:
"Active"
}
>
;
color
:
Typed
<
"default"
|
"primary"
|
"warning"
|
"danger"
|
"success"
|
"info"
,
{
choices
:
{
danger
:
{
label
:
"Danger"
;
sequence
:
6
}
;
default
:
{
label
:
"Default"
;
sequence
:
1
}
;
info
:
{
label
:
"Info"
;
sequence
:
4
}
;
primary
:
{
label
:
"Primary"
;
sequence
:
2
}
;
success
:
{
label
:
"Success"
;
sequence
:
3
}
;
warning
:
{
label
:
"Warning"
;
sequence
:
5
}
;
}
;
columnType
:
"bootstrap_color"
;
default
:
"default"
;
dropdown
:
"dropdown_with_none"
;
label
:
"Bootstrap color"
;
}
,
>
;
condition
:
Typed
<
string
|
number
,
{
columnType
:
"condition_string"
;
label
:
[
{
hint
:
"Evalauted on the server"
;
label
:
"Condition"
;
language
:
"en"
;
plural
:
"Conditions"
;
}
,
]
;
maxLength
:
254
;
}
,
>
;
display_1
:
Typed
<
string
,
{
attributes
:
{
allow_null
:
true
;
allow_references
:
true
}
;
dependent
:
"table"
;
label
:
"Display 1"
;
}
,
>
;
display_2
:
Typed
<
string
,
{
attributes
:
{
allow_null
:
true
;
allow_references
:
true
}
;
dependent
:
"table"
;
label
:
"Display 2"
;
}
,
>
;
display_date
:
Typed
<
string
,
{
attributes
:
{
types
:
"glide_date;glide_date_time"
}
;
dependent
:
"table"
;
label
:
"Display date"
;
}
,
>
;
filter
:
Typed
<
string
,
{
attributes
:
{
allow_order
:
true
}
;
dependent
:
"table"
;
label
:
"Filter"
;
maxLength
:
4000
;
}
,
>
;
glyph
:
Typed
<
string
|
number
,
{
attributes
:
{
iconset
:
"fontawesome"
}
;
columnType
:
"glyphicon"
;
label
:
"Glyph"
;
}
,
>
;
hint
:
Typed
<
string
,
{
attributes
:
{
serializer
:
"com.glide.script.TranslatedTextXMLSerializer"
;
}
;
label
:
"Hint"
;
maxLength
:
255
;
}
,
>
;
kb_article
:
Typed
<
|
string
|
Record
<
"kb_knowledge"
>
|
ExplicitKey
<
"kb_knowledge"
>
|
TableBrand
<
"kb_knowledge"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"KB article"
;
referenceTable
:
"kb_knowledge"
;
}
,
>
;
kb_category
:
Typed
<
|
string
|
Record
<
"kb_category"
>
|
ExplicitKey
<
"kb_category"
>
|
TableBrand
<
"kb_category"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"KB category"
;
referenceTable
:
"kb_category"
;
}
,
>
;
kb_topic
:
Typed
<
string
,
{
dropdown
:
"dropdown_with_none"
;
dynamicValueDefinitions
:
{
field
:
"topic"
;
table
:
"kb_knowledge"
;
type
:
"choices_from_other_table"
;
}
;
label
:
"KB topic"
;
}
,
>
;
label
:
Typed
<
string
,
{
attributes
:
{
serializer
:
"com.glide.script.TranslatedTextXMLSerializer"
;
}
;
label
:
"Label"
;
maxLength
:
255
;
}
,
>
;
order
:
Typed
<
number
,
{
default
:
"100"
;
label
:
"Order"
}
>
;
record_script
:
Typed
<
string
|
number
,
{
columnType
:
"script_server"
;
label
:
"Server Script"
;
maxLength
:
65000
}
,
>
;
sc_cat_item
:
Typed
<
|
string
|
Record
<
"sc_cat_item"
>
|
ExplicitKey
<
"sc_cat_item"
>
|
TableBrand
<
"sc_cat_item"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Catalog item"
;
referenceTable
:
"sc_cat_item"
;
}
,
>
;
sc_category
:
Typed
<
|
string
|
Record
<
"sc_category"
>
|
ExplicitKey
<
"sc_category"
>
|
TableBrand
<
"sc_category"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Catalog category"
;
referenceTable
:
"sc_category"
;
}
,
>
;
short_description
:
Typed
<
string
,
{
label
:
"Short description"
;
maxLength
:
100
}
,
>
;
sp_page
:
Typed
<
|
string
|
Record
<
"sp_page"
>
|
ExplicitKey
<
"sp_page"
>
|
TableBrand
<
"sp_page"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Page"
;
referenceTable
:
"sp_page"
;
}
,
>
;
sp_rectangle_menu
:
Typed
<
|
string
|
Record
<
"sp_instance_menu"
>
|
ExplicitKey
<
"sp_instance_menu"
>
|
TableBrand
<
"sp_instance_menu"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Parent Menu"
;
referenceTable
:
"sp_instance_menu"
;
}
,
>
;
sp_rectangle_menu_item
:
Typed
<
|
string
|
Record
<
"sp_rectangle_menu_item"
>
|
ExplicitKey
<
"sp_rectangle_menu_item"
>
|
TableBrand
<
"sp_rectangle_menu_item"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Parent Menu Item"
;
referenceTable
:
"sp_rectangle_menu_item"
;
}
,
>
;
sys_id
:
Typed
<
string
,
{
label
:
"Sys ID"
;
primary
:
true
}
>
;
table
:
Typed
<
keyof
Tables
,
{
attributes
:
{
allow_public
:
true
;
base_start
:
true
}
;
label
:
"Table"
}
,
>
;
type
:
Typed
<
|
"url"
|
"sc_cat_item"
|
"sc_category"
|
"kb_category"
|
"page"
|
"kb"
|
"sc"
|
"kb_article"
|
"kb_topic"
|
"scripted"
|
"filtered"
,
{
choices
:
{
filtered
:
{
label
:
"Filtered List"
;
sequence
:
9
}
;
kb
:
{
label
:
"Knowledge Base"
;
sequence
:
5
}
;
kb_article
:
{
label
:
"KB Article"
;
sequence
:
7
}
;
kb_category
:
{
label
:
"KB Category"
;
sequence
:
8
}
;
kb_topic
:
{
label
:
"KB Topic"
;
sequence
:
6
}
;
page
:
{
label
:
"Page"
;
sequence
:
0
}
;
sc
:
{
label
:
"Service Catalog"
;
sequence
:
2
}
;
sc_cat_item
:
{
label
:
"Catalog Item"
;
sequence
:
4
}
;
sc_category
:
{
label
:
"Catalog Category"
;
sequence
:
3
}
;
scripted
:
{
label
:
"Scripted List"
;
sequence
:
10
}
;
url
:
{
label
:
"URL"
;
sequence
:
1
}
;
}
;
default
:
"page"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Type"
;
}
,
>
;
url
:
Typed
<
string
,
{
label
:
"HREF / URL"
;
maxLength
:
255
}
>
;
url_target
:
Typed
<
string
,
{
label
:
"URL target"
}
>
;
}
;
}
= ...
Type Declaration
Readonly
allowWebServiceAccess
:
true
Readonly
audit
:
true
Readonly
display
:
"label"
Readonly
extends
:
"sys_metadata"
Readonly
label
:
"Menu Item"
Readonly
name
:
"sp_rectangle_menu_item"
Readonly
schema
:
{
active
:
Typed
<
boolean
,
{
default
:
true
;
label
:
"Active"
}
>
;
color
:
Typed
<
"default"
|
"primary"
|
"warning"
|
"danger"
|
"success"
|
"info"
,
{
choices
:
{
danger
:
{
label
:
"Danger"
;
sequence
:
6
}
;
default
:
{
label
:
"Default"
;
sequence
:
1
}
;
info
:
{
label
:
"Info"
;
sequence
:
4
}
;
primary
:
{
label
:
"Primary"
;
sequence
:
2
}
;
success
:
{
label
:
"Success"
;
sequence
:
3
}
;
warning
:
{
label
:
"Warning"
;
sequence
:
5
}
;
}
;
columnType
:
"bootstrap_color"
;
default
:
"default"
;
dropdown
:
"dropdown_with_none"
;
label
:
"Bootstrap color"
;
}
,
>
;
condition
:
Typed
<
string
|
number
,
{
columnType
:
"condition_string"
;
label
:
[
{
hint
:
"Evalauted on the server"
;
label
:
"Condition"
;
language
:
"en"
;
plural
:
"Conditions"
;
}
,
]
;
maxLength
:
254
;
}
,
>
;
display_1
:
Typed
<
string
,
{
attributes
:
{
allow_null
:
true
;
allow_references
:
true
}
;
dependent
:
"table"
;
label
:
"Display 1"
;
}
,
>
;
display_2
:
Typed
<
string
,
{
attributes
:
{
allow_null
:
true
;
allow_references
:
true
}
;
dependent
:
"table"
;
label
:
"Display 2"
;
}
,
>
;
display_date
:
Typed
<
string
,
{
attributes
:
{
types
:
"glide_date;glide_date_time"
}
;
dependent
:
"table"
;
label
:
"Display date"
;
}
,
>
;
filter
:
Typed
<
string
,
{
attributes
:
{
allow_order
:
true
}
;
dependent
:
"table"
;
label
:
"Filter"
;
maxLength
:
4000
;
}
,
>
;
glyph
:
Typed
<
string
|
number
,
{
attributes
:
{
iconset
:
"fontawesome"
}
;
columnType
:
"glyphicon"
;
label
:
"Glyph"
;
}
,
>
;
hint
:
Typed
<
string
,
{
attributes
:
{
serializer
:
"com.glide.script.TranslatedTextXMLSerializer"
;
}
;
label
:
"Hint"
;
maxLength
:
255
;
}
,
>
;
kb_article
:
Typed
<
|
string
|
Record
<
"kb_knowledge"
>
|
ExplicitKey
<
"kb_knowledge"
>
|
TableBrand
<
"kb_knowledge"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"KB article"
;
referenceTable
:
"kb_knowledge"
;
}
,
>
;
kb_category
:
Typed
<
|
string
|
Record
<
"kb_category"
>
|
ExplicitKey
<
"kb_category"
>
|
TableBrand
<
"kb_category"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"KB category"
;
referenceTable
:
"kb_category"
;
}
,
>
;
kb_topic
:
Typed
<
string
,
{
dropdown
:
"dropdown_with_none"
;
dynamicValueDefinitions
:
{
field
:
"topic"
;
table
:
"kb_knowledge"
;
type
:
"choices_from_other_table"
;
}
;
label
:
"KB topic"
;
}
,
>
;
label
:
Typed
<
string
,
{
attributes
:
{
serializer
:
"com.glide.script.TranslatedTextXMLSerializer"
;
}
;
label
:
"Label"
;
maxLength
:
255
;
}
,
>
;
order
:
Typed
<
number
,
{
default
:
"100"
;
label
:
"Order"
}
>
;
record_script
:
Typed
<
string
|
number
,
{
columnType
:
"script_server"
;
label
:
"Server Script"
;
maxLength
:
65000
}
,
>
;
sc_cat_item
:
Typed
<
|
string
|
Record
<
"sc_cat_item"
>
|
ExplicitKey
<
"sc_cat_item"
>
|
TableBrand
<
"sc_cat_item"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Catalog item"
;
referenceTable
:
"sc_cat_item"
;
}
,
>
;
sc_category
:
Typed
<
|
string
|
Record
<
"sc_category"
>
|
ExplicitKey
<
"sc_category"
>
|
TableBrand
<
"sc_category"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Catalog category"
;
referenceTable
:
"sc_category"
;
}
,
>
;
short_description
:
Typed
<
string
,
{
label
:
"Short description"
;
maxLength
:
100
}
,
>
;
sp_page
:
Typed
<
|
string
|
Record
<
"sp_page"
>
|
ExplicitKey
<
"sp_page"
>
|
TableBrand
<
"sp_page"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Page"
;
referenceTable
:
"sp_page"
;
}
,
>
;
sp_rectangle_menu
:
Typed
<
|
string
|
Record
<
"sp_instance_menu"
>
|
ExplicitKey
<
"sp_instance_menu"
>
|
TableBrand
<
"sp_instance_menu"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Parent Menu"
;
referenceTable
:
"sp_instance_menu"
;
}
,
>
;
sp_rectangle_menu_item
:
Typed
<
|
string
|
Record
<
"sp_rectangle_menu_item"
>
|
ExplicitKey
<
"sp_rectangle_menu_item"
>
|
TableBrand
<
"sp_rectangle_menu_item"
>
,
{
attributes
:
{
encode_utf8
:
false
}
;
label
:
"Parent Menu Item"
;
referenceTable
:
"sp_rectangle_menu_item"
;
}
,
>
;
sys_id
:
Typed
<
string
,
{
label
:
"Sys ID"
;
primary
:
true
}
>
;
table
:
Typed
<
keyof
Tables
,
{
attributes
:
{
allow_public
:
true
;
base_start
:
true
}
;
label
:
"Table"
}
,
>
;
type
:
Typed
<
|
"url"
|
"sc_cat_item"
|
"sc_category"
|
"kb_category"
|
"page"
|
"kb"
|
"sc"
|
"kb_article"
|
"kb_topic"
|
"scripted"
|
"filtered"
,
{
choices
:
{
filtered
:
{
label
:
"Filtered List"
;
sequence
:
9
}
;
kb
:
{
label
:
"Knowledge Base"
;
sequence
:
5
}
;
kb_article
:
{
label
:
"KB Article"
;
sequence
:
7
}
;
kb_category
:
{
label
:
"KB Category"
;
sequence
:
8
}
;
kb_topic
:
{
label
:
"KB Topic"
;
sequence
:
6
}
;
page
:
{
label
:
"Page"
;
sequence
:
0
}
;
sc
:
{
label
:
"Service Catalog"
;
sequence
:
2
}
;
sc_cat_item
:
{
label
:
"Catalog Item"
;
sequence
:
4
}
;
sc_category
:
{
label
:
"Catalog Category"
;
sequence
:
3
}
;
scripted
:
{
label
:
"Scripted List"
;
sequence
:
10
}
;
url
:
{
label
:
"URL"
;
sequence
:
1
}
;
}
;
default
:
"page"
;
dropdown
:
"dropdown_without_none"
;
label
:
"Type"
;
}
,
>
;
url
:
Typed
<
string
,
{
label
:
"HREF / URL"
;
maxLength
:
255
}
>
;
url_target
:
Typed
<
string
,
{
label
:
"URL target"
}
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@servicenow/sdk - v4.7.0
Loading...