You need to sign in to do that
Don't have an account?

VIsualforce link to specific list view
Hi,
In Visualforce, I would like to create a link that goes directly to a list view we have created. For example. in SF1, right now the user clicks attendees, then can go through the different views and click 'Administrators'. we want to skip the click attendees part, and just have Administrators and the other list views on the original VF page, but when I try referencing a specific list view, it shows up as an error.
Thanks,
In Visualforce, I would like to create a link that goes directly to a list view we have created. For example. in SF1, right now the user clicks attendees, then can go through the different views and click 'Administrators'. we want to skip the click attendees part, and just have Administrators and the other list views on the original VF page, but when I try referencing a specific list view, it shows up as an error.
Thanks,
Schema.DescribeSObjectResult anySObjectSchema = customobjectapi.SObjectType.getDescribe();
String objectIdPrefix = anySObjectSchema.getKeyPrefix();
PageReference pageRef = new PageReference('/'+objectIdPrefix+'/o');