Service catalog variable attributes

Some Service Catalog variables support specific attributes.

In the catalog variable form, attributes are entered in the Variable attributes field. You can enter multiple attributes for a variable type by separating each with a comma.

Note: If you do not see the Variable attributes field, then enable the Show attributes when Type is One of Certain Values UI policy.
Variable attributes field
Service catalog variable attributes
glide_list
Applicable variables: List collector

Description: Changes the list collector interface from slushbucket to glide list.

Collapsed glide_list
Service catalog variable attributes
Expanded glide_list
Service catalog variable attributes
is_searchable_choice
Applicable variables: Lookup select box, Select box

Description: If set to true, allows you to search and select the required value for the variable. For example, is_searchable_choice=true

Note: For Lookup select box, a default value is available at the page load itself.
is_searchable_choice
Service catalog variable attributes
max_length
Applicable variables: Single-line text, Wide single-line text

Description: Sets the maximum character length. For example, if max_length=200, the maximum value for max_length is 4000.

max_unit
Applicable variables: Duration

Description: Sets the maximum unit of time for the duration.

Possible values are max_unit=days,max_unit=hours,max_unit=minutes, and max_unit=seconds.

For example, if max_unit=minutes, the duration is displayed in minutes and seconds. In this case, a duration of 2 days 3 hours 5 minutes 15 seconds is displayed as 3065 minutes 15 seconds.

no_filter
Applicable variables: List collector

Description: Hides the filter fields that appear above a list collector.

no_filter
Service catalog variable attributes
ref_ac_columns
Applicable variables: Reference

Description: Specifies the columns whose display values appear in an auto completion list in addition to the name. Separate column names with a semi-colon. For example, ref_ac_columns=user_name;email;sys_created_on allows auto-complete to match text from the user_name, email, and sys_created_on columns.

ref_ac_order_by
Applicable variables: Reference

Description: Specifies the column that is used to sort the auto completion list. For example, ref_ac_order_by=name sorts the auto-completion choices alphabetically by name.

ref_auto_completer
Applicable variables: Reference

Description: Specifies the name of a JavaScript class (client-side) that creates the list for auto completion choices. Valid class values include:

AJAXReferenceCompleter: Displays matching auto-complete choices as a drop-down choice-list. The list only displays the display value column of the reference table. If there is no other auto-completion class specified, reference fields automatically use this class.
AJAXTableCompleter: Displays matching auto-complete choices as rows in a table. The table displays the display value column of the reference table and any columns listed in the ref_ac_columns attribute.
AJAXReferenceChoice: Displays matching auto-complete choices as a drop-down choice-list. The list only displays the display value column of the reference table. Furthermore, the list only displays up to 25 matching choices. If there are more than 25 auto-complete choices, the reference field instead displays the choices with the AJAXTableCompleter class.
ref_qual_elements
Applicable variables: Lookup multiple choice, Lookup select box, List Collector

Description: A list of fields to be sent back to the server to get an updated reference.

Attention: Attribute behavior is specific to the service catalog desktop.

转载于:https://blog.51cto.com/13716461/2108941

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值