You need to sign in to do that
Don't have an account?
Bharat Kumar
Retreive object schema and related field api names using apex
Hi,
I would like to get the list of objects using apex class and also I need to get what are the fields for the respoective object using apex.
Is there any way to do this?
Thank you,
Bharat
Retrieve Objects
This will retrieve all the objects.
Retrieve fields of the selected object
This will retrieve all the fields of the selected object.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
Thanks for your reply.
Here If I need to get only custom object information and their respective fields, what should I do
Then modify like this
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks