FAQ Widget - Akumina Community

FAQ Widget

Estimated reading time: 1 min

FAQ Home Page Summary View

 

FAQ Full Page View

 

Main Features

  • Summary list of the Question/Answer pairs for the FAQ’s
  • Maximum number of items to be displayed can be set
  • Supports both a summary view and a full page view

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

AkuminaFaq

Widget Properties Example Instance

 

Property Details
isroot If false, the list which contains the data for this instance is on the current site.

If true, the list which contains the data is on the root of the Site Collection.

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

For this example, the selectfields = ID,Title,Answer,ItemActive

listname Name of the SharePoint list that contains the data to be displayed for this instance.
viewxml The viewxml contains any special manipulation of the data that needs to be done by the widget BEFORE it gets render by the specified view.  In this case, the viewxml is set to the following string:

<View><Query><OrderBy><FieldRef Name=’ItemOrder’ Ascending=’TRUE’></FieldRef></OrderBy></Query><RowLimit>10</RowLimit></View>

cache interval 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)

VIEW View Name = Subsite-Home-FAQ

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/FaqWidget/FAQ.html

 

View Name = Subsite-FAQPage

View Template URL =

/Style%20Library/DigitalWorkPlace/Content/Templates/FaqWidget/FAQPage.html

 

Was this article helpful?
Dislike 0
Views: 44
//]]>