Has anyone ever performed an describe call for Salesforce from a Javascript Snippet? I am basically looking to be able to display all fields to a user in a picklist. The issue I have is they are allowed to select the object first.
Any help would be greatly appreciated!
Thanks!
Page 1 / 1
After a quick look around, I didn’t immediately see a method to describe a model. You may want to look into incorporating JSForce (link: https://jsforce.github.io/ ) to assist in accessing the Salesforce Metadata API. Salesforce also has a walkthrough that may be beneficial: https://developer.salesforce.com/blogs/developer-relations/2015/02/using-metadata-api-describe-objec…
Thanks Adam! I ended up using JSForce. It accomplished my need and a bit of work and got what I was trying to do accomplished.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.