Skip to content

Simple visualforce component to display a related list from any object you want even without relationships.

Notifications You must be signed in to change notification settings

anyei/SFDC-GenericRelatedList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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.

About

Simple visualforce component to display a related list from any object you want even without relationships.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages