Is there a way to add a new property for users (not members) in Umbraco?
I modified the core of Umbraco but I'm blocked on saving profile, when I receive the error Method not found: 'Void umbraco.BusinessLogic.User.set_CustomerID(Int32)'.
CustomerID is obviously the new property I'm trying to add.
Unfortunately only with custom database table. I even thought it would be a feature in the new version 7.7.0, but it will not be contemplated.
I have done this by reimplementing EditUser.aspx.cs by modifying the Umbraco source code by adding the properties and loading of the table I created. However it is only valid if the version of umbraco will not be updated, which was the case of my client.
Another way is to create a dashboard with a custom implementation where you can add the properties you want by using the custom database table. One starting point is this package:
Extending users
Is there a way to add a new property for users (not members) in Umbraco? I modified the core of Umbraco but I'm blocked on saving profile, when I receive the error Method not found: 'Void umbraco.BusinessLogic.User.set_CustomerID(Int32)'. CustomerID is obviously the new property I'm trying to add.
Unfortunately only with custom database table. I even thought it would be a feature in the new version 7.7.0, but it will not be contemplated.
I have done this by reimplementing EditUser.aspx.cs by modifying the Umbraco source code by adding the properties and loading of the table I created. However it is only valid if the version of umbraco will not be updated, which was the case of my client.
https://github.com/umbraco/Umbraco-CMS/blob/90f2fc4cd9156e4eaa03b17fa68e7980ea225580/src/Umbraco.Web/umbraco.presentation/umbraco/users/EditUser.aspx.cs
Another way is to create a dashboard with a custom implementation where you can add the properties you want by using the custom database table. One starting point is this package:
https://github.com/leekelleher/umbraco-bulk-user-admin
https://our.umbraco.org/projects/backoffice-extensions/bulk-user-admin/
But remembering that soon the new version of Umbraco 7.7.0 will change the way users edit. Some things may change.
https://umbraco.com/blog/umbraco-77-beta-beautiful-user-management-is-now-a-thing/
is working on a reply...