Booking Schedule Slots Demo

Contains tips for configurators working with Aware IM
Post Reply
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Booking Schedule Slots Demo

Post by customaware »

Just ran up this demo for a mate but thought I would share.

The requirements were for an Admin to create hourly booking blocks every hour of the day unless blocked out by
Exceptions.

When Attendees log in they can go to the Booking Slots page and they will be automatically assigned to that slot when they click it.
If they click it again then they will get removed.

Maximum of 6 Attendees per slot and as the slot fills up it should change colour...slowly becoming more Red until it is full.
(need to check Max 6 yet but ran out of time)

Anyway..... Here is how it turned out

Image


Instructions:

Download the Booking.bsv here..... http://jmp.sh/fPoF5gA

It will automatically create the data.

Now log in as Admin and under Admin Maintenance, Create a Block Plan for say 1st October 2014 to 31st October 2014.

Now log out and log in as an Attendee.

Here are the links for each Attendee to log in...

Log in using each one and then go to the Booking Slots and try clicking each booking

http://localhost:8080/AwareIM/logonOp.a ... gMode=true
http://localhost:8080/AwareIM/logonOp.a ... gMode=true
http://localhost:8080/AwareIM/logonOp.a ... gMode=true
http://localhost:8080/AwareIM/logonOp.a ... gMode=true
http://localhost:8080/AwareIM/logonOp.a ... gMode=true
http://localhost:8080/AwareIM/logonOp.a ... gMode=true
http://localhost:8080/AwareIM/logonOp.a ... gMode=true

Pretty trivial but might help someone trying to do something similar.

Enjoy....
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Nice

Post by hpl123 »

Nice, thanks for sharing.
Henrik (V8 Developer Ed. - Windows)
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Nice work, Mark.

I created something similar for scheduling of various resources in our school. Legend:
-- Green area -- available for scheduling
-- Red area -- resource booked during this time slot.

One Day View of 10 different resources available for scheduling:
Image

Two week view for one resource:
Image

Unfortunately I am not able to share this BSV as it has quite a bit of other proprietary coding.
Tom - V8.8 build 3137 - MySql / PostGres
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Post by customaware »

Hey Tom,

Thanx for that.

That has given me some good ideas.

I guess that is using a Schedule control rather than a Calendar which seems to give you more flexibility in terms of cell content and Header labels?
Is that correct.

Would be nice for us to compile a library of these types of examples.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

I guess that is using a Schedule control rather than a Calendar which seems to give you more flexibility in terms of cell content and Header labels?

Is that correct?
It is actually just a VP with a lot of very carefully sized forms and queries. Lots of auto refresh processes in the forms and queries.
Tom - V8.8 build 3137 - MySql / PostGres
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Post by customaware »

Heehee....

Yes Tom.

After my last post I did a bit of testing and realised that it is NOT "just" a control.

Lots of work there and very nice and very clever . Well done.

Would love to see a small demo of some of the techniques you have used here if you ever have a hankering to do one.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Nice

Post by hpl123 »

Yeah, nice one Tom. Gave me some ideas as well :).
Henrik (V8 Developer Ed. - Windows)
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Templates?

Post by hpl123 »

I am working on a resource schedule module and will use something similar to what you´ve done Mark (for starters, Tom´s solution looks more complex which is good but requires more work) and was wondering if any of you have implemented schedule templates in your scheduling module?

The idea is to let the user create a template with custom blocks blocked out over a period e.g. a week and this template would then be saved so the user can later apply it for a period in the live booking schedule (i.e. the blocks from the template is then created on the live schedule for the set period)?. Tips or thoughts?
Henrik (V8 Developer Ed. - Windows)
gijsvb
Posts: 45
Joined: Fri Jan 23, 2015 5:32 pm

Re: Booking Schedule Slots Demo

Post by gijsvb »

Thanks Mark, studying your example also solved a problem for me.
Gijs van Ballegooijen.
the Netherlands.

AwareIM 8.4 (build 2708)
Server: Ubuntu Linux 18.04.2
Database: MariaDB
Config: Windows 2012R2
gijsvb
Posts: 45
Joined: Fri Jan 23, 2015 5:32 pm

Re: Booking Schedule Slots Demo

Post by gijsvb »

One question remains, although you do an ORDER BY first name, lastname in the FIND action, the text in the booking block is not sorted in that way.

Is there a way to have AwareIM execute the AddToString actions in a defined sequence?
Gijs van Ballegooijen.
the Netherlands.

AwareIM 8.4 (build 2708)
Server: Ubuntu Linux 18.04.2
Database: MariaDB
Config: Windows 2012R2
bondicoffee
Posts: 130
Joined: Tue Dec 03, 2013 10:19 pm

Re: Booking Schedule Slots Demo

Post by bondicoffee »

Hi Mark,

Can you share this bsv, as the link you shared isn't working anymore.

Thanks
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Booking Schedule Slots Demo

Post by customaware »

Will see if I can dig it out Rick.

Give me a day or so.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Post Reply