Skip to main content
17-Peridot
March 2, 2021
Question

What's the ThingPackage in metadata.xml ?

  • March 2, 2021
  • 1 reply
  • 2142 views

 

Hi, 

I'm writing a Java extension and editing the metadata.xml,  but I don't understand what the term ThingPackage stands for .  

 

According to the XML structure , the ThingTemplate must refer to ThingPackage which defines the name of the classname, while ThingShape can define classname directly.  

 

What's the relationship among ThingPackage, ThingTemplate ,ThingShape and Thing ? 

 

<ThingPackages>
<ThingPackage className="" description="" name=""/>
</ThingPackages>
<ThingTemplates>
<ThingTemplate aspect.isEditableExtensionObject="false"
description=""
name="" thingPackage=""/>
</ThingTemplates>
<ThingShapes>
<ThingShape aspect.isEditableExtensionObject="false" className="" description="" name=""/>
</ThingShape

Regards,

Sean

1 reply

16-Pearl
March 2, 2021

Please refer following post for your query,

What is ThingPackage

Updating metadata.xml

seanccc17-PeridotAuthor
17-Peridot
March 2, 2021

@SachinSharma ,

 

The 1st link What is ThingPackage  points to this post itself ,  could you update the link ? 

 

Thanks,

Sean

16-Pearl
March 2, 2021

My mistake, I have updated the post with correct link.