user1517566
user1517566

Reputation: 356

Is it possible to use jsforce to achieve Schema.DescribeFieldResult?

wondered if anyone has used jsForce to retrieve metadata about custom fields - per what is possible via the DescribeFieldResult call described here - https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_fields_describe.htm

Any pointers are appreciated!

Upvotes: 1

Views: 568

Answers (1)

eyescream
eyescream

Reputation: 19612

Call the REST API "describe", for example /services/data/v56.0/sobjects/Account/describe

enter image description here

Or write a piece of Apex that would run your describe call and expose it as a REST service using @HttpGet for example. Then call it with apexrest in the URL

Upvotes: 0

Related Questions