The location switcher is controlled through the `fc.mystique.manifest.store`setting.Navigate to:Fluent OMS → Settings → `fc.mystique.manifest.store`Ensure the manifest includes a `context` section similar to the following:
The user must have more than one location context assigned for the switcher to appear.
Configure a Predefined Location Using URL Parameter
If each physical store uses dedicated devices, Fluent Store can automatically open in a predefined location when the application loads.To ensure a device always opens Fluent Store in the correct location, you can append the `user.location.ref` parameter to the application URL. This allows location-specific devices to be configured with a predefined default context.The parameter format is:`user.location.ref=<LOCATION_REF>`For example:`https://<store-app-url>?user.location.ref=5000299_SYD`When `user.location.ref` is provided:
The specified location is automatically applied when the application loads.
No manual interaction is required.
The predefined location is applied independently of the logged-in user.
Standard permission checks are still enforced.
Understand Context Resolution
When Fluent Store loads, the active location is determined in the following order:
`user.location.ref` provided in the URL
Previously selected location (from the user's previous session)
First accessible location from the user’s assigned location list
If no URL parameter is provided, the system applies the previously selected location, or the first assigned location if no prior selection exists.
Access Restriction and Fallback Behavior
If a user does not have permission to access the location specified via `user.location.ref`:
The system automatically switches the user to an authorized location.
The fallback location follows the standard context resolution logic described above.
Important
The `user.location.ref` parameter defines only the initial context. It does not override role-based access control. User permissions are always enforced.