Skip to content

cloudscribe/cloudscribe.UserProperties.Kvp

Repository files navigation

Custom Registration fields per tenant

One of my clients had multiple upcoming projects that need custom registration fields. The goal here was to make something reusable and configurable so that per tenant there can be easily configured custom registration fields.

The solution provides the following

  1. A configuration (app-userproperties.json) based way to define custom fields per tenant for the registration page, manage user info page, and admin user edit pages so that the captured custom data can be viewed and optionally editable. It supports validation requirements per field currently supporting input, select, textarea, datepicker, and dateofbirthpicker, and read only label views. You can define custom views per property or choose from the ones already included.

  2. The captured custom data is stored in a generic key value data store that could also be reused for other purposes.

  3. You can add custom form fields automatically to views based on the config file without having to manually manage all the form elements in the views. We could also if needed make custom views per tenant because of the ability to add custom views per tenant already provided in cloudscribe Core. See how we are adding custom form fields in RegisterMiddle, UserInfoMiddle, and UserEditMiddle views with very little code.

  4. Custom implementations of IHandleCustomRegistration, IHandleCustomUserInfo, and IHandleCustomUserInfoAdmin interfaces from cloudscribe Core process the additional form fields

Credits

esdm logo

The code in this solution was developed under sponsored open source development with funding provided by exeGesIS Spatial Data Management

If you are interested in sponsoring additional open source features for the cloudscribe ecosystem, please contact me

See the complete list of cloudscribe libraries on cloudscribe.com

If you have questions please visit our community forum https://www.cloudscribe.com/forum

About

A configuration based solution with generic key/value storage for custom user data on the registration, user info, and user edit sections of cloudscribe Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published