Smartsite 7 - ...

Content Library

The Content library shows a list of all the content items, taking content access security into account.

The list of content items can be sorted on number, title, modification date or last edited by just by clicking on the column header. Toggle the sort order from ascending to descending (or vice-versa) by clicking the column header again.
When you select a specific content item, details of that content item will be shown on the top right of the screen, and a number of action buttons will be enabled. 


Enter a search term to search for a specific content item. The following fields will be used within the search query: title, description, body, code, author and friendlyname. 
When you enter a number, the search will also include the item number.


The following facets (filters) are available:

  • Last edited by
    Filter the content items on the user who has last edited it.
  • Last edited
    Only show content items which have been updated within a specific period of time (today, yesterday, last week, last month, etcetera). 
  • Content type
    Filter the content items on content type.
  • Channel
    Code: CHANNEL
    Filters the content items on channel.
  • Status
    Code: STATUS
    Filters the content items on status (active, inactive, archived, etc.).
  • Browsable
    Filters the content items on content types which are browsable or not.
  • Author
    Code: AUTHOR
    Filters the content items on author.

Which facets are shown and the order in which they are shown can be overridden using the action parameter FacetsList specifying the codes of the facets to show in the order you want them to appear.

As of Smartsite 7.8, facets are displayed either expanded or collapsed, which is a (default) setting of each facet.
To customize which facets are displayed expanded (initially) and which are displayed in a collapsed state, you can specify the action parameter ExpandFacets.

Every facet (code) included within this comma-separated list will be displayed expanded, whereas every other facet will be displayed collapsed.

Action Parameters

This action supports the action parameters listed below.

Name Release From Description
ContentTypeFilter 7.1

Allows you to specify which contenttypes should be included within the library.
Contenttypes should be specified by code and must be semicolon separated.

Example: ContentTypeFilter = "IPD;SPD;VAC"

SearchThesTerms 7.7 Boolean indicating whether or not a library search should take the thesaurus terms into account as well. Defaults to false.
FacetsList 7.7 See above.
FacetValues 7.8

Allows you to specify (a) fixed value(s) for one or more facets, to filter the records based on these facets. Each facet specified within this parameter will be set to Hidden, so the user will not be able to undo the filtering.

Notation: FACETCODE=key1[,key2[,...]]. Use ';' as separator when specifying value(s) for multiple facets.

Example: FacetValues = "CONTENTTYPE=REG,RGO;STATUS=0"

ExpandFacets 7.8 See above.
ThesauriFacetsList 7.7

Allows you to specify one or more thesauri codes (comma-separared), for which a Facet filter should be displayed.

Example: ThesauriFacetsList="VAC_KANALEN,VAC_ORGANISATIES"

StartNode 7.8

Allows you to specify a startnode, to only include content items from a specific tree.
The ctfp ctrl:startnode can be used on contenttype fields which use the iteminput or itemlistinput control to set this action parameter.

FoldersOnly 7.3

When the action parameter FoldersOnly equals "1", the result will be filtered on folders only.
The ctfp ctrl:foldersonly can be used on contenttype fields which use the the iteminput or itemlistinput control to set this action parameter.

ActionTitle 8.0

Allows for setting a specific title for the content library.

CustomColumns 8.0 Allows for specifying additional columns to be shown within the content library. Notice that not just any column can be shown as additional column.
At this moment, the columns to choose from include activationdate, adddate, showfrom, showuntil, retainabilitydate, author, description, assignedto.

Example: CustomColumns="ShowFrom,ShowUntil"
CustomSortOrderIndex 8.0 Allows for specifying on which column the content library should be sorted. The index must equals the column number.
Example: CustomSortOrderIndex="4"
CustomSortOrderDirection 8.0 Allows for specifiying the default sort direction.
Example: CustomSortOrderDirection="ascending"
CustomWheres 8.0 Allows for specifying additional where statement(s) to include within the query the content library uses. Most item related widgets which have been added within Smartsite 8.0 do use this feature.
Example: CustomWheres=" and c.ShowFrom is not null" (only show items for which a ShowFrom date has been set).
ShowPreselectedFacets 8.0 By default, facets for which a value is supplied (preselected facets, using the FacetVaues action parameter) will be set to hidden. However, for the new item related widgets, it was needed to be able to specify a facet value without the facet being set to hidden. This can be achieved using the ShowPreselectedFacets action parameter, which should include a comma-separated list of facetcodes of facets which must be shown regardless a preselected value has been supplied.
Example: ShowPreselectedFacets="SHOWFROM,EDITSOF"