You need to sign in to do that
Don't have an account?
Norah Ward 6
How to get the listview ID?
Hello all,
I'm working for an NFP organisation whe want to see two tabs for the two account record types. They are using classic so I figured I'd just do two VF tabs. However , using both id and listId provides me with nothing. I have created the following:
However, I'm pretty sure it needs a record ID but Salesforce no longer creates separate record ID's for each list view... what to do?
I'm working for an NFP organisation whe want to see two tabs for the two account record types. They are using classic so I figured I'd just do two VF tabs. However , using both id and listId provides me with nothing. I have created the following:
<apex:page > <apex:enhancedList type="Account" height="700" rowsPerPage="100" listId="{!Household_Accounts}" /> </apex:page>
However, I'm pretty sure it needs a record ID but Salesforce no longer creates separate record ID's for each list view... what to do?
Salesforce creates seperate record ID for each list view and stores it in the object "ListView". Fetch the ID of the listview you want from this object and hardcode it in listId attribute.
When you use listId attribute, type attribute can be optional as we directly provide the id.
Note : Use 15 digit salesforce ID of the list view.
Best Regards,
Sathish Balaji