Landing page
Availability
[SINCE Orbeon Forms 2022.1]
Introduction
The Landing page is organized in cards which provides quick access to:
Quick links, including Form Builder and the Administration page
Your published forms
Your in-progress Form Builder forms
Demo forms

Some cards directly list content, including the list of published forms and the list of in-progress Form Builder forms.
You can configure whether you want to have a particular card on the Landing page. For example, you can hide the demo forms for production deployment.
All Form Runner and Form Builder navigation bars now provide a direct link to the Landing page. This can be disabled if not desired.

Configuration properties
The following property control which cards are shown on the Landing page:
<property
as="xs:string"
name="oxf.fr.landing.cards"
value="quick-links published-forms form-builder-forms demo-forms"/>You can add cards showing the latest data for specific forms. You do so by adding a token of the form $app/$form/$version, where:
$appis the application name$formis the form name$versionis the form version
For example, to show the latest data for the form acme/sales/1, you would use:
<property
as="xs:string"
name="oxf.fr.landing.cards"
value="quick-links published-forms form-builder-forms acme/sales/1"/>The following property controls the number of rows available on cards shown on the Landing page:
<property
as="xs:integer"
name="oxf.fr.landing.page-size"
value="8"/>The oxf.fr.landing.cards property can now be in JSON format and specify more options for cards. Here is an example:
[
{
"card-type": "quick-links"
},
{
"card-type": "published-forms",
"title": "landing.titles.demo-forms",
"description": "landing.descriptions.demo-forms",
"thumbnail": "/apps/fr/style/images/orbeon/sports-car.svg",
"app": "orbeon"
},
{
"card-type": "published-forms",
"title": "landing.titles.demo-features",
"description": "landing.descriptions.demo-features",
"thumbnail": "/apps/fr/style/images/orbeon/checkboxes.svg",
"app": "orbeon-features"
},
{
"card-type": "published-forms",
"title": "landing.titles.published-forms",
"description": "landing.descriptions.published-forms",
"thumbnail": "/apps/fr/style/images/orbeon/book.svg"
},
{
"card-type": "form-data",
"app": "orbeon",
"form": "builder",
"version": 1
} ,
{
"card-type": "form-data",
"app": "orbeon",
"form": "bookshelf",
"version": 1
}
]The following card types are available:
card-type(string, required): type of card; possible values are:quick-links: quick links cardpublished-forms: published forms cardform-data: form data card
For each card type, the following options are available:
quick-linkscard options: nonepublished-formscard options:title(required): title of the carddescription(required): description of the cardthumbnail(required): URL of the thumbnail image for the cardapp(string, optional): application name to filter forms; if not specified, all applications are shown
form-datacard options:app(string, required): application nameform(string, required): form nameversion(integer, required): form version
For the form-data cards, the title and description are taken from the form definition.
Titles and descriptions shown above use Form Runner resources. You can also specify them directly as strings, by language code:
{
"title": {
"en": "My Title",
"fr": "Mon Titre",
"_": "My Title [TODO: localize]"
},
"description": {
"en": "My Description",
"fr": "Ma Description",
"_": "My Description [TODO: localize]"
}
}The special "_" language code is used as a fallback when the user's language is not found.
See also
Blog post: Summary page versioning support
Last updated