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
AnshulJainAnshulJain 

Dynamic Related List for Object

Hi,

 

I have a requirement for which i require to dispaly related list dynamically using visualforce pages.

The related lists to dispaly will be known only on runtime and there order to display(i.e. which related appears first, second and so on..) will also be decided on runtime.

Can any one help me with this?

Best Answer chosen by Admin (Salesforce Developers) 
Gunners_23Gunners_23

I think you can make use of dynamic component and renderer only those related list which you want depending on the

 

condition. Regarding the order in which it needs to be displayed is bit bit complex, although you can do this keeping

 

comibnations of dynamic components and rendering them by the order you want ( bit Clumsy  i know )

 

 

All Answers

Gunners_23Gunners_23

I think you can make use of dynamic component and renderer only those related list which you want depending on the

 

condition. Regarding the order in which it needs to be displayed is bit bit complex, although you can do this keeping

 

comibnations of dynamic components and rendering them by the order you want ( bit Clumsy  i know )

 

 

This was selected as the best answer
AnshulJainAnshulJain

Thank you! :)