Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Error when retrieving parent record date values

$
0
0

Hi,

I am using CRM 2011 online.

in this i have written a javascript to retrieve parent record values based on lookup filed. it is working fine for all fields except date type fields.

below is the code.

var date=new Date();

var ref=resultXml.selectSingleNode("//q1:new_referenceid").nodeTypedValue;

date=resultXml.selectSingleNode("//q1:new_dated").nodeTypedValue; // it is giving error.

     

Error is: 

Unable to get property 'nodeTypedValue' of undefined or null reference.

and the method is working fine for all fields except new_dated field. new_dated is a date type field in parent record.

Could you please help us to solve the issue.

Thanks in Advance

Chandra


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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