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