Follow
View: User Personal Time Off

This user view shows a list of future days which have been marked for Time-Off by users. The view includes lists of the users' job roles, teams, and groups, in addition to their name, access level, and Company.

time_off_user_view.png

To apply this view:

  1. Navigate to a list of users.
  2. From the View drop-down menu, select New View.
  3. In the Column Preview area, eliminate all columns except for one.
  4. Click the header of the remaining column, then click Switch to Text Mode.
  5. Mouse over the text mode area, and click Click to edit text.
  6. Remove the text you find in the Text Mode box, and replace it with the following code:
    column.0.textmode=false 
    
column.0.valuefield=name
    
column.0.valueformat=HTML
    
column.0.linkedname=direct
    
column.0.listsort=string(name)
    
column.0.namekey=name
    
column.0.querysort=name
    
column.0.shortview=false
    
column.0.stretch=0
    
column.0.width=150
    
column.1.valuefield=accessLevel:name
    
column.1.querysort=accessLevel:name
    
column.1.valueformat=HTML
    
column.1.displayname=
    
column.1.namekey=view.relatedcolumn
    
column.1.namekeyargkey.0=accessLevel
    
column.1.namekeyargkey.1=name
    
column.1.tile.name=component.accesslevellistview
    
column.2.link.linkproperty.0.name=ID
    
column.2.link.linkproperty.0.valuefield=ID
    
column.2.link.linkproperty.0.valueformat=int
    
column.2.link.lookup=link.view
    
column.2.link.value=val(objCode)
    
column.2.listdelimiter=
    
column.2.listmethod=nested(userGroups).lists
    
column.2.namekey=group.plural
    
column.2.stretch=50
    
column.2.type=iterate
    
column.2.valuefield=group:name
    
column.2.valueformat=HTML
    
column.2.width=150
    
column.3.link.linkproperty.0.name=ID
    
column.3.link.linkproperty.0.valuefield=ID
    
column.3.link.linkproperty.0.valueformat=int
    
column.3.link.lookup=link.view
column.3.link.value=val(objCode)
    
column.3.listdelimiter=
    
column.3.listmethod=nested(roles).lists
    
column.3.namekey=jobrole.plural
    
column.3.stretch=50
    
column.3.type=iterate
    
column.3.valuefield=name
    
column.3.valueformat=HTML
    
column.3.width=150
    
column.4.textmode=false
    
column.4.valuefield=company:name
    
column.4.valueformat=HTML
    
column.4.descriptionkey=company
    
column.4.linkedname=company
    
column.4.listsort=nested(company).string(name)
    
column.4.namekey=view.relatedcolumn
    
column.4.querysort=company:name
    
column.4.shortview=false
    
column.4.stretch=0
    
column.4.width=150
    
column.4.namekeyargkey.0=company
    
column.4.namekeyargkey.1=name
    
column.5.displayname=Upcoming Time Off
    
column.5.listdelimiter=
    
column.5.listmethod=nested(reservedTimes).lists
    
column.5.name=Upcoming Time Off
    
column.5.stretch=0
    
column.5.textmode=true
    
column.5.type=iterate
    
column.5.valueexpression=IF({startDate}>$$TODAY,CONCAT({startDate}," - ",{endDate}),'')
    
column.5.valueformat=HTML
    
column.5.width=150
  7. Click Save View.

Audited 6/27/2018

 

This article last updated on 2018-09-18 18:52:52 UTC