calwyn Posted September 5, 2013 Posted September 5, 2013 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 : Art1 Art2 Bus Dining Eng1 Eng2 Eng3 Eng4 Eng5 Geog1 Geog2 PE Hall Hist1 Hist2 IT1 IT2 IT3 MFL1 MFL2 MFL3 Music RE Sc1 Sc2 Sc3 Sc4 Sc5 Te1 Te2 Te3 Te4 %homedir% \\wcs-server1\RMStaff\Staff Resources \\wcs-server1\RMShared Documents
nickbro Posted September 5, 2013 Posted September 5, 2013 Rooms only work on Laptops or Equipment resource types. In your hapConfig you have assigned the rooms to the Hall, which is a room.
calwyn Posted September 6, 2013 Author Posted September 6, 2013 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 ?
calwyn Posted September 6, 2013 Author Posted September 6, 2013 Well that was what I thought, but f I move that line elsewhere it seem to crash the system. Should. Just add after each resource that requires the list? I'm sure that was one of the things I tried, but that resulted in an error.
calwyn Posted September 16, 2013 Author Posted September 16, 2013 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.
calwyn Posted September 16, 2013 Author Posted September 16, 2013 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 After each of those recources.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now