Creating a Property for All Users
Last edit: Apr 10, 2020
This guide will help you create a property for all Users of your platformOS site.
Requirements
To follow the steps in this tutorial, you should be familiar with the required directory structure for your codebase, and understand the concept of users.
Steps
Creating a property for all Users is a one-step process:
Step 1: Create yml file
Create the user.yml file in the app directory with the properties you want the user to have. For example, assuming you want to store a phone number:
properties:
- name: phone_number
type: string
Next steps
Congratulations! You have created a property for all Users. Now you can learn how to namespace user properties using UserProfiles: