Difference between revisions of "Calendar Fields"

From SmartWiki
Jump to: navigation, search
Line 5: Line 5:
 
You can use the following syntax on the "Calendar Fields" section of Application Configuration:
 
You can use the following syntax on the "Calendar Fields" section of Application Configuration:
 
   
 
   
 +
This will only display the field with field ID 55222 for “Contract” type activities on the Project calendar:
 
<pre>
 
<pre>
 
&lt;!--@sslogic('@type@'='Contract')-->@#55222#@
 
&lt;!--@sslogic('@type@'='Contract')-->@#55222#@
Line 10: Line 11:
 
&lt;!--@end-->
 
&lt;!--@end-->
 
</pre>
 
</pre>
 
This will only display the field with field ID 55222 for “Contract” type activities on the Project calendar
 
  
  
 +
This will display the type, owner name and start/end time if the status is schedules or re-scheduled.
 +
<pre>
 +
&lt;!--@sslogic('@statusname@' in ('scheduled','re-scheduled'))-->@type@
 +
  @parent.owner.fullname@
 +
  @starttime@-@endtime@
 +
&lt;!--@end-->
 +
</pre>
  
  
 
[[Category:Enhancements]][[Category:System Management]][[Category:Universal Tracking Application]]
 
[[Category:Enhancements]][[Category:System Management]][[Category:Universal Tracking Application]]

Revision as of 08:57, 20 March 2009

UTA Calendar Template now supports web page view type variables and logic.


For example: You can use the following syntax on the "Calendar Fields" section of Application Configuration:

This will only display the field with field ID 55222 for “Contract” type activities on the Project calendar:

<!--@sslogic('@type@'='Contract')-->@#55222#@

<!--@end-->


This will display the type, owner name and start/end time if the status is schedules or re-scheduled.

<!--@sslogic('@statusname@' in ('scheduled','re-scheduled'))-->@type@
   @parent.owner.fullname@
   @starttime@-@endtime@
<!--@end-->