JSON profile data type #4569
Unanswered
markdav-is
asked this question in
Ideas
Replies: 1 comment 2 replies
-
@markdav-is User Profile fields are stored as Settings for each User. The general idea with Settings in Oqtane is to utilize them as a standard dictionary - ie. name/value pairs. So don't try to aggregate multiple fields into a single JSON value - just use a name/value pair for each individual field. This will allow you to reference the fields using PageState.User.Settings["FieldName"] in your components. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've been using JSON embedded in Profile fields to track additional user context like pages-visited. When editing a profile, JSON data is seen as a blank string. It would be nice to see it in a multi-line text editing region. Do we need a new data-type for this?
Beta Was this translation helpful? Give feedback.
All reactions