Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

JavaScript to retrieve the all fields of an entity( for lead and opportunity)

$
0
0

Hello all,

I have created an HTML web resource with a field called "Entity Selection" which is an OptionSet field with 2 values (Lead& Opportunity).
My requirement is :
Based on the "Entity Selection" field value I choose, I want all the fields of that selected entity to be listed/shown.
That is if I choose Lead as the value , I want all the fields of lead entity to be retrieved. Similarly for Opportunity as well.

Can anyone share me the JavaScript code for retrieving all the fields (display name) of a particular entity. 
Thanks in advance :)




Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>