You need to sign in to do that
Don't have an account?
AHAMMED
visual force
HI
I want to Create One Inputtex Box and command button, Now i am insert Sobject's like account, contact,and lead then cliock the command button then i want to display sobject Related query, related record's and list of records
I want to Create One Inputtex Box and command button, Now i am insert Sobject's like account, contact,and lead then cliock the command button then i want to display sobject Related query, related record's and list of records
This one is a biggy dud. You can try this using following logic.
1) On button click, pass the entered object to apex class. e.g. suppose in inputtexbox you entered 'Account'
2) Accept the value in controller method and use Globledescribe() to get all the fields related to that object.
3) Generate Dynamic query string and fetch the records from sf DB.
4) return the the list of records to Visualforce page and rerender it again.
Regards,
Santosh Chitalkar