function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kfkaalkfkaal 

Using the standard list page

I did a VF list page which I bind into another's object page as related list. As this list gets very long, I like to just show the first few datasets and have a commandlink, saying that you can click on it to see all entries. 

 

Instead of creating my own VF page for this long list, I would rather use the standard listpage of that object when I click on its tab. But I would need to have a simple filter, like if it was the Contact object, I would like to say, I want to see all contacts of the account where I come from (Id).

 

Any chance to do that with parameters in the URL?

Best Answer chosen by Admin (Salesforce Developers) 
Shashikant SharmaShashikant Sharma

Hi,

 

I checked it but could not found any way where you can filter on https://na1.salesforce.com/003/o this.

 On way could be that you create your own table of related contacts with limit 5 and when you click on link get all the records in this table or any other custom vfp. But to your original question reply is no.

All Answers

Shashikant SharmaShashikant Sharma

Would like to get more info on your issue , specially regarding where you are using custom VFP and where you are using native object  page layout.

kfkaalkfkaal

Hi Shashikant,

 

we can put it very simpel:

 

We take the Account / Contact master detail relation. I overwrite the Account page with my own, wanting only 5 Contacts to be listed as related list. If there are more contacts than the displayed 5 contacts, I would have a command link under my related list "more...".

 

This command link should call the address "https://na1.salesforce.com/003/o" but with a parameter that calls all the contacts from my account.

 

Is it clearer now?

Shashikant SharmaShashikant Sharma

Hi,

 

I checked it but could not found any way where you can filter on https://na1.salesforce.com/003/o this.

 On way could be that you create your own table of related contacts with limit 5 and when you click on link get all the records in this table or any other custom vfp. But to your original question reply is no.

This was selected as the best answer