Referencing Global State
In addition to component data flow, you can reference global state.
querierCurrentUser
You can reference information about the logged-in user. The following items can be referenced:
- color: Color code automatically assigned to the user
- email: User's email address
- firstName: User's first name
- fullName: Combination of the user's firstName and lastName
- groups: Permission groups the user belongs to
- lastName: User's last name
- name: Username
- role: User's permission role
querierUrlParams
- value: Value of query parameters set during page transition
querierLocalStorage
- value: Value set by local storage action
querierContext
- environmentCode: Selected environment (either production / staging / custom)
- environmentName: Name of the selected environment
- isEdit: Whether it's an edit page or not
- pageName: Page name
querierCurrentTenant
- [key]: Value of properties set in the currently selected tenant
🚧 Tenant feature is only available in the SaaS plan.