You need to sign in to do that
Don't have an account?
Mohan sharma
How to retrive child or grand child for selected object .?
I have a picklist in visualforce page which contain organization all object including custom and standard as well. When user change any object that time i want to retrive all child and grand chield for selected object and then display in pageBlocktable using rerender.
For example :
Schema.DescribeSObjectResult R = Account.SObjectType.getDescribe();
List<Schema.ChildRelationship> C = R.getChildRelationships();