Changes

Jump to: navigation, search

Web Page View Field Variables

560 bytes added, 19:24, 27 January 2014
no edit summary
'''Example:'''
* Create a Level 2 [[Custom Field Type: Read Only – System Variables|Read Only - System Variable]] Custom Field called '''Level 3 Activity List''' with the following:
<prestyle="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
<table>
[@(?object=activity;orderby=typename)<tr><td> Level 3 Activity: ~typename~</td><td>~location~</td></tr>@]
Then create either a [[Web Page View]] or [[Custom Field Type: Read Only – System Variables|Read Only - System Variable]] at Level 1:
<prestyle="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
<table>
[#(?object=activity;orderby=startdate)
'''Example:'''
* To display a list of Level 2 activities, including any Level 3 activities under their parent Level 2 activity:
<prestyle="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
<table>
[#(?object=activity;orderby=startdate)
==Displaying a Specific Number of Items in a List==
When you want to display only specific number of activities or transactions in a [[Web Page View]] use the following syntax.
<prestyle="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
[#(?object=object;orderby=field)
<!--@sslogic(~index~='num')-->
8,849
edits

Navigation menu