+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, Drop down room lists in Booking System in Projects:; Hi Guys. I am having an issue with the getting the Drop Down lists of rooms to show on my ...
  1. #1

    Join Date
    Apr 2012
    Location
    Scunthorpe
    Posts
    38
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Drop down room lists in Booking System

    Hi Guys.

    I am having an issue with the getting the Drop Down lists of rooms to show on my laptop type bookings. I have found the code and did have it working one one trolley for a while, but now it doesn't show on any of them. Even worse though, when we type a room into the box, it fails to make the booking and throws back an error. (formatter threw an error).

    Any help with this would be greatly appreciated.... Our admin staff are shouting at me.

    Here is the contents of my HapConfig file :

    Code:
    <?xml version="1.0"?>
    <hapConfig version="9.5.831.2140" local="en-GB" firstrun="False">
    <AD username="administrator" password="nIO4U5MTyrcp93gUCG02og==" upn="wintertoncomp.internal" studentsgroup="Students" usenestedlookups="True" maxlogonattempts="20" maxrecursions="10" secureldap="false">
    <OUs>
    <OU name="Teaching Staff" path="LDAP://OU=Teaching Staff,OU=WCS,OU=Establishments,DC=wintertoncomp,DC=internal" visibility="Both" />
    <OU name="Non Teaching Staff" path="LDAP://OU=Non-Teaching Staff,OU=WCS,OU=Establishments,DC=wintertoncomp,DC=internal" visibility="Both" />
    <OU name="Systemadmins" path="LDAP://OU=System Administrators,OU=WCS,OU=Establishments,DC=wintertoncomp,DC=internal" visibility="Both" />
    </OUs>
    </AD>
    <Homepage>
    <Links>
    <Group name="Resources" showto=", , , WCS Non-Teaching Staff, Domain Admins, WCS Teaching Staff, Technician UserType, Admin-Staff UserType, Admin_Staff UserType" subtitle="" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="Me" showto="Inherit" description="About Me and Change My Password" url="#me" icon="~/images/icons/metro/folders-os/UserNo-Frame.png" target="" type="me" width="1" height="1" />
    <Link name="My Files" showto="Inherit" description="Access your School My Files" url="~/myfiles/" icon="~/images/icons/metro/folders-os/DocumentsFolder.png" target="" type="myfiles" width="1" height="1" />
    <Link name="My Emails" showto="Inherit" description="Access Email" url="https://mail.wintertoncommunityacademy.co.uk" icon="~/images/icons/metro/office-15/outlook.png" target="1" width="1" height="" />
    <Link name="Booking System" showto="Inherit" description="Book a room or resource" url="~/bookingsystem/" icon="~/images/icons/metro/applications/calendar.png" target="" width="2" height="1" />
    <Link name="Help Desk" showto="Inherit" description="Log or view a service call" url="~/helpdesk/" icon="~/images/icons/metro/folders-os/help.png" target="" width="2" height="1" />
    </Group>
    <Group name="Management" showto="Domain Admins" subtitle="" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="Help Desk" showto="Inherit" description="Log/View a Support Ticket" url="~/helpdesk/" icon="~/images/icons/metro/folders-os/help.png" target="" type="helpdesk" width="2" height="1" />
    <Link name="Booking System" showto="Inherit" description="Book an IT Resource" url="~/bookingsystem/" icon="~/images/icons/metro/applications/calendar.png" target="" type="bookings" width="2" height="1" />
    <Link name="Logon Tracker" showto="Domain Admins" description="View the Logon History" url="~/tracker/" icon="~/images/icons/metro/other/History.png" target="1" width="1" height="" />
    <Link name="HAP+ Config" showto="Domain Admins" description="Home Access Plus+ Config" url="~/setup.aspx" icon="~/images/icons/metro/folders-os/Configurealt1.png" target="1" width="1" height="" />
    </Group>
    <Group name="Me" showto=", Domain Admins" subtitle="#me" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="Me" showto="Inherit" description="" url="" icon="" target="1" width="1" height="" />
    <Link name="Password" showto="Inherit" description="" url="" icon="" target="1" width="1" height="" />
    </Group>
    <Group name="Student" showto=", WCS Students" subtitle="" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="My Files" showto="Inherit" description="Access your School Files" url="~/myfiles/" icon="~/images/icons/metro/folders-os/DocumentsFolder.png" target="" width="1" height="1" />
    <Link name="My Emails" showto="Inherit" description="Access School Email" url="https://mail.wintertoncommunityacademy.co.uk" icon="~/images/icons/metro/office-15/outlook.png" target="" width="1" height="1" />
    </Group>
    </Links>
    <AnnouncementBox showto="All" enableeditto="Domain Admins" />
    </Homepage>
    <ProxyServer address="" port="0" enabled="False" />
    <SMTP server="wcs-exch.wintertoncomp.internal" port="25" enabled="True" ssl="False" from="admin" fromaddress="systemadmin@wintertoncommunityacademy.co.uk" user="systemadmin" exchange="" impersonationdomain="" impersonationuser="" password="6TqQlsUZXeQphDSpky81dQ==" />
    <Tracker maxstudentlogons="1" maxstafflogons="4" overridecode="3600" provider="XML" />
    <School name="Winterton Community Academy" website="https://folders.wintertoncommunityacademy.co.uk" photohandler="" />
    <bookingsystem maxbookingsperweek="3" maxdays="7" admins=", Admin_Staff UserType, Admin-Staff UserType" keepxmlclean="True" twoweektimetable="False" enablemultilesson="false" maxmultilesson="0" archive="False">
    <rooms inherit="True">
    <room>Art1</room>
    <room>Art2</room>
    <room>Bus</room>
    <room>Dining</room>
    <room>Eng1</room>
    <room>Eng2</room>
    <room>Eng3</room>
    <room>Eng4</room>
    <room>Eng5</room>
    <room>Geog1</room>
    <room>Geog2</room>
    <room>PE</room>
    <room>Hall</room>
    <room>Hist1</room>
    <room>Hist2</room>
    <room>IT1</room>
    <room>IT2</room>
    <room>IT3</room>
    <room>MFL1</room>
    <room>MFL2</room>
    <room>MFL3</room>
    <room>Music</room>
    <room>RE</room>
    <room>Sc1</room>
    <room>Sc2</room>
    <room>Sc3</room>
    <room>Sc4</room>
    <room>Sc5</room>
    <room>Te1</room>
    <room>Te2</room>
    <room>Te3</room>
    <room>Te4</room>
    </rooms>
    <resources>
    <resource name="IT-1" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="25,25" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="IT-2" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="IT-3" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="Laptops" type="Laptops" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="18,18" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="IPAD-Trolley-1" type="Laptops" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="16" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="IPAD-Trolley-2" type="Laptops" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="16" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="IPAD-Trolley-3" type="Laptops" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="16" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="Video-Camera" type="Equipment" admins="Inherit" enabled="True" emailadmins="False" enablecharging="True" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="" readonlyto="" readwriteto="" disclaimer="" canshare="True" chargingperiods="1" enablenotes="false" />
    <resource name="Video-Conferencing" type="Room" admins="Inherit" enabled="True" emailadmins="False" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="false" />
    <resource name="Hall" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true">
    <rooms inherit="True" />
    </resource>
    </resources>
    <lessons>
    <lesson name="Tutorial" type="BeforeSchool" starttime="08:30" endtime="09:20" />
    <lesson name="Period 1-2" type="Lesson" starttime="09:20" endtime="10:30" />
    <lesson name="Morning Break" type="Break" starttime="10:30" endtime="10:45" />
    <lesson name="Periods 3-4" type="Lesson" starttime="10:45" endtime="11:55" />
    <lesson name="Lunch Time" type="Lunch" starttime="11:55" endtime="12:55" />
    <lesson name="Period 5-6" type="Lesson" starttime="12:55" endtime="14:05" />
    <lesson name="Afternoon Break" type="Break" starttime="14:05" endtime="14:20" />
    <lesson name="Period 7-8" type="Lesson" starttime="14:20" endtime="15:30" />
    <lesson name="After-School" type="AfterSchool" starttime="15:30" endtime="17:30" />
    <lesson name="Evening" type="Break" starttime="17:30" endtime="21:00" />
    </lessons>
    <subjects>
    <subject name="Art" />
    <subject name="Business Studies" />
    <subject name="Careers" />
    <subject name="Design and Technology" />
    <subject name="English" />
    <subject name="Exam" />
    <subject name="Food" />
    <subject name="Geography" />
    <subject name="History" />
    <subject name="ICT" />
    <subject name="Languages" />
    <subject name="Maths" />
    <subject name="Meeting" />
    <subject name="Music" />
    <subject name="Other" />
    <subject name="Physical Education" />
    <subject name="Science" />
    <subject name="Textiles" />
    <subject name="Tutorial" />
    </subjects>
    </bookingsystem>
    <myfiles hideextensions=".lnk,.ini" writechecks="True" LiveAppId="">
    <mappings>
    <mapping drive="N" name="My Documents" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">%homedir%</mapping>
    <mapping drive="T" name="Staff Area" enablereadto="Teaching Staff, Staff UserType, Finance Staff UserType, Admin_Staff UserType" enablewriteto="Admin_Staff UserType, Finance Staff UserType" enablemove="False" usagemode="Quota">\\wcs-server1\RMStaff\Staff Resources</mapping>
    <mapping drive="W" name="Shared Documents" enablereadto="All" enablewriteto="All" enablemove="False" usagemode="Quota">\\wcs-server1\RMShared Documents</mapping>
    </mappings>
    <filters>
    <filter name="Access Database" expression="*.mdb;*.accdb" enablefor="All" />
    <filter name="Excel Documents" expression="*.xls;*.xlsx;*.xlt;*.xltx" enablefor="All" />
    <filter name="HTML Files" expression="*.html;*.htm" enablefor="All" />
    <filter name="Images" expression="*.jpg;*.gif;*.png;*.bmp;*.jpeg" enablefor="All" />
    <filter name="Powerpoint Files" expression="*.ppt;*.pptx;*.pptx;*.ppt" enablefor="All" />
    <filter name="Word Documents" expression="*.doc;*.docx;*.dotx;*.dot;*.txt;*.rtf;*.pdf" enablefor="All" />
    <filter name="ZIP Files" expression="*.zip" enablefor="All" />
    <filter name="All Files" expression="*.*" enablefor="Domain Admins" />
    </filters>
    <quotaservers />
    </myfiles>
    <HelpDesk admins="Domain Admins" firstlineemails="faults@wintertoncomp.internal" />
    </hapConfig>

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Rooms only work on Laptops or Equipment resource types. In your hapConfig you have assigned the rooms to the Hall, which is a room.

  3. #3

    Join Date
    Apr 2012
    Location
    Scunthorpe
    Posts
    38
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Again @nickbro

    Sorry for seeming thick, but which bit of code actually defines that the resource is using the list of rooms? and where do I put the code in relation to each resource that I'd like the list on ?

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,483
    Thank Post
    37
    Thanked 490 Times in 422 Posts
    Rep Power
    110
    Code:
    <resource name="Hall" type="Room" admins="Inherit" enabled="True" emailadmins="True" enablecharging="False" showto="WCS Teaching Staff, WCS Non-Teaching Staff" hidefrom="" years="Year 7, Year 8, Year 9, Year 10, Year 11" quantities="" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true">
    <rooms inherit="True" />
    </resource>
    The <rooms inherit="True"/> does it

  5. #5

    Join Date
    Apr 2012
    Location
    Scunthorpe
    Posts
    38
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Well that was what I thought, but f I move that line elsewhere it seem to crash the system.

    Should. Just add <rooms inherit="true" /> after each resource that requires the list? I'm sure that was one of the things I tried, but that resulted in an error.

  6. #6

    Join Date
    Apr 2012
    Location
    Scunthorpe
    Posts
    38
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi again @nickbro

    Can you just clarify for me, if I want to have the drop down list on several resources, what code do I apply where to get this working ? I must be missing something obvious, but nothing I do will make this work for me except on the very last resource in the list.

  7. #7

    Join Date
    Apr 2012
    Location
    Scunthorpe
    Posts
    38
    Thank Post
    4
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Actually, it doesn't matter..... I've sussed it.

    I actually needed to remove the "/" from the end of the line for each resource I wanted the list on.

    and then add

    <rooms inherit="True" />
    </resource>

    After each of those recources.

SHARE:
+ Post New Thread

Similar Threads

  1. Change the HAP booking system drop down lists
    By mmeoli in forum Home Access Plus+
    Replies: 4
    Last Post: 17th April 2013, 08:40 AM
  2. Replies: 2
    Last Post: 21st September 2012, 11:24 AM
  3. Small data-refresh bug in Booking System (</= v7.9) (IE-Only)
    By mattgrimley in forum Home Access Plus+
    Replies: 17
    Last Post: 9th February 2012, 11:26 AM
  4. In/Out board & room booking system for outlook?
    By cokecan72 in forum Windows
    Replies: 1
    Last Post: 16th April 2009, 02:07 PM
  5. drop down list in a html webform and php
    By Uraken in forum Coding
    Replies: 17
    Last Post: 5th March 2008, 12:35 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •