Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Jackson 17 posts 127 karma points c-trib
    Aug 21, 2023 @ 21:34
    Richard Jackson
    0

    Extending User Model to include additional text fields (Umbraco 10)

    Hi there

    Is there any way to add additional text fields such as "Description" or "Job Title" to a User's Profile in the User Section of the backoffice?

    Additional text field in User Profile, proof of concept

    Taking example from such fine blogs as Skrift which close with an author description, I wanted to work out the best way to store those author details in Umbraco, and my first instinct was to store them with the Users. Is this correct, or would a different approach (such as Custom Tables) be more appropriate?

    Any advice, direction or examples would be greatly appreciated.

    Rich

    Umbraco 10.4.3

  • Peter Gregory 408 posts 1614 karma points MVP 3x admin c-trib
    Aug 21, 2023 @ 22:37
    Peter Gregory
    1

    Hey Richard. You can't directly on the user (i am assuming you are talking about users and not members).

    The way that I have done this in the past is to have content in the content tree and on those items associate it with a User Picker to link it back to the User record.

    That way when a user writes a blog post and you want their bio you can retrieve it from the content with that reference.

  • Richard Jackson 17 posts 127 karma points c-trib
    Aug 22, 2023 @ 08:35
    Richard Jackson
    0

    Hi Peter - ah great, will look into and get back to you, ty!

Please Sign in or register to post replies

Write your reply to:

Draft