You need to sign in to do that
Don't have an account?
Thomas Aho
How to show field on list view only if they are certain values
I have a system setup where fields are either pass or fail for equipment inspections. I would like to display only the failed fields on list view. Is this something I can do?
There is no out of the box way to achieve this. This should be possible with custom code.
See similar posts from past
apex:listViews https://developer.salesforce.com/docs/atlas.en-us.234.0.pages.meta/pages/pages_compref_listViews.htm
https://stackoverflow.com/questions/11636005/how-do-i-customize-the-columns-in-a-apexlistview
https://salesforce.stackexchange.com/questions/245/dynamic-number-of-columns-in-a-pageblocktable
https://developer.salesforce.com/forums/?id=9060G0000005cePQAQ
Thank you
All Answers
You should be able to do this by creating a new list view and set filter there that the specific field with value fail should only be displayed
See https://trailhead.salesforce.com/en/content/learn/modules/lex_customization/lex_customization_list for more details.
If this information helps, please mark the answer as best. Thank you.
I hope you are trying to filter the records based on the some field values . If yes then you have to use the list view filter.
Note : You can't controll the field colums dynamically based on field value.
Thanks,
Maharajan.C
There is no out of the box way to achieve this. This should be possible with custom code.
See similar posts from past
apex:listViews https://developer.salesforce.com/docs/atlas.en-us.234.0.pages.meta/pages/pages_compref_listViews.htm
https://stackoverflow.com/questions/11636005/how-do-i-customize-the-columns-in-a-apexlistview
https://salesforce.stackexchange.com/questions/245/dynamic-number-of-columns-in-a-pageblocktable
https://developer.salesforce.com/forums/?id=9060G0000005cePQAQ
Thank you