0
edits
Changes
→Displaying Both Level 2 and Level 3 Activities at Level 1
==Displaying Both Level 2 and Level 3 Activities at Level 1==
When displaying a list of '''Level 2''' activities using the '''[#(?object=activity;)...#]''' syntax, the corresponding '''Level 3''' activities can now be displayed under each of the parent '''Level 2''' activities.
'''Example:'''
* To display Create a list of Level 2 activities, including any [[Custom Field Type: Read Only – System Variables|Read Only - System Variable]] Custom Field called '''Level 3 activities under their parent Activity List''' with the following:<pre><table> [@(?object=activity;orderby=typename)<tr><td> Level 3 Activity: ~typename~</td><td>~location~</td></tr>@]</table></pre> Then create either a [[Web Page View]] or [[Custom Field Type: Read Only – System Variables|Read Only - System Variable]] at Level 2 activity1:
<pre>
<table>
[#(?object=activity;orderby=startdate)
<tr><td>Level 2 Activity: ~subject~</td><td>~statusname~</td><td>~startdate~</td><td>~enddate~</td></tr>
<tr><td></td><td colspan=3> <table> [@(?object=activity;orderby=typename)<tr><td> $Level 3 Activity: ~typename~</td><td>~location~</td></tr>@] </table> List$</td></tr>
#]
</table>
</pre>
::'''where''' "Level 3 Activity List" is the name you gave the [[Custom Field Type: Read Only – System Variables|Read Only – System Variable]] field
===Level 3s with More Less Than 25 Fields===If Level 3 has less than 25 fields it is not necessary to create a [[Custom Field Type: Read Only – System Variables|Read Only – System Variable]] Custom Field on the Level 2 that lists the Level 3 activities.
'''Example:'''
<pre>
<table>
[#(?object=activity;orderby=startdate)
<tr><td>Level 2 Activity: ~subject~</td><td>~statusname~</td><td>~startdate~</td><td>~enddate~</td></tr>
<tr><td></td><td colspan=3>$ <table> [@(?object=activity;orderby=typename)<tr><td> Level 3 Activity List$: ~typename~</td><td>~location~</td></tr>@] </table> </td></tr>
#]
</table>
</pre>
==Displaying a Specific Number of Items in a List==