<@td.assemblies>

Retrieves a user's Assembly collection and stores them in the @var

This tag contains the following attributes:

limit
The maximum number of results per page. Must be a positive integer n where 0 < n <= 2147483647. This does not limit the total number of search results, which may be limited by other settings.
  • Required: false
  • Type: int
  • Default: 10
scope
The scope of the @var attribute. Valid values are "page" and "request".
  • Required: false
  • Type: String
  • Default: "request"
sortBy
The property or properties to sort by, separated by whitespace or comma.
  • Required: false
  • Type: String
  • Default: none
sortDirection
A list of sort directions ('ASC' or 'DESC'), corresponding in order to the list of 'sortBy' fields. If the list is empty or shorter than the 'sortBy' list, the default of 'ASC' will be used for the missing directions.
  • Required: false
  • Type: String
  • Default: ASC
startAfter
Alternative pagination mode. The startNextAfter token from a previous page.
  • Required: false
  • Type: Object
  • Default: null
startPage
The page number to return. Must be an integer 0 <= n <= 10000. Note that ithe preferred pagination method is to use the startAfter attribute.
  • Required: false
  • Type: int
  • Default: 0
var
The name of the variable used to access the result.
  • Required: true
  • Type: String
  • Default: none

Example Usage:

It is advised to check for the presence of the Assemblies Feature and ensure that a PortalUser is logged in before using this tag. Failing to do so will result in errors.

<#if portal.enabledFeatures?seq_contains['customAssemblies'] && user??>
  <@td.assemblies var="assemblies" />
  .
  .
  .
  <#if assemblies?size &gt; 0>
    <#list assemblies as assembly>
      <a href=<@td.assemblyViewerUrl assembly=assembly/>${assembly.name?html}</a>
    </#list>
  </#if>
</#if>