Webapp list (backup)

Accessible from

  • Admin Console:¬†Site Manager > Module Templates > Web App Layouts > WEBAPP_NAME
  • SFTP & Develop Mode: /Layouts/WebApps/WEBAPP_NAME/list_backup.html (for example /Layouts/WebApps/Car Catalogue/list_backup.html)

Renders these tags

Warning: if you need to access a liquid tag that has a space in its name, for example tag_large image_value use this syntax: {{this.items[0].["large image_value"]}} - Liquid does not allow for the name of its output tags to contain spaces. In this case the tag that contains a space needs to be wrapped in square brackets and quotes and preceded by "this.".

Liquid tag Legacy tag Description
{{itemid}} {tag_itemid} Item's system ID
{{address1}} {tag_address1} Address1
{{address2}} {tag_address2} Address2
{{city}} {tag_addresscity} City
{{country}} {tag_addresscountry} Country
{tag_addressglatlng} This tag provides a shortcut to generate GLatLng objects for use with the Google Maps API.
{{latitude}} {tag_addresslatitude} Latitutde of web app item address
{{longitude}} {tag_addresslongitude} Longitude of web app item address
{{state}} {tag_addressstate} State
{{zipcode}} {tag_addresszipcode} ZIP code
{tag_addtofavorites,add_Image, remove_Image} Add the news item to favorites list. Optionally customize to display your own custom image for adding and removing. Here is an example - {tag_addtofavorites,<img alt="" src="/images/add.gif" />,<img alt="" src="/images/remove.gif" />}<br/>
For additional information on how to render the output of this tag using Liquid take a look at the Enable other Liquid tags article.
{{button}} {tag_button,Your Text} will output a hyperlink with the text "Your Text" and when clicked will take the site visitor to the detail layout
{{commentCount}} {tag_commentcount} Number of comments for current post
{{counter}} {tag_counter} Incremental count of the item on the page
{tag_delete} Creates a link that allows current customer to delete a web app item they have previously submitted (only available if customer logged in to a secure zone)
{{deleteUrl}} The URL that allows current customer to delete a web app item they have previously submitted (only available if customer logged in to a secure zone)
{{description}} {tag_description,number of characters} Description of item (editor content). On the "List Layout (Backup)" you can use {tag_description,10} to display the first 10 characters of the webapp item's description.
{tag_edit} Creates a link that allows current customer to edit a web app item they have previously submitted (only available if customer logged in to a secure zone). Clicking this link will open up the edit layout
{{editUrl}} Creates a link that allows current customer to edit a web app item they have previously submitted (only available if customer logged in to a secure zone). Clicking this link will open up the edit layout
{{expiryDate}} {tag_expirydate} Expiry date of item in dateTime format
{{lastUpdateDate}} {tag_lastupdatedate} Last update date of item in dateTime format
{{name}} {tag_name_nolink} Name of item (without hyperlink)
{tag_name} Name of the item - will have hyperlink that points to the item's detail layout
{{releaseDate}} {tag_releasedate} Release date of item in dateTime format
{{weight}} {tag_weight} Weighting of item
{{urlWithHost}} {tag_itemurl_withhost} Full URL of the web app item including host for example http://mysamplesite.com/car-catalogue/ford-explorer
{{url}} {tag_itemurl_nolink} Relative URL of the web app item for example /car-catalogue/ford-explorer
  {tag_rowcss,myclass} Replate myclass with your own CSS class. Alternates between classes, such as "myclass" and "myclass_alternate"
  {tag_image} For "Image" type fields only - renders the image wrapped in a hyperlink
{{image}}   For "Image" type fields only - renders the image's src, for example /images/dog.jpeg
  {tag_image_value} For "Image" type fields only - renders the image's src
  {tag_image_nolink} For "Image" type fields only - renders only the image
{{datasource_id}} {tag_datasource_id} Renders the ID of the datasource field e.g. - if my datasource field is named country, the tag will be {tag_country_id}
{{datasource}} {tag_datasource} Renders a link to the datasource item e.g. - if my datasource field is named country, the tag will be {tag_country}