I was wondering if anyone could suggest any pointers to this one. I try to return ItemStats from the Tridion UGC web service, but when I try to link the results, I get the following error: -
The private type TridionWebUGC.CDS.ItemStat does not have the corresponding LastRatedDate property.
Code example: -
WebServiceClient ugcCall2 = new WebServiceClient(); Uri uri = new Uri("http://new.ugc.service/odata.svc"); CDS.ContentDeliveryService cds = new CDS.ContentDeliveryService(uri); var myItemStats = cds.ItemStats.Where(p => p.PublicationId == 68 && p.Id == 17792 && p.Type==16);
I can get comments and ratings without any problems. For instance.
var myComments = cds.Comments.Where(p => p.ItemId == 17805).OrderBy(p => p.CreationDate);
These are just ItemStats that give me a problem. Anyone any ideas?
thanks
John
source share