Have your users ever asked for a way to filter related lists or have multiple related lists that separate records based on criteria – much like how Open Activities and Activity History related lists separate Task records based on their status? In this session I will show you how to use native related lists to separate and filter records with NO apex code and NO visualforce, just a dash of Process Builder and some custom lookup fields.
This talk is based on my blog post: https://douglascayers.wordpress.com/2015/11/18/salesforce-filter-related-lists-without-code/
2. Doug Ayers
• Senior Developer @ Virsys12
• Nashville Salesforce Developers Group
• 3+ years Salesforce Administration / Development
• 8+ years Java Enterprise Web Development
• @DouglasCAyers
• github.com/DouglasCAyers
• douglascayers.com
3. This is a story about User Experience (UX)
http://www.adminhero.com/adoption/
http://cloud4good.com/announcements/six-steps-to-improve-user-experience/
14. Workaround 2:Visualforce & Apex
Custom Related Lists by Kevin Poorman (@CodeFriar)
http://noeticpenguin.github.io/Custom-Related-Lists/
• Free, Unmanaged Package
• Declarative Setup like Rollup Helper by Andy Fawcett
• Generates Apex Class /Visualforce Page for you
• You addVisualfoce page to your page layout
• Use Change Sets to deploy config to production
https://www.linkedin.com/in/kevinpoorman
15.
16. Check out this link for more info about embedding visualforce pages on page layouts
https://developer.salesforce.com/docs/atlas.en-us.workbook_vf.meta/workbook_vf/overrides_2.htm
28. AssignValues to New Lookup Fields
Records display in the
“Contacts” related list because
their AccountId matches the
account being viewed.
Likewise, records will display in
the new related lists if the
corresponding lookup field
value matches the account
being viewed. We need to assign
these field values!
39. One Last Step… Create Custom Buttons
Buttons on related lists
populate the lookup field
corresponding to that
related list.
In this case, the “New
Contact” button on “Active
Contacts” assigned the
AccountId to the “Active
Lookup” field, not the
“Account Name”.
ID = AccountId
ID = Active_Lookup__c