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

how to declare entity reference in dynamics crm Azure function code

$
0
0

Hi Guys,

AnyBody know how to declare entity reference in dynamics crm azure function coding. Here i write line for declare entity reference but itshowing error. My code is

       var accountType = ((EntityReference)appl.Attributes["new_requestedroleid"]).LogicalName;

But it Showing System.colletion.generics exception error occur in that line..i don't know why it is happening..can u please tell me how to declare entity reference and get the name filed value from the lookup field record.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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