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

Accessing oData results and applying them to field

$
0
0

Hi All,

Quick question: I'm using oData to access some records and I have these stored as follows:

var results = JSON.parse(req.responseText).d.results;
if (results != null && results.length > 0) {
alert = whatgoeshere??
}

Can anyone reveal the syntax for accessing the results?  I.e. results[0].etc.etc

Thanks a million.

PS. End goal will be to call the following:

Xrm.Page.getAttribute("new_clientalerts").setValue(alert);



Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images