I want to creat 80 things from a thingTemplate, I Think I Can do it easily with a csv file but I don't know the shape of this csv file;
if anyone already used it, please share the shape or some good tips.
can we create alerte from a csv file too ?
thanks in advance.
If you have the ThingTemplate already then all you need is the EntityServices/CreateThing service
yes you can create a CSV file with a list of names etc. you can name the columns anything and create a datashape to match.
Then use your service to provide the appropriate parameters from the parsed infotable (use csv parser or parsely) to loop through create entity.
thank you for response, No I don't have the thingtemplate created, I want to creat all entities (thingTemplate, things,..) from a csv file but I don't know what I should put in the datashape.
if anyone already did this, please share.
Thank you in advance.
Have you found a solution to your question? If so, please feel free to post it here and mark it as the Accepted Solution for the benefit of others with the same question.
Thank you for rememberingme, but I don't test it.