Changes

Jump to: navigation, search

Web Page View Field Variables

1,641 bytes added, 18:03, 6 November 2008
How to display level three activities at level one in the Web Page View
</pre>
 
==How to display Level 3 Activities at Level 1 using Read Only-System Variable Field in Web Page View==
 
The '''Read Only'''-System Variable field can now be used in the '''Web Page View''' field.
 
This is useful for displaying '''Level 3''' activities at the '''Level 1''' in a '''Web Page View''' field.
 
Currently we can display '''Level 3''' activities at '''Level 1''' using the following syntax:
 
<pre>
<table border=1>
[#(?object=activity;orderby=startdate)
<tr><td colspan=2>~subject~</td><td>~location~</td><td>~startdate~</td></tr>
<tr>
<td>
<table bgcolor="00FFFF">
[@(?object=activity;orderby=startdate)<tr>
<td>~subject~</td><td>~location~</td><td>~startdate~</td>
</tr>
@]
 
</table>
</td>
</tr>
#]
</table>
</pre>
 
[[Image:Wbv.png]]
 
This method, however, has the limitation that only '''Level 3''' activities with less than 25 fields can be displayed using this technique.
 
To display '''Level 3''' activities that have more than 25 fields, the following method is now available:
 
1. Create a '''Read Only - System Variable''' field at '''Level 2'''.
 
2. Format the field as you would a '''Web Page View''' field. For example:
 
<pre>
<table border=1>
[#(?object=activity;orderby=startdate)
<tr><td colspan=2>~subject~</td><td>~location~</td><td>~startdate~</td></tr>
#]
</table>
</pre>
 
[[Image:Wbv1.png]]
 
3. You can now use the field in the Web Page View as you would any other field. For example:
 
<pre>
<table border=1>[#(?object=activity;orderby=startdate)<tr><td colspan=2>~subject~</td><td>~location~</td><td>~startdate~</td></tr><tr><td colspan=2>$123456$</td></tr>#]
</table>
</pre>
 
[[Image:Wbv2.png]]
==How to suppress the Page Footer with Printing the Page==
4,401
edits

Navigation menu