PageUrlPathsDocumentQueryExtensionsWithPageUrlPathsTQuery, TObject Method |
Namespace: CMS.DocumentEngine.Routing
public static TQuery WithPageUrlPaths<TQuery, TObject>( this IDocumentQuery<TQuery, TObject> query, bool withPageUrlPaths = true ) where TQuery : Object, IDocumentQuery<TQuery, TObject> where TObject : new(), TreeNode
The method joins PageUrlPathInfo data, if the routing mode is set to BasedOnContentTree. In case of Custom routing mode, no data are joined to the result.
Has to be called before Source(ActionQuerySource) method if used together in one query.