The value of a field on the page from where the query was issued. For example, this value can be used to query content of the managed property Path. URL of the page from where the query was issued. Page, URL token, query string and request properties Query variable Language of the Site Collection from where the query was issued in ll-cc format - for example, en-us.Īny property from the property bag of the root site (SPWeb) in the site collection (SPSite) from where the query was issued, including custom properties. Numeric value of the locale as specified by the Regional Settings in the Site Settings on the Site Collection from where the query was issued. This value corresponds to the value of the managed property SiteID. GUID of site collection from where the query was issued. URL of site collection from where the query was issued. Language of the Site from where the query was issued in ll-cc format - for example, en-us.Īny property from the property bag of the site (SPWeb) from where the query was issued, including custom properties. Numeric value of the locale as specified by the Regional Settings in the Site Settings on the Site from where the query was issued. This value corresponds to the value of the managed property WebId. GUID of site from where the query was issued. URL of the site from where the query was issued. Site and site collection properties Query variable Note that not all query variables are supported in modern Microsoft Search experiences and APIs.
The following tables show the query variables for SharePoint Server and SharePoint in Microsoft 365, and examples on how they can be used. APPLIES TO: 2013 2016 2019 Subscription Edition SharePoint in Microsoft 365 Query variables