Hello,
I’m getting the impression that creating a custom entity type is either not possible or at least not trivial.
Seeing as Ayon already has a database and a means to interact with it via its API, I was presuming I could e.g.:
- define an entity type (i.e. conceptually a “DB table”) and its fields/attributes
- write code which creates entities (i.e. populating the table with records)
- write code which cross-references entities
- view the list of entities via the front end (web interface), edit their fields, query them
Cheers
Hey there,
In the Anatomy tab of any project, you can create your own folder types. You can then create folders with your specific folder types (from code or from the web UI). If you want to add specific attributes to your folders, you can find the Attributes tab next to the studio settings and then create any attribute/field you want.
I hope this small explanation will help you 
As far as I can tell, it’s all metadata. The server saves what it gets.
You can implement a creator plugin with product type set to foo.
When publishing, it’ll be saved in the DB with name foo.
When adding foo to the product types list in the anatomy page, AYON server will know how to display it in products page.
When implementing loaders for loading your new product foo you’ll need to specify what product types your loaders can load.
About attributes. product attributes are passed along to the server. And, as Adrien mentioned, if you want more attributes, you can add them in the attributes page and then give them a value on publishing.
For examples, check how different product types where implemented inside different DCC addons.