Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So I can see that models builder has created a model for my member type "Student" which is great... But how do I create a new instance of this model so I can use it to build my registration form? When I try to create an instance it says it needs an iPublishedContent object passed in.
Is this even the right approach? Would be great to build my registration and profile forms without having to copy over property names.
Or is there simply a way to access custom properties from the built-in RegisterModel using alias instead of index? That seems really odd if there isn't.
Does anyone use this forum anymore? I'm finding v8 to be a nightmare. How do I do something as simple as create a new member in a custom controller? Seems like so much has changed.
I think you should look into the IContentService, the IContentService.Create overloads is one you can use.
The mentioned IPublishedContent is just model for viewing.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted