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

Get Object ID's Dynamically
Dear Experts,
When I'm working on other Objects ex: case, often I require ID's of other Objects ex: Contact ID or Contact Owner ID etc.,
Is there any way to get the values dynaimically ex: Schema or anyother way, instead of writing query each time?
Your help is highly aprreciated.
Regards,
Kumar
When I'm working on other Objects ex: case, often I require ID's of other Objects ex: Contact ID or Contact Owner ID etc.,
Is there any way to get the values dynaimically ex: Schema or anyother way, instead of writing query each time?
Your help is highly aprreciated.
Regards,
Kumar
You can use the REST API to get Object metadata: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_describe.htm