Creating a Property for All Users
This guide will help you create a property for all Users of your platformOS site.
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.
Creating a property for all Users is a one-step process:
Step 1: Create yml file
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
Congratulations! You have created a property for all Users. Now you can learn how to namespace user properties using UserProfiles: