Skip to main content
Hello,

 

I'd like to know if I can use a URL hack, launched from a custom button, that will pull up a filterd related list.

 

For example, on the Account object I have a related list of Entitlements.  I want to create a custom button that when clicked pulls up the Entitlement Home page where the list has been filtered to include only Entitlements for that Account that are of a specific type.

 

Any ideas on how to achieve that?
7 件の回答
  1. 2014年1月9日 18:13
    Hey Emily,

     

    I've got an idea (that I use in multiple orgs) that should work for you.

     

    Step 1: Create a report on Entitlements, add all of the fields that you would want to see on the report (ie. mimic the list view). Additionally, add a filter to say 'AccountID equals' and leave it blank

     

    Step 2: Create your custom button that uses a URL and do the following:

     

    /ReportId?pv0={!Account.Id}

     

    Example would be:

     

    /00O60000003ya9U?pv0={!Account.Id}

     

    Put the button on your Account Object and you are good to go!

     

    Best of luck!