Changes

Jump to: navigation, search

Web Page View Field Variables

251 bytes added, 16:11, 27 August 2009
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.
===Level 3s with Less Than 25 Fields===
If Level 3 has less than 25 fields usie the following syntax '''within''' the '''[#...#]''' that lists the Level 2 activities:
:<font size="3">[@(?object=activity;)~standardfieldname~ $customfieldname$@]</font>
'''NoteTo facilitate this you must create a [[Custom Field Type:Read Only – System Variables|Read Only - System Variable]] field '''* This syntax will only work if there are at'''less than 25 fields at Level 2 that contains the list of Level 3activities, formatted and filtered as desired.::'''You can use a [[Visibility Condition]] or [[Role Permissions]] to prevent the field from being displayed on the Level 2 record.
'''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.
The [[Custom Field Type: Read Only – System Variables|Read Only - System Variable]] field also now be used in a [[Web Page View]] field to facilitate displaying Instead you can use the following syntax '''Level 3within''' activities at the '''Level 1[#...#]'''.that lists the Level 2 activities::<font size="3">[@(?object=activity;)~standardfieldname~ $customfieldname$@]</font>
  To display '''Level 3Note:'''* This syntax will only work if there are ''' activities that have more less than 25 fields: Create a [[Custom Field Type: Read Only – System Variables|Read Only - System Variable]] field at Level 2 that contains the list of Level 3 activities, formatted and filtered as desired.'''
'''Example:'''
<pre><table> [@(?object=activity;orderby=typename)<tr><td> * To display a list of Level 2 activities, including any Level 3 Activity: ~typename~</td><td>~location~</td></tr>@]</table></pre>  3. You can now use the field in the Web Page View as you would any other field. For exampleactivities under their parent Level 2 activity
<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>
::'''where''' "Level 3 Activity List" is the name you gave the [[Custom Field Type: Read Only – System Variables|Read Only – System Variable]] field
==Displaying a Specific Number of Items in a List==
0
edits

Navigation menu