Ethaks
Ethaks
Custom Classes by Item Type?
Nowadays you can attach most any functionality to the type models, with only a few things requiring handling in the document class. And even then, delegating to the type data model is still an option if that fits your purposes better.
5 replies
Custom Classes by Item Type?
To keep in line with modern Foundry: don't use polymorphic document classes, use type-specific TypeDataModels in the documents' system instead. For reference, there's a general DataModel page in the wiki, which amongst other things also links to Foundry's KB entry on System Data Models.
5 replies