i am creating thing through service but values are not getting populated
i have created a mashup and i mashup for adding a thing. I have created a service to auto create a thing but values are not getting set into properties. Can anyone please help me out to resolve this.
var params = {
name: Name /* STRING */,
description: Description /* STRING */,
thingTemplateName:"productthingtemplate" /* THINGTEMPLATENAME */,
tags: undefined /* TAGS */,
};
// no return
Result=Resources["EntityServices"].CreateThing(params);
var params = {
values: undefined /* INFOTABLE */
};
// no return
Things["proservice"].SetPropertyValues(params);
Things[Name].Name = Name;
Things[Name].Companyname = Companyname;
Things[Name].Description = Description;
Things[Name].MRP = MRP;
Things[Name].Manufacturingdate = Manufacturingdate;
Things[Name].Expirydate = Expirydate;
This is the code i am writing in sevice,
Thanks in advance,

