You need to sign in to do that
Don't have an account?

dynamic query to retrieve All the field of selected object
Hi All,
my requirement is to get All the field from a selected object. i have a drop down list of All the object now i want that when i select A object than its field will also show in dropdown list According to the selected object dynamically.
i have All Account list now i want Field list dynamically According to selected object.
can Anyone help me out?
my requirement is to get All the field from a selected object. i have a drop down list of All the object now i want that when i select A object than its field will also show in dropdown list According to the selected object dynamically.
can Anyone help me out?
Try this code:
Controller:
Visualforce Page: Hope this helps you. If it solves your issue please mark it as the best answer.
Thanks.
Thanks for the reply.
i want to know that is it possible to show All the field as checkbox so that i can select and save them in An object like given below:-