Arena session variables

The URL to an external website of some portlets may be configured. This is constructed using FreeMarker syntax, with Arena session variables from Arena content included.

Arena session variables provide a low-level interface to the portlet session through the FreeMarker Templating Engine. They enable dynamic portlet configuration.

The following Arena variables are processed by FreeMarker:

Variable Description
articleUuid Article UUID
articleOpenEntityKeys Article open entity keys
articleSubjects Article subjects
subjects Catalogue record subjects
title Catalogue record title
author Catalogue record author
authors Catalogue record authors
contributor Catalogue record contributor
contributors Catalogue record contributors
mediaClass Catalogue record media class
recordShelfMark Record shelf mark
recordClassificationCodes Record classification codes
recordControlNumber Record control number
catalogueLanguages Catalogue record languages
recordNumbers Record numbers ex. recordNumbers.isbn, recordNumbers.ean
isbns Catalogue record isbns
issns Catalogue record issns
date Catalogue record publication year
issue Catalogue record issue
titlemain Catalogue record title main
titleoriginal Catalogue record title original
catalogueUuid Catalogue UUID
catalogueId Catalogue Id
agencyId Agency Id
agencyName Agency name
targetAudience Target audience
query Current search query
userId Logged user id at the Central services
card Logged user card
pin Logged user pin
arenaBasePath Arena base path ex. /liferay/web/arena1
arenaPath Arena path ex. /liferay/web/arena1/search
arenaFriendlyURL Arena friendly URL ex. /arena1
portalSiteId Arena portal site id (numerical)
datetime The difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC (used to check if article is valid)
parentRecordId Parent record id
externalQuery Current search query, but without solr qualifiers

For examples, see the document Arena Session Variables (the variables listed in this document are not all supported, see the list above instead).