Skip to content

Planning

By setting the showPlanIcon to true, Mobile Workers may decide to replan tasks themselves without requesting the planner to move it. Note that this preference requires server-side configuration with regards to scheduling options and constraints.

showPlanIcon
Type Default Value Example Android HTML 5
Boolean false true - +

By setting the preference privatePlanning to false, the overnight stay and search buttons are not provided to the user.

privatePlanning
Type Default Value Example Android HTML 5
Boolean true false - +

To enable the mobile worker to remove a complete day from his agenda, a delete-button can be added to the group-headline of every day. This is accomplished by injecting some HTML through the process flow preference agendaHeaderLayoutTemplate.

agendaHeaderLayoutTemplate
Type Default Value Example Android HTML 5
HTML See below - +

This is an example for a trash can as delete button, which calls a REST-API method for unplanning the trip:

<div class=_"listviewHeader-main"_
       style="width: _98%_; display: _inline-flex_;">
       <div class=_"listviewHeader-left"_ style="width: _94.5%_;">
              <h3 style="font-size: _small_;">#= getStringDate(value) #</h3>
       </div>
       <div class=_"listviewHeader-right"_>
            <a class=_"listview-unplan"_ id=_"#: value #"_ onClick="unplanTrip(this)"
                 data-role=_"button"_ data-icon=_"korbe"_
                 style="border: _0px_; font-size: _x-large_; padding-left: _5px_;              
            padding-right: _30px_;">
                 <span class=_"listview-unplan-text"_></span>
            </a>
       </div>
</div>