cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

Raccone
12-Amethyst

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 1
emscur
13-Aquamarine
(To:Raccone)

Hello @Raccone,

 

Are you using the snippet below?

 

CreateThing.PNG

 

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

 

Regards,

Emmanuel

Announcements


Top Tags