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

Updating date attribute using OData

$
0
0

Hi Friends

I am retrieving an entity data using OData, in which there is a date field. When I look at date format of date field I retrived, it is like following.

'Wed Mar 19 09:30:00 UTC+0530 2014'

So I just wanted to update this field with todays date, and I did something like following.

var date = new Date('Wed Mar 19 09:30:00 UTC+0530 2014');


 Account.new_date=date ;

But I am getting following error  :  

"Error : 400: Bad Request: Error processing request stream. The property name 'new_date' specified for type 'Microsoft.Crm.Sdk.Data.Services.Account' is not valid."


Thanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.


Viewing all articles
Browse latest Browse all 9244

Latest Images

Trending Articles



Latest Images

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