---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlideListProperties - Global

# GlideListProperties - Global {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 12 minutes to read

The GlideListProperties API provides methods to create a list and set list properties. For example, you can define whether a list has a filter, breadcrumbs, and search.

To use this class, you must first instantiate a GlideListProperties object using the constructor.

For an example of this class in the base system, configure a list and select
All. The tabbed list of options uses the personalize_all UI page and
personalize_all_list UI macro to set list properties such as title, context menu, and
breadcrumbs.

This API includes methods that provide information about existing GlideList settings and provides options for setting various GlideList properties. For information on how to modify settings in the UI, see [GlideList2 (g_list) - Client](https://servicenow-prod.fluidtopics.net/z9iaUJmaHw4BYGeS8g8Qwg#c_GlideList2API "The GlideList2 API provides methods to customize (v2) lists.") or [GlideList (Next Experience) - Client](https://servicenow-prod.fluidtopics.net/M_B3s_ODNuFgKelweNBx2w#GlideListClientAPINEx "The GlideList API provides methods to customize lists in the Next Experience UI Framework.").

## GlideListProperties - GlideListProperties() {#ariaid-title2}

Instantiates a GlideListProperties object.
{#GLP-GlideListProperties__table_okm_rrx_h2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 1. Parameters]

{#GLP-GlideListProperties__table_okm_rrx_h2b}  

    var list = new GlideListProperties();

## GlideListProperties - getListID() {#ariaid-title3}

Returns the unique ID for a list.
{#GLP-getListID__table_jdt_v4g_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 2. Parameters]

{#GLP-getListID__table_jdt_v4g_n2b} {#GLP-getListID__table_kdt_v4g_n2b__entry__2}

| Type | Description |
|-|-|
| String | Unique ID for the list |
[Table 3. Returns]

{#GLP-getListID__table_kdt_v4g_n2b}  

    var list = new GlideListProperties();
    var getID = list.getListID();
    gs.print(getID);

Output: 3519f77ad95f5700964f387107a8a394

## GlideListProperties - getListName() {#ariaid-title4}

Returns the name of the list.
{#GLP-getListName__table_jng_bdx_j2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 4. Parameters]

{#GLP-getListName__table_jng_bdx_j2b} {#GLP-getListName__table_kng_bdx_j2b__entry__2}

| Type | Description |
|-|-|
| String | Name of the list. |
[Table 5. Returns]

{#GLP-getListName__table_kng_bdx_j2b}  

    var list = new GlideListProperties();
    var setName = list.setListName("my custom list");
    var getName = list.getListName();
    gs.print(getName);

Output: my custom list

## GlideListProperties - getTitle() {#ariaid-title5}

Get the title of a list.
{#GLP-getTitle__table_ppl_qqg_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 6. Parameters]

{#GLP-getTitle__table_ppl_qqg_n2b} {#GLP-getTitle__table_qpl_qqg_n2b__entry__2}

| Type | Description |
|-|-|
| String | The title of the list. |
[Table 7. Returns]

{#GLP-getTitle__table_qpl_qqg_n2b}  
Optional example explanation

    var list = new GlideListProperties();
    var title = list.setTitle("My title");
    var getTitle = list.getTitle();
    gs.print(getTitle);

Output: My title

## GlideListProperties - hasActions() {#ariaid-title6}

Returns whether or not the Actions on select rows option is
enabled for a list.
{#GLP-hasActions__table_xdw_syh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 8. Parameters]

{#GLP-hasActions__table_xdw_syh_n2b} {#GLP-hasActions__table_ydw_syh_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | Returns true if the actions option is enabled for a list. |
[Table 9. Returns]

{#GLP-hasActions__table_ydw_syh_n2b}  

    var list = new GlideListProperties();
    var actions = list.setHasActions(true);
    var hasActions = list.hasActions();
    gs.print(hasActions);

Output: true

## GlideListProperties - hasBottomNav() {#ariaid-title7}

Returns whether or not a list has navigation at the bottom.
{#GLP-hasBottomNav__table_yjy_xlh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 10. Parameters]

{#GLP-hasBottomNav__table_yjy_xlh_n2b} {#GLP-hasBottomNav__table_zjy_xlh_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If returns true the list has bottom navigation. |
[Table 11. Returns]

{#GLP-hasBottomNav__table_zjy_xlh_n2b}  

    var lp = new GlideListProperties();
    var Nav = lp.setHasBottomNav(true);
    var hasNav = lp.hasBottomNav();
    gs.print(hasNav);

Output: true

## GlideListProperties - hasBottomVCR() {#ariaid-title8}

Returns whether or not the page navigation controls appear in the footer of a
list.
{#GLP-hasBottomVCR__table_v3h_wth_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 12. Parameters]

{#GLP-hasBottomVCR__table_v3h_wth_n2b} {#GLP-hasBottomVCR__table_w3h_wth_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the page navigation controls appear in the footer of a list. |
[Table 13. Returns]

{#GLP-hasBottomVCR__table_w3h_wth_n2b}  

    var list = new GlideListProperties();
    var vcr = list.setHasBottomVCR(true);
    var hasVCR = list.hasBottomVCR();
    gs.print(hasVCR);

Output: true

## GlideListProperties - hasFilter() {#ariaid-title9}

Returns whether or not a list has a filter.
The filter property is a parent of the breadcrumbs property. If the filter property is
listed as false and the breadcrumb is listed as true, `hasFilter()` still
returns true because the child property is marked as true.
{#GLP-hasFilter__table_emg_c33_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 14. Parameters]

{#GLP-hasFilter__table_emg_c33_n2b} {#GLP-hasFilter__table_fmg_c33_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true a filter icon appears with the list, or the breadcrumb property is listed as true. If false both the filter property and the breadcrumb property are marked as false. |
[Table 15. Returns]

{#GLP-hasFilter__table_fmg_c33_n2b}  

    var list = new GlideListProperties();
    var filter = list.setHasFilter(true);
    var breadcrumbs = list.setHasBreadcrumbs(true);
    var hasFilter = list.hasFilter();
    gs.print(hasFilter);

Output: true

## GlideListProperties - hasHeader() {#ariaid-title10}

Returns whether or not a list has a header.
{#GLP-hasHeader__table_gx4_gsh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 16. Parameters]

{#GLP-hasHeader__table_gx4_gsh_n2b} {#GLP-hasHeader__table_hx4_gsh_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | Returns true if a list has a header. |
[Table 17. Returns]

{#GLP-hasHeader__table_hx4_gsh_n2b}  

    var list = new GlideListProperties();
    var header = list.setHasHeader(true);
    var hasHeader = list.hasHeader();
    gs.print(hasHeader);

Output: true

## GlideListProperties - hasHeaderContextMenu() {#ariaid-title11}

Returns whether or not a header context menu is enabled for a list.
{#GLP-hasHeaderContextMenu__table_o15_tzh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 18. Parameters]

{#GLP-hasHeaderContextMenu__table_o15_tzh_n2b} {#GLP-hasHeaderContextMenu__table_p15_tzh_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true a context menu displays next to each column header in a list. |
[Table 19. Returns]

{#GLP-hasHeaderContextMenu__table_p15_tzh_n2b}  

    var list = new GlideListProperties();
    var header = list.setHasHeaderContextMenu(true);
    var hasHeader = list.hasHeaderContextMenu();
    gs.print(hasHeader);

Output: true

## GlideListProperties - hasListMechanic() {#ariaid-title12}

Returns whether list personalization is enabled for a list.
{#GLP-hasListMechanic__table_s35_drh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 20. Parameters]

{#GLP-hasListMechanic__table_s35_drh_n2b} {#GLP-hasListMechanic__table_t35_drh_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the list mechanic is enabled for a list and the Personalize List icon appears on the page. |
[Table 21. Returns]

{#GLP-hasListMechanic__table_t35_drh_n2b}  

    var list = new GlideListProperties();
    var mechanic = list.setHasListMechanic(true);
    var hasMechanic = list.hasListMechanic();
    gs.print(hasMechanic);

Output: true

## GlideListProperties - hasPopup() {#ariaid-title13}

Returns whether or not a list can have popup windows.
{#GLP-hasPopup__table_j2g_pnh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 22. Parameters]

{#GLP-hasPopup__table_j2g_pnh_n2b} {#GLP-hasPopup__table_k2g_pnh_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | Returns true if the list allows popups. |
[Table 23. Returns]

{#GLP-hasPopup__table_k2g_pnh_n2b}  

    var list = new GlideListProperties();
    var popup = list.setHasPopup(true);
    var hasPopup = list.hasPopup();
    gs.print(hasPopup);

Output: true

## GlideListProperties - hasRowContextMenu() {#ariaid-title14}

Returns whether or not rows in a list have a context menu.
{#GLP-hasRowContextMenu__table_qhq_j4h_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 24. Parameters]

{#GLP-hasRowContextMenu__table_qhq_j4h_n2b} {#GLP-hasRowContextMenu__table_rhq_j4h_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true a list row can have a context menu. |
[Table 25. Returns]

{#GLP-hasRowContextMenu__table_rhq_j4h_n2b}  

    var list = new GlideListProperties();
    var contextMenu = list.setHasRowContextMenu(true);
    var hasContextMenu = list.hasRowContextMenu();
    gs.print(hasContextMenu);

Output: true

## GlideListProperties - hasSearch() {#ariaid-title15}

Returns whether or not the search bar is enabled for a list.
{#GLP-hasSearch__table_amm_vb3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 26. Parameters]

{#GLP-hasSearch__table_amm_vb3_n2b} {#GLP-hasSearch__table_bmm_vb3_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the search bar appears in the header of a list. |
[Table 27. Returns]

{#GLP-hasSearch__table_bmm_vb3_n2b}  

    var list = new GlideListProperties();
    var search = list.setHasSearch(true);
    var hasSearch = list.hasSearch();
    gs.print(hasSearch);

Output: true

## GlideListProperties - hasTitle() {#ariaid-title16}

Returns whether or not the list title appears in the list header.
The title context menu is a child property of title. If
`setHasTitleContextMenu` is set to true, `hasTitle` also
returns true, even if `setHasTitle` is set to false.
{#GLP-hasTitle__table_pwb_tm3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 28. Parameters]

{#GLP-hasTitle__table_pwb_tm3_n2b} {#GLP-hasTitle__table_qwb_tm3_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the list title appears in the list header. |
[Table 29. Returns]

{#GLP-hasTitle__table_qwb_tm3_n2b}  

    var list = new GlideListProperties();
    var title = list.setHasTitle(true);
    var contextMenu = list.setHasTitleContextMenu(true);
    var hasTitle = list.hasTitle();
    gs.print(hasTitle);

Output: true

## GlideListProperties - hasTitleContextMenu() {#ariaid-title17}

Returns whether a context menu appears in a list header.
The title context menu is a child property of title. If
`setHasTitleContextMenu` is set to true, `hasTitle` also
returns true, even if `setHasTitle` is set to false.
{#GLP-hasTitleContextMenu__table_jjk_2l3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 30. Parameters]

{#GLP-hasTitleContextMenu__table_jjk_2l3_n2b} {#GLP-hasTitleContextMenu__table_kjk_2l3_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the context menu appears in the list header next to the list title. |
[Table 31. Returns]

{#GLP-hasTitleContextMenu__table_kjk_2l3_n2b}  
Optional example explanation

    var list = new GlideListProperties();
    var contextMenu = list.setHasTitleContextMenu(true);
    var hasContextMenu = list.hasTitleContextMenu();
    gs.print(hasContextMenu);

Output: true

## GlideListProperties - hasTopVCR() {#ariaid-title18}

Returns whether or not the page navigation controls appear in the header of a
list.
{#GLP-hasTopVCR__table_v3h_wth_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 32. Parameters]

{#GLP-hasTopVCR__table_v3h_wth_n2b} {#GLP-hasTopVCR__table_w3h_wth_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the page navigation controls appear in the header of a list. |
[Table 33. Returns]

{#GLP-hasTopVCR__table_w3h_wth_n2b}  

    var list = new GlideListProperties();
    var vcr = list.setHasTopVCR(true);
    var hasVCR = list.hasTopVCR();
    gs.print(hasVCR);

Output: true

## GlideListProperties - isOmitFilter() {#ariaid-title19}

Returns whether or not the omit filter option has been selected.
The ListControl omit flags take precedence in that if they are set, they negate the setting
of their corresponding flag. For example, if the show filter flag has been set to true, but
the ListControl omit filter is true, then checking hasFilter returns
<kbd class="ph userinput">false</kbd>.
{#GLP-isOmitFilter__table_gx4_n52_t2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 34. Parameters]

{#GLP-isOmitFilter__table_gx4_n52_t2b} {#GLP-isOmitFilter__table_hx4_n52_t2b__entry__2}

| Type | Description |
|-|-|
| Boolean | Returns true or false whether the omit filter flag has been selected. |
[Table 35. Returns]

{#GLP-isOmitFilter__table_hx4_n52_t2b}  

    var lp = new GlideListProperties();
    var omitFilter = lp.isOmitFilter();
    gs.print(omitFilter);

Output: false

## GlideListProperties - isSaveFilterHidden() {#ariaid-title20}

Returns whether the Save Filter button is hidden in the condition builder.
{#GLP-isSaveFilterHidden__table_ipy_trx_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 36. Parameters]

{#GLP-isSaveFilterHidden__table_ipy_trx_s2b} {#GLP-isSaveFilterHidden__table_jpy_trx_s2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true the Save Filter button is hidden in the condition builder. |
[Table 37. Returns]

{#GLP-isSaveFilterHidden__table_jpy_trx_s2b}  

    var list = new GlideListProperties();
    var SaveFilter = list.setSaveFilterHidden(true);
    var hasSaveFilter = list.isSaveFilterHidden();
    gs.print(hasSaveFilter);

Output: true

## GlideListProperties - isShowLinks() {#ariaid-title21}

Returns whether or not a list shows links.
{#GLP-isShowLinks__table_rms_tmh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 38. Parameters]

{#GLP-isShowLinks__table_rms_tmh_n2b} {#GLP-isShowLinks__table_sms_tmh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 39. Returns]

{#GLP-isShowLinks__table_sms_tmh_n2b}  

    var list = new GlideListProperties();
    var links = list.setShowLinks(true);
    var hasLinks = list.isShowLinks();
    gs.print(hasLinks);

Output: true

## GlideListProperties - isToggleHeader() {#ariaid-title22}

Returns whether or not toggling the header columns is available for a list.
{#GLP-isToggleHeader__table_z11_2th_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 40. Parameters]

{#GLP-isToggleHeader__table_z11_2th_n2b} {#GLP-isToggleHeader__table_ab1_2th_n2b__entry__2}

| Type | Description |
|-|-|
| Boolean | If true users can show or hide the column headers for a table. |
[Table 41. Returns]

{#GLP-isToggleHeader__table_ab1_2th_n2b}  

    var list = new GlideListProperties();
    var toggle = list.setToggleHeader(true);
    var hasToggle = list.isToggleHeader();
    gs.print(hasToggle);

Output: true

## GlideListProperties - setCanChangeView(Boolean onOff) {#ariaid-title23}

Determine whether the user can change the view for the list.
{#GlideListProperties-setCanChangeView_B__table_ijt_2px_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If false users cannot change the list view. By default, changing views is enabled. |
[Table 42. Parameters]

{#GlideListProperties-setCanChangeView_B__table_ijt_2px_s2b} {#GlideListProperties-setCanChangeView_B__table_jjt_2px_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 43. Returns]

{#GlideListProperties-setCanChangeView_B__table_jjt_2px_s2b}  

    var list = new GlideListProperties();
    var changeView = list.setCanChangeView(true);

## GlideListProperties - setCanGroup(Boolean onOff) {#ariaid-title24}

Determine whether users can group items in a list.
{#GLP-setCanGroup_B__table_ucp_knx_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If false, the group by option does not appear in the column context menu. By default the group by option appears in the list context menu. |
[Table 44. Parameters]

{#GLP-setCanGroup_B__table_ucp_knx_s2b} {#GLP-setCanGroup_B__table_vcp_knx_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 45. Returns]

{#GLP-setCanGroup_B__table_vcp_knx_s2b}  

    var list = new GlideListProperties();
    var canGroup = list.setCanGroup(true);

## GlideListProperties - setCanSort(Boolean onOff) {#ariaid-title25}

Determine whether the sort option is available in a list.
{#GLP-setCanSort_B__table_jtx_f4x_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If false, the sort option does not appear in column list context menu, and users cannot click the column title to change the order of the list. |
[Table 46. Parameters]

{#GLP-setCanSort_B__table_jtx_f4x_s2b} {#GLP-setCanSort_B__table_ktx_f4x_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 47. Returns]

{#GLP-setCanSort_B__table_ktx_f4x_s2b}  

    var list = new GlideListProperties();
    var canSort = list.setCanSort(true);

## GlideListProperties - setContextMenus(Boolean onOff) {#ariaid-title26}

Displays or hides all of the available context menus for a list.
{#GLP-setContextMenus_B__table_xgf_mvg_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If set to true displays the title context menu, header context menu, and list context menu for a list. |
[Table 48. Parameters]

{#GLP-setContextMenus_B__table_xgf_mvg_n2b} {#GLP-setContextMenus_B__table_ygf_mvg_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 49. Returns]

{#GLP-setContextMenus_B__table_ygf_mvg_n2b}  

    var list = new GlideListProperties();
    var context = list.setContextMenus(true);

## GlideListProperties - setHasActions(Boolean) {#ariaid-title27}

Determine whether the Actions on select rows options display at
the bottom of a list.
{#GLP-setHasActions_B__table_jm4_shh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true displays action options for a list. |
[Table 50. Parameters]

{#GLP-setHasActions_B__table_jm4_shh_n2b} {#GLP-setHasActions_B__table_km4_shh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 51. Returns]

{#GLP-setHasActions_B__table_km4_shh_n2b}  

    var list = new GlideListProperties();
    var actions = list.setHasActions(true);

## GlideListProperties - setHasBottomNav(Boolean onOff) {#ariaid-title28}

Determine whether the navigation actions at the bottom of a list are hidden or not.
{#GLP-setHasBottomNav_B__table_nrx_rlh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | When true adds navigation to the bottom of a list. |
[Table 52. Parameters]

{#GLP-setHasBottomNav_B__table_nrx_rlh_n2b} {#GLP-setHasBottomNav_B__table_orx_rlh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 53. Returns]

{#GLP-setHasBottomNav_B__table_orx_rlh_n2b}  

    var lp = new GlideListProperties();
    var bottom = lp.setHasBottomNav(true);

## GlideListProperties - setHasBreadcrumbs(Boolean onOff) {#ariaid-title29}

Determine whether or not breadcrumbs appear at the top of a list.
Breadcrumbs are a child of filters. To hide breadcrumbs completely, you need to also set
the filter to false.
{#GLP-setHasBreadcrumbs_B__table_gvg_yc3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true breadcrumbs appear at the top of a list. |
[Table 54. Parameters]

{#GLP-setHasBreadcrumbs_B__table_gvg_yc3_n2b} {#GLP-setHasBreadcrumbs_B__table_hvg_yc3_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 55. Returns]

{#GLP-setHasBreadcrumbs_B__table_hvg_yc3_n2b}  

    var list = new GlideListProperties();
    var breadcrumbs = list.setHasBreadcrumbs(true);

## GlideListProperties - setHasBottomVCR(Boolean onOff) {#ariaid-title30}

Determine whether the first page, last page, next page, and previous page buttons
appear at the bottom of the list.
{#GLP-setHasBottomVCR_B__table_fyk_vpx_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true, the first page, last page, next page, and previous page buttons appear at the bottom of the list. |
[Table 56. Parameters]

{#GLP-setHasBottomVCR_B__table_fyk_vpx_s2b} {#GLP-setHasBottomVCR_B__table_gyk_vpx_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 57. Returns]

{#GLP-setHasBottomVCR_B__table_gyk_vpx_s2b}  

    var list = new GlideListProperties();
    var bottomVCR = list.setHasBottomVCR(true);

## GlideListProperties - setHasFilter(Boolean onOff) {#ariaid-title31}

Determine whether or not the filter displays as part of a list.
The filter is a parent of breadcrumbs. To remove the filter, you need to set both the
filter and the breadcrumbs to false.
{#GLP-setHasFilter_B__table_tlc_5h3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true a filter icon appears at the top of the list. Users can use the filter to narrow search results. |
[Table 58. Parameters]

{#GLP-setHasFilter_B__table_tlc_5h3_n2b} {#GLP-setHasFilter_B__table_ulc_5h3_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 59. Returns]

{#GLP-setHasFilter_B__table_ulc_5h3_n2b}  

    var list = new GlideListProperties();
    var filter = list.setHasFilter(true);

## GlideListProperties - setHasHeader(Boolean onOff) {#ariaid-title32}

Determine whether or not a list displays a header.
{#GLP-setHasHeader_B__table_eg1_wrh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the list displays a header. |
[Table 60. Parameters]

{#GLP-setHasHeader_B__table_eg1_wrh_n2b} {#GLP-setHasHeader_B__table_fg1_wrh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 61. Returns]

{#GLP-setHasHeader_B__table_fg1_wrh_n2b}  

    var list = new GlideListProperties();
    var header = list.setHasHeader(true);

## GlideListProperties - setHasHeaderContextMenu(Boolean onOff) {#ariaid-title33}

Determine whether or not the context menu appears next to each column in a
list.
{#GLP-setHasHeaderContextMenu_B__table_fnz_hzh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the context menu appears next to each column in a list. |
[Table 62. Parameters]

{#GLP-setHasHeaderContextMenu_B__table_fnz_hzh_n2b} {#GLP-setHasHeaderContextMenu_B__table_gnz_hzh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 63. Returns]

{#GLP-setHasHeaderContextMenu_B__table_gnz_hzh_n2b}  

    var list = new GlideListProperties();
    var actions = list.setHasHeaderContextMenu(true);

## GlideListProperties - setHasListMechanic(Boolean onOff) {#ariaid-title34}

Determine whether or not a list has the option for personalization.
{#GLP-setHasListMechanic_B__table_lsp_vqh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the list mechanic is enabled and the Personalize List icon appears on the page. |
[Table 64. Parameters]

{#GLP-setHasListMechanic_B__table_lsp_vqh_n2b} {#GLP-setHasListMechanic_B__table_msp_vqh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 65. Returns]

{#GLP-setHasListMechanic_B__table_msp_vqh_n2b}  

    var list = new GlideListProperties();
    var mechanic = list.setHasListMechanic(true);

## GlideListProperties - setHasPopup(Boolean onOff) {#ariaid-title35}

Determine whether the list has a popup or modal window.
{#GLP-setHasPopup_B__table_lpn_hnh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If truethe list can have popup windows. |
[Table 66. Parameters]

{#GLP-setHasPopup_B__table_lpn_hnh_n2b} {#GLP-setHasPopup_B__table_mpn_hnh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 67. Returns]

{#GLP-setHasPopup_B__table_mpn_hnh_n2b}  

    var list = new GlideListProperties();
    var popup = list.setHasPopup(true);

## GlideListProperties - setHasRowContextMenu(Boolean onOff) {#ariaid-title36}

Determines whether or not list rows have a context menu.
{#GLP-setHasRowContextMenu_B__table_bjy_xnh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | When true list rows can have a context menu. |
[Table 68. Parameters]

{#GLP-setHasRowContextMenu_B__table_bjy_xnh_n2b} {#GLP-setHasRowContextMenu_B__table_cjy_xnh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 69. Returns]

{#GLP-setHasRowContextMenu_B__table_cjy_xnh_n2b}  

    var list = new GlideListProperties();
    var contextMenu = list.setHasRowContextMenu(true);

## GlideListProperties - setHasSearch(Boolean onOff) {#ariaid-title37}

Determine whether search appears for a list.
{#GLP-setHasSearch_B__table_gm5_213_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the search bar appears in the list header. |
[Table 70. Parameters]

{#GLP-setHasSearch_B__table_gm5_213_n2b} {#GLP-setHasSearch_B__table_hm5_213_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 71. Returns]

{#GLP-setHasSearch_B__table_hm5_213_n2b}  

    var list = new GlideListProperties();
    var search = list.setHasSearch(true);

## GlideListProperties - setHasTitle(Boolean onOff) {#ariaid-title38}

Determine whether the list title appears in the header.
{#GLP-setHasTitle_B__table_kc1_nm3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the title of the list appears in the list header. |
[Table 72. Parameters]

{#GLP-setHasTitle_B__table_kc1_nm3_n2b} {#GLP-setHasTitle_B__table_lc1_nm3_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 73. Returns]

{#GLP-setHasTitle_B__table_lc1_nm3_n2b}  

    var list = new GlideListProperties();
    var title = list.setHasTitle(true);

## GlideListProperties - setHasTitleContextMenu(Boolean onOff) {#ariaid-title39}

Determine whether or not a list has a context menu in the header.
{#GLP-setHasTitleContextMenu_B__table_tbx_fj3_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the context menu appears next to the list title in the header |
[Table 74. Parameters]

{#GLP-setHasTitleContextMenu_B__table_tbx_fj3_n2b} {#GLP-setHasTitleContextMenu_B__table_ubx_fj3_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 75. Returns]

{#GLP-setHasTitleContextMenu_B__table_ubx_fj3_n2b}  

    var list = new GlideListProperties();
    var contextMenu = list.setHasTitleContextMenu(true);

## GlideListProperties - setHasTopVCR(Boolean onOff) {#ariaid-title40}

Determine whether or not a list has the page navigation controls in the list
header.
{#GLP-setHasTopVCR_B__table_dnr_nth_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the page navigation controls appear in the header of a list. |
[Table 76. Parameters]

{#GLP-setHasTopVCR_B__table_dnr_nth_n2b} {#GLP-setHasTopVCR_B__table_enr_nth_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 77. Returns]

{#GLP-setHasTopVCR_B__table_enr_nth_n2b}  

    var list = new GlideListProperties();
    var vcr = list.setHasTopVCR(true);

## GlideListProperties - setHideRows(Boolean onOff) {#ariaid-title41}

Determine whether rows are visible in a list.
{#GLP-setHideRows_B__table_h44_wqx_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true all of the rows are hidden for a list. |
[Table 78. Parameters]

{#GLP-setHideRows_B__table_h44_wqx_s2b} {#GLP-setHideRows_B__table_i44_wqx_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 79. Returns]

{#GLP-setHideRows_B__table_i44_wqx_s2b}  

    var list = new GlideListProperties();
    var hideRows = list.setHideRows(true);

## GlideListProperties - setListID(String ID) {#ariaid-title42}

Set the unique ID for a list.
{#GLP-setListID_S__table_hjn_mkh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| Unique ID | String | The unique ID for the list. |
[Table 80. Parameters]

{#GLP-setListID_S__table_hjn_mkh_n2b} {#GLP-setListID_S__table_ijn_mkh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 81. Returns]

{#GLP-setListID_S__table_ijn_mkh_n2b}  

    var list = new GlideListProperties();
    var setID = list.setListID("a9dd1483d99f5700964f387107a8a3ec");
    var getID = list.getListID();
    gs.print(getID);

Output: a9dd1483d99f5700964f387107a8a3ec

## GlideListProperties - setListName(String name) {#ariaid-title43}

Defines a name for the list.
{#GLP-setListName_S__table_vp4_t1x_j2b__entry__3}

| Name | Type | Description |
|-|-|-|
| name | String | Name of the list. |
[Table 82. Parameters]

{#GLP-setListName_S__table_vp4_t1x_j2b} {#GLP-setListName_S__table_wp4_t1x_j2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 83. Returns]

{#GLP-setListName_S__table_wp4_t1x_j2b}  

    var list = new GlideListProperties();
    var name = list.setListName("my custom list");

## GlideListProperties - setSaveFilterHidden(Boolean onOff) {#ariaid-title44}

Determine whether the Save Filter button appears in the condition builder.
{#GLP-setSaveFilterHidden_B__table_vl2_pmx_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true the Save Filter button is hidden. |
[Table 84. Parameters]

{#GLP-setSaveFilterHidden_B__table_vl2_pmx_s2b} {#GLP-setSaveFilterHidden_B__table_wl2_pmx_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 85. Returns]

{#GLP-setSaveFilterHidden_B__table_wl2_pmx_s2b}  

    var list = new GlideListProperties();
    var saveFilter = list.setSaveFilterHidden(true);

## GlideListProperties - setShowLinks(Boolean onOff) {#ariaid-title45}

Whether or not a list includes links.
{#GLP-setShowLinks_B__table_ytm_4mh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true list includes related links. |
[Table 86. Parameters]

{#GLP-setShowLinks_B__table_ytm_4mh_n2b} {#GLP-setShowLinks_B__table_ztm_4mh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 87. Returns]

{#GLP-setShowLinks_B__table_ztm_4mh_n2b}  

    var list = new GlideListProperties();
    var links = list.setShowLinks(true);

## GlideListProperties - setTitle(String title) {#ariaid-title46}

Defines the list title.
{#GLP-setTitle_S__table_hjx_vdx_j2b__entry__3}

| Name | Type | Description |
|-|-|-|
| title | String | Title for the list. |
[Table 88. Parameters]

{#GLP-setTitle_S__table_hjx_vdx_j2b} {#GLP-setTitle_S__table_ijx_vdx_j2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 89. Returns]

{#GLP-setTitle_S__table_ijx_vdx_j2b}  

    var list = new GlideListProperties();
    var title = list.setTitle("My title");

## GlideListProperties - setToggleHeader(Boolean onOff) {#ariaid-title47}

Determine whether users can show or hide column headers for a table.
{#GLP-setToggleHeader_B__table_u4j_5sh_n2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If true an icon appears in the header that allows users to show or hide the column headers. |
[Table 90. Parameters]

{#GLP-setToggleHeader_B__table_u4j_5sh_n2b} {#GLP-setToggleHeader_B__table_v4j_5sh_n2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 91. Returns]

{#GLP-setToggleHeader_B__table_v4j_5sh_n2b}  

    var list = new GlideListProperties();
    var toggle = list.setToggleHeader(true);

## GlideListProperties - setVCR(Boolean onOff) {#ariaid-title48}

Determine whether the first page, last page, next page, and previous page buttons appear
at the top and bottom of the list.
{#GLP-setVCR_B__table_vvw_gqx_s2b__entry__3}

| Name | Type | Description |
|-|-|-|
| onOff | Boolean | If false, the list does not have any of the page navigation buttons for a list. |
[Table 92. Parameters]

{#GLP-setVCR_B__table_vvw_gqx_s2b} {#GLP-setVCR_B__table_wvw_gqx_s2b__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 93. Returns]

{#GLP-setVCR_B__table_wvw_gqx_s2b}  

    var list = new GlideListProperties();
    var VCR = list.setVCR(true);


