Member types include into Umbraco package
# help-with-umbraco
m
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.
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
You can create the member types in code, just create a migration script
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)
m
Thanks, will look at it.
h
5 Views