Skip to main content
1-Visitor
September 7, 2020
Question

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

  • September 7, 2020
  • 1 reply
  • 810 views

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

5-Regular Member
September 10, 2020

Hello @Raccone,

 

Are you using the snippet below?

 

CreateThing.PNG

 

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

 

Regards,

Emmanuel