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

346 Views Asked by At

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!

1

There are 1 best solutions below

0
On BEST ANSWER

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