Contains tips for configurators working with Aware IM
#30007 by eagles9999
Mon Oct 27, 2014 12:50 pm
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....
#30019 by hpl123
Tue Oct 28, 2014 6:13 pm
Nice, thanks for sharing.

#30021 by tford
Tue Oct 28, 2014 9:40 pm
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.

#30026 by eagles9999
Tue Oct 28, 2014 11:50 pm
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.

#30027 by tford
Wed Oct 29, 2014 12:22 am
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.

#30028 by eagles9999
Wed Oct 29, 2014 12:47 am
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.
#30029 by hpl123
Wed Oct 29, 2014 10:41 am
Yeah, nice one Tom. Gave me some ideas as well :).
#30030 by hpl123
Wed Oct 29, 2014 11:02 am
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?
#31156 by gijsvb
Sat Jan 31, 2015 3:34 pm
Thanks Mark, studying your example also solved a problem for me.
#31157 by gijsvb
Sat Jan 31, 2015 4:12 pm
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?
#47154 by eagles9999
Tue May 15, 2018 1:31 pm
Will see if I can dig it out Rick.

Give me a day or so.

Who is online

Users browsing this forum: No registered users and 5 guests