how to display a sharepoint calendar in infopath

L

liam

is there a way of displaying a calendar stored on sharepoint in infopath?
eg - a form to book a room, so the person can see which rooms are free and
when etc?

Thanks
 
S

S.Y.M. Wong-A-Ton

A SharePoint calendar is a list, so in InfoPath you can create a data
connection to a SharePoint list, select the calendar, and display data
contained in the calendar.
 
L

liam

Thanks yor your reply.
How would I display this data? So it looks like a calendar?
Is there a calendar part? not just a date pick

Thanks

Liam
 
S

S.Y.M. Wong-A-Ton

No, there is no calendar part; you would have to create your own calendar. If
you are using InfoPath 2007, you can use a horizontal repeating section for
displaying a calendar like in this blog post:
http://blogs.msdn.com/infopath/archive/2006/09/09/748003.aspx
I'm not sure whether you'll get all the dates (with and without bookings)
appear, so you might have to write code to fill the horizontal repeating
section that displays all dates with those dates (taken from the secondary
data source that is bound to the SharePoint list) on which there are bookings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top