+ Start a Discussion

Easy way to Render VisualForce Components Dynamically

Found a nice way to render visualforce input fields, output fields etc. based on object level security.


You just have to use render="{!$ObjectType.custome_object__c.accessible}" 

for example:

If you want to render Skill__c object only for the users who can access that object, 


<apex:pageBlockSectionItem rendered="{!$ObjectType.Skill__c.accessible}"> this will do it for you.




Hi Ranga,

Thankx for the information shared . Seems like an easy way of implementation discovered by you.