Keyword Replacements

Last Updated: 25 Sep 2017

Asset Listing Page

The following keyword replacements can be used on an Asset Listing Page.

Default, Type and Position Format Bodycopies

These keywords can be used in conjunction with the standard Common Keywords.

Keyword Replacement Information shown
%asset_is_first% Boolean value that is evaluated as true if the asset is the first one on the current page (or in the current group if grouping is used).
%asset_is_last% Boolean value that is evaluated as true if the asset is the last one on the current page (or in the current group if grouping is used).
%asset_is_list_first% Boolean value that is evaluated as true if the asset is the first one in the entire list.
%asset_is_list_last% Boolean value that is evaluated as true if the asset is the last one in the entire list.
%asset_lineage% This will show the path of where the asset exists in the system.
%asset_lineage_linked% This will show the path of where the asset exists in the system. Each asset in the path is hyperlinked.
%asset_position%   This will show the position of the asset in the list.
%asset_page_position% The asset's position on the current page (or in the current group if grouping is used).
%asset_list_position% The asset's position in the whole list.
%asset_odd_even%   This will show where the asset is in a position number that is odd or even. For example, if it is in position one it will be odd. If it is in position two, it will be even.
%root_nodes%   This will show the asset ID of the Root Node the asset is located in.
%asset_attribute_question_destinations% This will display the details of the destination question for each option in the current question in a Decision Tree.
%<selection>_asset_selection% This will display an asset selection, where <selection> is the name of the selection.
%<selection>_asset_selection_input%  This will print a html5 input field for the specified asset selection.
%groupX_link_value%

If a custom group is of the Parent Asset type, this keyword will show the value stored on the link between the parent asset and the next level down - whether this be another Parent Asset custom group, or the listed asset itself.

The "X" is to be replaced by the Group Level number shown on the Custom Grouping screen. For example, to get the link value of a parent asset defined at Group Level 1, use %group1_link_value%.

Only works if:
  • An Asset Listing's List Format has been set to Custom Grouping,
  • One or more levels of Custom Grouping is of the Parent Asset type.

Page Contents and Page Contents (No Results) Bodycopies

Keyword Replacement Information shown
%sort_by%   This will show the list of options to sort the list by, These options are defined on the Asset Sorting screen.
%sort_order%   This will show the list options to change the sort order of the list. These options are defined on the Asset Sorting screen.
%reset_button%   This will show the reset button. You would show this button if you were using the Sort By or Structure Root Node Selector keyword replacements.
%submit_button%   This will show the submit button. You would show this button if you were using the Sort By or Structure Root Node Selector keyword replacements.
%root_nodes%   This will show the asset ID for each of the Root Nodes selected on the Details screen of the Asset Listing page.
%asset_listing%   This will show the list of assets. If you do not include this keyword replacement, the list will not appear on the page.
%previous_page%   If you have split the list of assets over a number of pages, this will show a link to the previous page of assets. You can change the wording of this link in the Previous Link field on the Details screen of the Asset Listing.
%previous_page_href%   If you have split the list of assets over a number of pages, this will show a href to the previous page of assets.
%next_page%   If you have split the list of assets over a number of pages, this will show a link to the next page of asset. You can change the wording of this link in the Next Link field on the Details screen of the Asset Listing.
%next_page_href%   If you have split the list of assets over a number of pages, this will show a href to the next page of assets.
%page_list%   If you have split the list of assets over a number of pages, this will show a hyperlink to each page in the list. If you are using the A-Z list format, this will show a hyperlink for each character. When you click on one of the characters, the assets in the list starting with that character will be shown.
%page_list_without_unused%   If you are using the A-Z list format, this will show a hyperlink for each character that has assets that starts with that letter. For example, if there are no assets that start with the letter G, it will not be included in the list. When you click on one of the characters, the assets in the list starting with that character will be shown.
%page_list_X%   If you have split the list of assets over a number of pages, this will show a sliding list of page numbers that are hyperlinked. The number of pages it shows at once is defined in X. For example, if you enter 3 for the X value of the keyword replacements, it will show 1 2 3, when you click on 3, it will "slide" along the list of pages and show 2 3 4.
%page_number%   If you have split the list of assets over a number of pages, this will show the number of the page you are currently viewing.
%asset_count%   This shows the total number of assets in the list.
%page_asset_count%   If you have split the list of assets over a number of pages, this will show the number of the page you are currently viewing.
%total_pages%   If you have split the list of assets over a number of pages, this will show the total number of pages there are for the list.
%first_asset_position%   This will show the number of the position of the first asset.
%last_asset_position%   This will show the number of the position of the last asset. For example, if you have 10 assets in the list, 10 will be shown.
%unique_asset_count%   This will show the number of unique assets in the list.
%structured_root_node%   This will show the list of root nodes that have been selected in the Structured Root Node fields on the Details screen of the asset Listing page.
%select_all_js_code%   If you are using asset selections, this option will add the code so the user can select all options in the list.

Group Format Bodycopy

If you are grouping by the parent asset, along with these keyword replacements you can use the standard keyword replacements to show information about the parent asset. The keyword replacement, however, should be prefixed with parent_ instead of asset_. For example, if you want to show the date the parent asset was created, use the keyword replacement %parent_created_short%.

Keyword Replacement Information shown
%group_listing%   This will show the list of assets for the group. This keyword replacement needs to be included so that the list of assets for the group is shown on the page.
%group_name%   If you are grouping by the parent asset, this will show the name of the parent asset. For example, if you have created a Folder called January and it is a group on an Asset Listing page, January will appear on the page.
%group_name_linked%   If you are grouping by the parent asset, this will show the name of the parent asset, which is hyperlinked to that asset. For example, if you have created a Folder called January and it is a group on an Asset Listing page, January will appear as a hyperlink on the page.
%parent_contents%   If you are grouping by the parent asset, this will show the content of the parent asset and use any Paint Layouts that have been applied to the asset.
%parents_contents_raw%   If you are grouping by the parent asset, this will show the content of the parent asset but will not use any Paint Layouts that have been applied to the asset.
%group_immed_child_group_count%   This will show the number of assets that are direct child assets of a group. For example, if you have created a Folder called January that has two PDF Files that are direct child assets, this will show 2. If those PDF Files have any child assets they will not be counted as they are not direct children of the January Folder.
%group_total_child_asset_count%   This will show the total number of assets that are under a group.

Tag Listing Page

The following keyword replacements  can be used on a Tag Listing Page.

Default Format Bodycopy
Keyword ReplacementInformation shown
%tag_count%This will show the number of assets that have been tagged by the listed Thesaurus Term.
%tag_size%This will show a size value determined by the combined tag weighting across the candidate assets. This keyword replacement is typically used in conjunction with CSS to create tag clouds.