How to hide/remove dot walked field from list view based on conditions

Community Alums
Not applicable

HI Team,


We have a requirement wherein we need to hide dotwalked field from list view based on conditions.Can you suggest some approach or method to achieve this?

 

BR,

Ankur

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @Community Alums 

This article below details the steps on how to make a view rule applies on a list as well as opposed to just the form by default.

How to make a view rule applies on a list

Procedure

  1. Create a view rule for a table by going to System UI > View Rules > New (make sure that there are no conflicting view rules for the same table first)
  2. Populate the fields as follow:
    • Table: Your target table
    • Device type: Browser
    • Advanced: checked
    • Script:

 

if (is_list) { // if it's a list + add your own conditions there
answer = "ess"; //your view with dotwalk field
}
else // if it's not a list, in other words, on a form
answer = ""; //your view without dotwalk field

 

  • Save the record

 

Cheers,

Tai Vu

View solution in original post

2 REPLIES 2

Jaspal Singh
Mega Patron
Mega Patron

Hi Ankur,

Only way will be to create list views and use it. I doubt it can be controlled by conditions.

Tai Vu
Kilo Patron
Kilo Patron

Hi @Community Alums 

This article below details the steps on how to make a view rule applies on a list as well as opposed to just the form by default.

How to make a view rule applies on a list

Procedure

  1. Create a view rule for a table by going to System UI > View Rules > New (make sure that there are no conflicting view rules for the same table first)
  2. Populate the fields as follow:
    • Table: Your target table
    • Device type: Browser
    • Advanced: checked
    • Script:

 

if (is_list) { // if it's a list + add your own conditions there
answer = "ess"; //your view with dotwalk field
}
else // if it's not a list, in other words, on a form
answer = ""; //your view without dotwalk field

 

  • Save the record

 

Cheers,

Tai Vu