You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`@mergin_username`|`martin`| global | Name of the user currently logged in to <MainPlatformNameLink /> |
20
-
|`@mergin_user_email`|`[email protected]`| global | Email of the user currently logged in to <MainPlatformName />|
21
-
|`@mergin_url`|`https://app.merginmaps.com`| global | URL of the <MainPlatformName /> service |
22
-
|`@mergin_project_name`|`Tree survey`| project | Name of the active <MainPlatformName /> project |
23
-
|`@mergin_project_owner`|`martin`| project | Name of the owner of the active project |
24
-
|`@mergin_project_full_name`|`martin/Tree survey`| project | Owner and project name joined with a forward slash |
25
-
|`@mergin_project_version`|`42`| project | Current version of the active project |
26
-
27
-
A common use case is to use `@mergin_username` as the [default value](../default-values/) for one of the fields in a survey layer to automatically track who has added (and/or modified) a particular record.
|`@mm_full_name`|`martin second name`| global | Full name of the currently logged in user, blank if the full name is not set |
21
+
|`@mm_username`|`martin`| global | Username of the user currently logged in to <MainPlatformNameLink /> |
22
+
|`@mm_user_email`|`[email protected]`| global | Email of the user currently logged in to <MainPlatformName />|
23
+
|`@mm_url`|`https://app.merginmaps.com`| global | URL of the <MainPlatformName /> service |
24
+
|`@mm_project_name`|`Tree survey`| project | Name of the active <MainPlatformName /> project |
25
+
|`@mm_project_full_name`|`martin/Tree survey`| project | Workspace and project name joined with a forward slash |
26
+
|`@mm_project_version`|`42`| project | Current version of the active project |
27
+
28
+
A common use case is to use `@mm_username` or `@mm_user_email` as the [default value](../form-configuration/#default-values) for one of the fields in a survey layer to automatically track who has added (and/or modified) a particular record.
29
+
30
+
::: tip `mergin_` variable names still work!
31
+
QGIS variables listed here previously used the prefix `mergin_`. Now we use the prefix `mm_` standing for <MainPlatformName />.
32
+
33
+
Both naming options are functional and will continue to work in the future: `@mergin_user_email` and `@mm_user_email` provide the same value when used in QGIS expressions.
0 commit comments