[DEPRECATED] Creating a Property for All Users
Warning
This article series promotes UserProfiles and Forms, which are deprecated. We decided to reduce the learning curve by promoting explicit implementation via Liquid, Pages and GraphQL, instead of built-in features, which add magic into the mix increasing the learning curve and making debugging harder. Please refer to our Get Started to read up-to date articles, including User Authentication
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: