Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

44 lines (25 loc) · 1.22 KB

SFDC-GenericRelatedList

Custom Related List Component

Install

Deploy to Salesforce Button

This will only work for sandboxes as no test class has been added to the repo so far.

Deploy to Salesforce
Manual Install

You may manually create the apex classes first within your org and then the visualforce page and the visual force component.

Usage

Just place the custom component anywhere inside your apex page tag, assign the require properties.

<apex:page standardController="CustomObject__c" >
    
    
    
    
       <c:GenericRelatedList Fields="Field1__c,Field2__c" 
                             Condition="RecordTypeId='Some_Specific_RecordTypeid' and CustoMObject__c='{!CustomObject__c.id}'" 
                             SObjectType="CustomObjectRelated__c" 
                             HeaderTitle="Related Records"></c:GenericRelatedList>

    
  
</apex:page>

TODO

  1. Produce better documentation and guide
  2. Review and clean code
  3. Include server side pagination.