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

Getting the value of object using javascript

$
0
0

Hello dears,

i have used fetchXml to retrieve value of a field from other entity,

in the below code when im trying to retrieve the value of userChannel using  userChannel .getValue() or userChannel.[0].id  im getting  this error  "Object doesn't support property or method 'getValue' at successCallback".

so what i should do to read the value ? Thanks in advance

XrmSvcToolkit.fetch({
fetchXml: fetchXml,
async: false,
successCallback: function (result) {
if (result.entities.length > 0) {

userChannel = result.entities[0].new_channel;

}


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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