Hello there,
We are developing an Umbraco package, and are going to include Member types into it (we have two custom member types).
But when creating the package via Packages -> Create package, it does not allow to select Member types to include.
Could you please advise - which is the best practice to include Member types into the package?
Thanks.
Marian
05/10/2024, 11:43 AM
Forgot to say - we are using Umbraco 13.
I mean - when a user installs the package on clean Umbraco 13 - it should auto-create these two member types for him.
For example, to include document types into the package, it's enough to check them on Packages -> Create package page in Umbraco Admin. But member types for some reason are absent on this page.
h
huwred
05/10/2024, 11:51 AM
You can create the member types in code, just create a migration script
huwred
05/10/2024, 11:54 AM
If you check my GitHub page for my mediawizard forum package there is some code in my migrations folder to do that. I would post a link, but don't have my laptop with me. (I'm doing Jury service at court unfortunately)