Skip to main content
Sep 7, 2020 10:22 AM UTC
Question

InfoTable property of a Thing created via extension has no DataShape attached

Dear devs,

 

I have just noticed that, by creating a Thing from a Template defined in the Composer using:

 

 

EntityServices.CreateThing(ThingName, null, null, TemplateName);

 

 

The Thing in created correctly, but there is a DataTable Property that has no DataShape associated with it:

 

nods.PNG

But this doesn't happen if the Thing is created via Composer. 

 

What am I doing wrong?

 

Thanks

1 reply

Sep 10, 2020 9:48 PM UTC

Hello @Raccone,

 

Are you using the snippet below?

 

CreateThing.PNG

 

I have just tested it on my end and it works fine.

 

Regards,

Emmanuel