Context: Calpendo provides by default a workflow which when enabled will display a non-interactive read only calendar view. This is not available to customers on our Lite licence as it requires workflow functionality unlocked by the full licence. It can be enabled by yourself as an admin and is found in the workflow manager under Bookings category called 'Weekly Calendar'. This KB article looks at some more detailed aspects of configuring key parts of the workflow to adjust how this calendar view looks.


An example can be found here on our demo site.  A point to note is that it is not scrollable, but fits within the browser window.  This is so that it is good for kiosk applications such as a TV in a doctors waiting room.


With the demo link above, try adding or removing some of the PKS numbers at the end.  The title can also be changed as well.  Further amendments to the calendar will need to be done in the workflow which generates the webpage.  The URL can be shared with other people and each of your users can amend the URL as they see fit to get their own combination of resources.


Suitable for: Admins of facilities which have the non-interactive web page view built.  In order to work with this you will need to be comfortable with 


Objective: Look at how to navigate through a workflow and amend a function


Steps:

  1. Sign in as Admin and in the Admin menu, go to the Workflow Manager
  2. The location of this workflow may differ but it will likely be found under Booking and will likely have the name 'Read only calendar web page'
  3. Click Edit on the workflow
  4. This workflow by default will find bookings up to 31 days out from now as any longer would be very difficult to display unless on a very large monitor.
  5. We do however have some things which can be changed in this workflow.  In order to do this you will need to find a function action called bookingsWeeklyView which will be close to the end of the actions list.  A key parent of this action is the function union.  You may want to click open all in the actions view in order to find this function.
  6. Once you have found it click on it and if you have not already selected Edit do so now
  7. Take a look at the arguments - within here are a number of things which can be done to affect your read only calendar view.  If the argument should be left alone I have marked it below as DO NOT EDIT


ArgumentValuesComment
List:Biskit:Calpendo.Booking; bookingsVariable named union retrieved from an earlier sourceDO NOT EDIT
List:Biskit:Calpendo.Resource; resourcesVariable named variables.resources from an earlier sourceDO NOT EDIT
Biskit:Calpendo.CalpendoUser; permissionsUserFixed - example would be adminThis defines which user's permissions is going to be used for the display of bookings.  If you set it to admin you may find that information which admins have access to within the bookings is being displayed.  If you set it to a user with reduced permissions this will then apply to the bookings display.
Biskit:Calpendo.CalpendoUser; styleUser    Fixed - example would be adminIf specific CSS has been applied to a user this user's CSS will then be used for the display of the bookings.  Largely this should remain set to admin.
String titleVariable named variables.title from an earlier sourceDO NOT EDIT
String headingVariable named value retrieved from an earlier sourceDO NOT EDIT
Int numDaysFixed integer eg 7This is the number of days to display on the read-only calendar view.  The number of days you choose is going to be the same for every person regardless of how many resources they choose to view with the URL.  Therefore if you expect that they will be viewing multiple resources at the same time I would not recommend going higher than 7 days for four resources. 
Int startHourFixed integer eg 0This will be the start time for bookings to be displayed from for that day.  Setting it as 9 would be useful if this is your opening time.
Int endHourFixed integer eg 24This will be the finish time for bookings to be displayed from that day.  Setting it as 17 would be useful if this is your close of business for the day.
Boolean missOutWeekendsFixed boolean as True or FalseIf you don't take bookings on the weekend it might be useful to not display the weekend days.
Int resourceLabelHeightFixed integer value expressed as pixel height
These values control aspects of the display of columns and headings within the calendar view.  Experiment with the values provided.  I would suggest having the web page view open on another browser tab and then refreshing it after each change you make.
Int bannerHeight
Int bookingTitleHeight
Int headingHeight
Int dateHeight