Hi,
I am trying to create Hardware asset category at SiteWhere start, but I only manage to create asset module
How can I automatically generate an asset category from an asset module ?
My point it to access those assets on web interface (locally as described on previous message)
Here is how I do :
- On my sitewhere-tenant.xml template I added the following asset management which creates me the Hardware asset module :
<sw:asset-management>
<sw:filesystem-hardware-asset-module filename="hardware-assets.xml" moduleId="hardware-assets" moduleName="hardware-assets"/>
</sw:asset-management>
- The assets on file hardware-assets.xml are created on the asset module hardware-assets
I know I can easily create the asset category with assets using the assetModel.groovy file and loading it on template.json initializer, but I want to do it the way I described, with xml files
I am using SiteWhere 1.9
Thank you,
Faustin