Navigator 365 supports special variables in search queries and filters, enabling dynamic, user-aware, and date-sensitive searches without manual updating. This article covers two primary variables: Today and User.
Today
The {Today}
keyword lets you filter results based on the current date. Calculations are always in whole days.
Usage
{Today±<integer>}
-
+<integer>
to move forward in days -
-<integer>
to move backward in days
Examples
-
Show documents created in the last 10 days:
CreatedDate>={Today-10}
-
Show items expiring in 5 days:
ExpirationDate<={Today+5}
Important: Do not include spaces in the calculation.
Correct:{Today-10}
Incorrect:{Today - 10}
User
The {User}
variable dynamically represents the user who issued the query. You can reference the user’s name or email address:
Variable | Description | Typical Use Case |
---|---|---|
{User} |
Display name of the querying user | Query by Author managed property |
{User.Name} |
Display name explicitly | Same as {User} , but more explicit |
{User.Email} |
Email address of the querying user | Query by WorkEmail managed property |
Examples
-
Show documents authored by the current user:
Author:{User}
-
Show items assigned to the current user’s email:
WorkEmail:{User.Email}
Learn More
For a complete list of query variables supported by Microsoft Search, refer to the official documentation:
Available query variables in Microsoft Search
Comments
0 comments
Article is closed for comments.