Generic Search List Widget - Akumina Community

Generic Search List Widget

Estimated reading time: 1 min

 

Main Features

  • Displays the results of a search including results list and filters

Uses Content Type: (click to view content type definition)

N/A

Widget Properties Example Instance

 

Property Details
selectfields The data fields (columns) from the SharePoint search index that the widget should retrieve for use in this instance.

For this example, the selectfields = HitHighlightedSummary,Title,Path,ContentType,SiteTitle,ListID,PageDataTitle,PageDataSiteId

ispaging If false, the widget will not display paging controls

If true, the widget will display paging controls (if implemented by developer in widget)

pagesize Sets the number of items to display on each page IF paging is enabled.
Query query string to be executed for the search

{searchboxquery}* {QueryString.scope} (SPSiteURL:{SiteCollection} (((FileExtension:zip OR FileExtension:txt OR FileExtension:doc OR FileExtension:docx OR FileExtension:xls OR FileExtension:xlsx OR FileExtension:ppt OR FileExtension:pptx OR FileExtension:pdf)(IsDocument:”True”)) OR (contentclass:”STS_ListItem” Path:”{SiteCollection}/Lists/PageData_AK/*” {AkLanguageId:{Site.LanguageId}})))

refiners Defines the search data refiners to be displayed in the following format:

DisplayAuthor,FileType,owstaxidmetadataalltagsinfo

callbackmethod
cacheinterval Sets the time (in secs) that the data should be saved in the local browser cache of the current user.

0 = do not cache the data for this widget

-1 = use the default caching strategy set in the Digital Workplace configuration

[whole number] = cache for specified time (secs)

uicallbackmethod
VIEW View Name = Results

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/GenericSearchListWidget/Results.html

 

Was this article helpful?
Dislike 1
Views: 168
//]]>