Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

Result "tokens"

Sort:
You are not authorized to post a reply.
Author
Messages


Bill











New Member



Posts:




New Member



    Is there a source for me to view all of the available tokens for in the results template (ex. [Result:GoToFullUrl])


    samyb











    New Member



    Posts:




    New Member



      Hello Bill,

      We don't have a source to let you see the available tokens, however here is the full list of properties for a result item with the following notation: Type, Name, TemplateName (sorry about the formatting, it is eaten by the editor):
      • int SearchItemID [Result:SearchItemID]
      • string Title [Result:Title]
      • string Description [Result:Description]
      • string Author [Result:Author]
      • DateTime PubDate [Result:PubDate]
      • string Guid [Result:Guid]
      • int Image [Result:Image]
      • int TabId [Result:TabId]
      • string SearchKey [Result:SearchKey]
      • int Occurrences [Result:Occurrences]
      • int Relevance [Result:Relevance]
      • int ModuleId [Result:ModuleId]
      • bool Delete [Result:Delete]
      • string AuthorName [Result:AuthorName]
      • int PortalId [Result:PortalId]
      • Document AdditionalFields [Result:AdditionalFields]
      • string ForcedUrl [Result:ForcedUrl]
      • string Uid [Result:Uid]
      • Query Query [Result:Query]
      • virtual string GoToUrl [Result:GoToUrl]
      • string GoToFullUrl [Result:GoToFullUrl]
      • PortalQueryingDriver CurrentQueryingDriver [Result:CurrentQueryingDriver]
      • float Score [Result:Score]
      • ScoreDoc ScoreDoc [Result:ScoreDoc]
      • float Boost [Result:Boost]
      • Document Document [Result:Document]
      • string Highlights [Result:Highlights]
      • string Field [Result:Field]
      • string LocaleCode [Result:LocaleCode]
      • string ProviderName [Result:ProviderName]
      • string ModuleName [Result:ModuleName]
      • ChangeFrequency SiteMapFrequency [Result:SiteMapFrequency]
      • decimal SiteMapPriority [Result:SiteMapPriority]
      • string IconPath [Result:IconPath]
      • string Category [Result:Category]
      • List ContentTaxonomy [Result:ContentTaxonomy]
      • List ModuleTaxonomy [Result:ModuleTaxonomy]
      • List TabTaxonomy [Result:TabTaxonomy]
      • List CompoundedTaxonomy [Result:CompoundedTaxonomy]
      • string ItemType [Result:ItemType]
      • string ItemGroup [Result:ItemGroup]
      • string RawItemType [Result:RawItemType]
      • string RawItemGroup [Result:RawItemGroup]
      • List PubHistory [Result:PubHistory]
      • string FormattedDate [Result:FormattedDate]
      • DateTime IndexedDate [Result:IndexedDate]
      • CultureInfo Culture [Result:Culture]
      • ModuleInfo ModuleInfo [Result:ModuleInfo]
      • string FriendlyModuleName [Result:FriendlyModuleName]
      • string ModuleTitle [Result:ModuleTitle]
      • string ModuleViewRoles [Result:ModuleViewRoles]
      • DotNetNuke.Entities.Tabs.TabInfo TabInfo [Result:TabInfo]
      • string TabName [Result:TabName]
      • string TabTitle [Result:TabTitle]
      • string TabDescription [Result:TabDescription]
      • string TabViewRoles [Result:TabViewRoles]
      • DotNetNuke.Entities.Tabs.TabInfo ParentTab [Result:ParentTab]
      • int ParentTabId [Result:ParentTabId]
      • string ParentTabName [Result:ParentTabName]
      • string ParentTabTitle [Result:ParentTabTitle]
      • string ParentTabDescription [Result:ParentTabDescription]
      • string CompoundedTaxonomyList [Result:CompoundedTaxonomyList]
      I am planning a series of posts about LuceneSearch and its results on our blog, where i'll document templates, custom results pages, etc, but i hope this helps you. If you need more information regarding some fields, don't hesitate to ask directly. Best regards, Samy
      You are not authorized to post a reply.