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
DokerDoker 

Goto Object with specific list view filter selected.

With this I can go to specific tab:

            var destUrl = "{!URLFOR(  $Action.MyObject__c.List,   $ObjectType.MyObject__c  )}";

How can I go to specific List view filter there? Lets say I want to show MyObject__c with "All" filter.

shillyershillyer

Not sure if there is an option with URLFOR, but you could do this:

 


window.parent.location.href = "/{!$ObjectType.CustomObject__C}?fcf=00B80000005tAZL";

 

00B80000005tAZL is the ID of my view. Not a generic solution, but will get what you want.

 

Hope that helps,

Sati