+1.604.763.2828 Vancover, Canada | +1.206.923.9676 Seattle, USA | +44.020.3239.8686 London, UK | +86.1358.161.6375 Beijing, China   
Home  info@primeobjects.com   
Products & Features Consulting Partners Blog and Communitiy About Us
Products & Features Consulting Partners Blog & Community About Us Sign up, 14 days free Login >>

Latest Improvements
We listen, work hard and make things better ...

Saturday, April 10, 2010

Control calendar by the parameters in the url

Source: Latest Improvements
Tags: 

ParameterValueDescription
fctrue/falsefc=false: The date picker panel and caledar group panel on the left side of the full calendar will be hidden.
fc=true: Show full calendar
dt
yyyy-MM-dd
Define the default date on the calendar. for example: dt=2009-02-03 means the Feb 3, 2009 will be the default date of the calendar.
calsCalendar IDs
This parameter is used to define the filter so that the calendar will only show the activities in the specific calendars by default. i.e. cals=a9b85cde-0fa5-41e2-b61d-c6f1872d2ea2,b1a53044-0068-4abd-8858-c101547bcb77
When the cals parameter is provided in the query string of the url, the default calendar group will be set to "All Calendars".

iid
Regarding ID
If iid parameter is provided in the query string of the url, the calendar will only show the activities regarding this specified record. The activities will be filtered on the Regarding field (InstanceId attribute) of the Event, Appoint and Task records.
calgrpidCalendar Group ID
This parameter is used to define the filter so that the calendar will only show the activities in the calendars included in the specific calendar group by default. When the calgrpid is defined, the cals parameter will be ignored.
tabs
Calendar Tabs
The tabs parameter will define what tabs the calendar should display in which order. i.e. tabs=y,m,w,d,a will show the different calendar views in the different tab based on the following order Year, Month, Week, Day, Agenda
tab
Default Tab
The tab parameter defines which tab should be selected by default when loading the calendar at the begining. i.e. tabs=y,m,d,a&tab=d, the Day view tab will be the default tab and displayed when the calendar is loaded at the first time. 
appointment
True/False
The parameter primarily is used to hide the appointments from the activities shown in the calendar. i.e. appointment=false
event
True/FalseThe parameter primarily is used to hide the events from the activities shown in the calendar. i.e. appointment=false
task
True/FalseThe parameter primarily is used to hide the tasks from the activities shown in the calendar. i.e. appointment=false
session
Session ID
This is used for single signon in the case of integrate calendar in a seperate 3rd party web application.
allowguest
True/False
By default, the calendar only work for a valide user who has signed into the system with an active session. If the calendar is show to public, the allowguest=true will allow the anonymous visitors to see the calendar. To make the calendar accessible by the public, the calendar record need to be published.

posted by Gary Zhang @ 01:45:12 PM   0 Comments
Email the article to a friend
Add comment to the article.
Subscribe to Current Posts [RSS Feed]
Subscribe to Latest Posts [RSS Feed]

Categories



Favorite Links

    © Copyright 2009 PrimeObjects.com. All Rights Reserved. | Security Statement | Privacy Statement