Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Personas listing page and click on (plus) icon.

  2. Give a name and description of the persona.

  3. Create a Schema with all the necessary fields. for more information, see Creating a schema

  4. For example, using the below code will generate a form in the user creation page with the fields such as username, password, first name, last name, and timezone.

    Code Block
    {
        "fields": [
        {
            
            {
                "type":  "String",
            
                "fieldType":  "email",
            
                "options":  [],
                        "validation": [
                {
                    "required": true
                }
            ],
            "isDefault": true,
             [
                    {
                        "required": true
                    }
                ],
                "isDefault": true,
                "_id":  "594f2f8bd457f592003eedef",
            
                "label":  "Username",
            
                "key":  "username"
        },
        {
            
            },
            {
                "type":  "String",
            
                "fieldType":  "password",
                        "options":  [],
                        "validation":  [
                {
                                    {
                        "required": true
                }
            ],
             true
                    }
                ],
                "isDefault": true,
             true,
                "_id":  "594f2f8bd457f592003eedee",
            
                "label":  "Password",
            
                "key":  "password"
        },
        {
            
            },
            {
                "type":  "String",
            
                "fieldType":  "text",
            
                "options":  [],
            
                "validation": [
                {
                    "required": true
                }
            ],
            "isDefault": true,
             [
                    {
                        "required": true
                    }
                ],
                "isDefault": true,
                "_id":  "594f2f8bd457f592003eeded",
            
                "label":  "First NameFirst Name",
            
                "key":  "firstName"
        
            },
        {
                    {
                "type":  "String",
            
                "fieldType":  "text",
            
                "options":  [],
            
                "validation": [
                {
                    "required": true
                }
            ],
            "isDefault": true,
             [
                    {
                        "required": true
                    }
                ],
                "isDefault": true,
                "_id":  "594f2f8bd457f592003eedec",
            
                "label":  "Last NameLast Name",
            
                "key":  "lastName"
        },
        {
            
            },
            {
                "type":  "String",
            
                "fieldType":  "text",
            
                "options":  [],
            
                "validation":  [],
            
                "isDefault": true,
             true,
                "_id":  "5e00f632a1c0aa007794a17a",
            
                "key":  "avatarSrc",
            
                "label":  "Avatar"
        },
        {
            
            },
            {
                "type":  "String",
            
                "fieldType":  "select",
            
                "options": [
                {
                     [
                    {
                        "key":  "Pacific/Honolulu",
                    
                        "value":  "Hawaii-Aleutian Standard Time"
                },
                {
                    Aleutian Standard Time"
                    },
                    {
                        "key":  "America/Adak",
                    
                        "value":  "Hawaii-Aleutian Daylight Time"
                },
                {
                    Aleutian Daylight Time"
                    },
                    {
                        "key":  "America/Anchorage",
                    
                        "value": "Alaska Daylight Time"
                },
                {
                     "Alaska Daylight Time"
                    },
                    {
                        "key":  "America/Los_Angeles",
                    
                        "value": "Pacific Daylight Time"
                },
                {
                     "Pacific Daylight Time"
                    },
                    {
                        "key":  "America/Phoenix",
                    
                        "value": "Mountain Standard Time"
                },
                {
                     "Mountain Standard Time"
                    },
                    {
                        "key":  "America/Denver",
                    
                        "value": "Mountain Daylight Time"
                },
                {
                     "Mountain Daylight Time"
                    },
                    {
                        "key":  "America/Chicago",
                    
                        "value": "Central Daylight Time"
                },
                {
                     "Central Daylight Time"
                    },
                    {
                        "key":  "America/New_York",
                    
                        "value": "Eastern Daylight Time",
                     "Eastern Daylight Time",
                        "defaultOption": "Eastern Daylight Time",
                    "default": true
                },
                {
                    "key":  "Eastern Daylight Time",
                        "default": true
                    },
                    {
                        "key": "Australia/Sydney",
                    
                        "value": "Australian Eastern Standard Time"
                }
            ],
             "Australian Eastern Standard Time"
                    }
                ],
                "validation": [
                {
                    "required": true
                }
            ],
            "isDefault": true,
             [
                    {
                        "required": true
                    }
                ],
                "isDefault": true,
                "_id":  "5e00f632a1c0aa007794a179",
            
                "key":  "timezone",
            
                "label":  "timezone"
        }
    ]
            }
        ]
    }
  5. These fields will be rendered on the user page, which will be explained in the next section.

...

  1. Select the user from the user listing page.

  2. In the user view page, you can see two tabs:

    1. Info

    2. Set Password

  3. Click on the edit icon to edit the user information.

  4. To set a password, click on the Set Password tab and give the new password and confirm it and click save.

    Image RemovedImage Added

Removing Users

...

  1. Click on the vertical ellipses button against the locked user.

  2. Click on activate.

  3. Select OK to confirm activation in the popup window.

    Image RemovedImage Added

Related Articles

...