Day link in calendar

Hi
I try to create a booking system in APEX.
I plan to use the calendar region. I want to display when the room are booked and when it free.
When the room are free I want to use a link (maybe day link) to redirect to a booking form, if the room not are free at the day, there should not be a link to the booking form.
When I look at the calendar region, I can't find any condition properties for the day link so the link only are there if there not are any booking at the day.
Some one there have a idea?
What about background of a day cell (in month view), is it possible to set green when there are not a booking in the table and red if there are a booking?
/Jesper

hi,
try this
Day link - want Item to contain day number from calendar
thanks
Kartik
Edited by: Kartik Patel on Jun 22, 2010 2:05 PM

Similar Messages

  • Day link in calendar not working properly

    Hi
    i created a calendar region with
    an sql query like
    select date_column,display_column , link_column from table
    and in
    Day link :
    Target : Page on this app
    set these items : P11_DATE_ITEM
    with values #date_column#
    to redircet to page 11.
    But when i use a previews month is sep 2006 and before
    it is working.Set the P11_DATE_ITEM with the selected day value (ie 12/09/2006)
    When i select a day in current month and after that month it
    returns to P11_DATE_ITEM #date_column# text and not the selexcted day (i e 2/10/2006)
    Anyone can help me with this ?
    Regards
    Aris

    thank you.
    I managed to solve that by setting a null day record for each day and
    now i can select any day in calendar.
    Aris

  • Day Link from calendar option

    Could anyone please let me know how to execute an query (query dynamically changes) for each day listed in the calendar.
    Requirment: I have list of tasks in a table, using the same table i have plotted the calendar. {I can only link one page for a day link or column link}.
    I need to see the tasks assigned from the table for each day ??
    ie; If i select date 10 (in Oct month calendar) it should list all the task listed for the same day fetched from the table.
    Regards,
    Manoj

    Pavan,
    Thanks for your kind response:
    c)*Set these items:* give the link page item where the value u want passing
    d)*With these values:* put the values which u r passing
    Can you just give me an example, how to give data in Set these items & With these values (I tried but doesn't work, i thought i'm doing something wrong)
    for ex: If a particular date (13th Oct 2011) of the calendar has 3 events A, B and C. (present in a single table - backend).
    Link to common page (say 1). Selecting A should get details of event A alone from the same table - backend, same for B and C.
    What i tried and doesn't work:
    Set these items: 1, 1, 1 (page no)
    With these values: A, B, C (values)
    Could you please guide me in this .....
    Regards,
    Manoj

  • Day link - want Item to contain day number from calendar

    I'm a bit stymied here.
    Using the calendar, I would like to add a branch to a page based on the DAY of the calendar that the user clicks on. For example, if the calendar is on the screen, and the user clicks on day number 15, then I would like that "15" passed to the page that the user is sent to.
    Being a little more specific:
    Page 1 is a calendar page. When the user clicks on a day number in the calendar, I want it to branch to Page 2.
    Page 2 contains a text field for the calendar day. I would like to populate this field with the day number selected on Page 1.
    I can't seem to get ApEx to do this, but it seems like an obvious feature that users would want if they're using the Day Link functionality at all.
    Can anyone help??
    thanks,
    bruce

    I just tried creating a custom calendar template. There I changed the Weekday Attributed / Day Title Format to the following:
    <a href="f?p=&APP_ID.:2:&SESSION.::&DEBUG.::P2_DAY:#DD#"><div class="t10DayTitle">#DD#</div></a>
    and this worked out.
    You also need to change the
    Non-Day Title Format and
    Weekend Title Format
    the same way, in order to cover all dates.
    Denes Kubicek

  • Calendar - Day Link settings getting cleared

    Hello all,
    I'm running Application Express 3.1.1.00.09. I have an application with a page that has a "Small" calendar on the left and a report on the right. I wanted to set it up so that when the user clicks a day link, it targets back to the page showing the report for the day clicked so essentially the user could click around the calendar displaying the report for that date.
    In searching the forum, I saw a post where they advise setting the date item I'm using for the report's "where" clause using the substitutions "#YYYY#", "#MM#" and "#DD#" (I couldn't find any documentation for this but apparently these substitutions hold the year/month/day of the date clicked. It works, however, when I go back to look at the Day Link settings, they're all cleared - yet the page keeps running as I'd set it.
    Though the page is running fine, I'm concerned that going back in and changing another setting for the calendar would then undo my Day Link settings, or exporting/importing the application would lose those settings, not to mention that without the settings, it's no longer apparent why it works.
    The only pattern I can see so far is that it only appears to clear the settings if I put one of those substitutions in the "with these values" setting.
    Any thoughts?

    Solved using the one of the posts in Denes' demo app on calendars - editing the monthly calendar template to set the item.
    It works, but seems like a workaround. Seems to me a template shouldn't contain dependencies on specific page items. The Day Link settings in the calendar should be looked at, because just clearing out the settings without any feedback, to me, is a bug.
    John

  • Calendar Day Link to Another Page

    I have a Page which has Date as LOV with Submit With Select (This is Page 10)
    e.g. User selects a date, report is displayed based on date selected. This is done using Select list with Submit. Date is populated using LOV based on query. The default value of date is Maximum of date in on of my date column.
    The above think works great. No problem so far.
    I want to create calendar view which is another page (This is Page 20) .
    Calendar is created using Calendar wizard. In Calendar, I want to link Day to above Page. I can create day link which links back to Page 10 and also report data is displayed based on date selected in Calendar.
    Now, the problem: The problem is value of Date field on above page (Page 10) is always set to default value. Although, I have said that default value should only set when session state is NULL.
    So my question is why Date (Display value) is not set to value passed from Calendar Page. I have checked Session info and correct value of date is present.
    What should I do to correct this problem ?
    The other question is :
    How to disable calendar day link when there is no data to be displayed ? At present, as soon as I create a Day link, all the Days in Calendar are linked, what I want is, to hightlight/clickable which has only some data.
    How should I do this ?
    Thanks
    Sanjay

    Sanjay,
    Instead of using the Day Link feature, you can create a link in the SQL query for the calendar region. This will accomplish both of your goals: It will pass the value to your other page, and it will only appear for days where there is a value.
    If you look at the Orders page of the sample application, you'll see that the SQL for the calendar is :
    select '<a title="Order Detail" href="f?p=&APP_ID.:29:' || :APP_SESSION || '::::P29_ORDER_ID:' || order_id || '">' || to_char(order_total, '$999,999') || '</a>
    ' ord, order_timestamp
    from demo_orders o, demo_users u
    where o.user_id = u.user_id and (u.user_name = :APP_USER
    or :APP_USER = 'ADMIN')
    The query returns two columns: The value to display, and a date. In this case, the value to display is a link to another page. The link passes a value for the P29_ORDER_ID value.
    Documentation for the link syntax is available here: http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#sthref446

  • Calendar Day Link

    I've created a link on calendar days that goes to another page in the application with a form. This form has a date field, and I'd like the date field to be populated with the date that was selected from the calendar page that activated the link.
    For example, you've got the month of January and a day of 18 with nothing in the day box (no other displayed items or rows) except for the little number 18 itself.
    I can create a day link so that when you click on the 18 it takes you to some other page. But how do I get it (what application variable or substitution string do I reference) so that, on this other page, I can set a text field to have a date of January 18, 2005?
    The create calendar wizard created a page item called P_CALENDAR_DATE. However, this is consistently the current date (the date the calendar uses as a base). But is there a way to reference the date that is clicked?

    I couldn't get the #MY_COLUMN# method to work for me - I must have been doing something stoopid!
    However, the #YYYY##MM##DD# method certainly did work (although I changed the date format to #DD#/#MM#/#YYYY# to match the format of the field receiving this value).
    Many thanks for this tip

  • Calendar Day Link not Working

    Hello,
    I have a calendar and am trying to create a day link from the month view that takes me to the day view for a given day. I am using an external URL link of:
    f?p=&FLOW_ID.:145:&SESSION.::&DEBUG.::P145_CALENDAR_TYPE,P145_CALENDAR_DATE:D,#YYYY##MM##DD#
    which produces the following error:
    ORA-01840: input value not long enough for date format
    I am running Apex 4.1. Any suggestions on what might be the issue?
    Thanks,
    Jeff

    Maybe I'm too obvious here, but probably there is a mismatch between the date format being passed in URL (like '20111025') and in the page (145) that receives the date (?).

  • Number of days in the calendar month

    Hi All,
    How can i get the number of days in the calendar month in Bex reporting.
    Thanks,
    Gana

    Hello,
    Please go through the following links.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20f119d9-922d-2c10-88af-8c016638bd90
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f002c608-2533-2c10-25a1-d0e7f7b5b662
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0fefc77-40e3-2c10-8da3-d4bfcb013387
    Thanks.
    With regards,
    Anand Kumar

  • HT202297 Can Reminders link with Calendar?

    I love the way Google Tasks show up in Google Calendar. It just makes sense: A task has to be done on a certain day, and I look in my calendar for the daily things that I will do.
    Back in the day Reminders were a part of iCal, though I don't remember them linking up with certain days in my calendar (correct me if I'm wrong). But now they are completely separate. If Google Tasks wasn't virtually dead, I'd just use that. But if Apple is already doing a good job of making Reminders and Calendar work together, then I won't have to, and that'll be one more consideration on the internal debate I've got going on labeled "Should I give in to iCloud".
    Since Google already has this as a web app, I'm sure you can see that I'm referring to desktop solutions. This is because Internet connection here (in Indonesia) and in other countries is not always as good as in the US.
    So, does anyone know how I can get Apple Reminders to show up, on the day they're due, in my Apple Calendar? This would be a great relief.
    DL

    Yes, if you use BusyCal instead of Calendar, or iCal.

  • How do you link Google calendar to iCal in Maverick?

    Just downloaded Maverick (great) to my late 2008 aluminium laptop but cannot link Google Calendar with iCal.  In iCal tried deleting old account and re-entering but still iCal does not sync, although it still does on iPad and iPhone.  Any ideas?

    Hi there,
    I have tested this out on my backup disk and there is a slight modification to the method. Will highlight this with quotation.
    ================================================================================ ==
    It appears that once upgraded to Mavericks, the calendar folders are no longer compatible with the latest version of iCal. Hence why it crashes.
    To remediate,
    Close the iCal App
    Duplicate the folder (For Backup reason)     /Users/YOURPROFILE/Library/Calendar
    Delete all content with in      /Users/YOURPROFILE/Library/Calendar
    Go to:-
    System Prefences | Internet Account | iCloud
    Uncheck Calendars, Recheck Calendars
    Select the iCloud profile
    Press "-" to delete the whole iCloud profile.
    Recreate the iCloud profile by select "+" then iCloud
    Enter your iCloud Username and Password
    It will asked you if you wish to merge the database. (You may have to do this more then once)
    For every other google calendar
    Uncheck Calendars (if already checked), Recheck Calendars
    Hopefully this will recreate all the calender folders within /Users/YOURPROFILE/Library/Calendar and start re-syncing.
    Once you are satified that all your calender are syncing, delete the /Users/YOURPROFILE/Library/Calendar copy
    Good Luck.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++

  • Father's Day in the calendar...

    My iPad and iPhone does not show Father's Day in the calendar when I turn the US Holidays on... It shows Mother's Day along with all the other random holidays (Lincoln's bday, Palm Sunday, etc.) Anyone know why?

    Father's Day apparently is not as important as Mother's Day.
    I was bummed to find out. Not that I care about the date and look forward to it every year, but it is still a poor oversight on Apple part and Apple has yet make attempt to fix it.  Actually, I was surprise this is an Apple over-sight because Apple is usually attentive to details.

  • Birthdays a day early in Calendar on Mountain Lion

    On my Macbook Pro running Mac OS X 10.8.2 (Mountain Lion) all the birthdays from the "Birthdays" calendar are showing a day early in Calendar. E.g. When I browse to contact Joe Bloggs in Contacts it shows his birthday as 12/03/1987. When I go into Calendar, there is a full day event for Joe Bloggs' birthday on 11/03/1987.
    In Calendar I have selected the correct timezone (New Zealand Time) and have also enabled "Turn on time zone support" in the preferences. On my iPhone, I have the same settings and the birthdays display on the correct date.
    Is there anything I can do to get the birthdays to display on the correct date in Calendar on my Macbook Pro?
    Just clarifying, the date format used here is dd/mm/yyyy.

    I tried the "year" view, but it makes not difference.  A Spotlight search does not present the info in a calendar format, only in an events and reminders format. It also only seems to be finding the "today" view, but it is impossible to be sure since it only shows a time for the event but no date.  There has to be a way to find the last time or all the times I made a Dr.'s appointment without going through an entire year or more day by day.
    Tom

  • Day View in calendar Component showing the next at times not everytime!

    Day View in calendar Component showing the next at times not everytime! My question is when we go to Day view which day does it show? is it Server day where the application reside or the machine time zone day ?

    I think you want to know, days & time picked by which machine, locally or from server? It does take from server where the application is running.

  • Easy way to enter multi-day events in Calendar 7.0 (Mavericks)?

    I need to create a bunch of multi-day events in Calendar (7.0 under Mavericks)
    I think that I had discovered an easy way to do this under Mountain Lion -- double click on the day in Month view, type the name of the event, then type a date range, and hey! Presto!! Calendar created the multi-day event without my having to move the cursor and click to select start and end days in the little calendars.
    I can't make that work w/ Calendar 7.0 under Mavericks -- has this changed?  I've tried all variations of dates that I can think of - just the numerals for the days (13-19); numerals for month & days (7/13-7/19); including the year (7/13/14-7/19/2014); month names instead of numerals; with and without spaces around the hyphens..
    I had Mountain Lion for only a couple of weeks on a new computer before I upgraded to Mavericks, so I don't remember exactly what I'd done in Calendar to enter all the info after double-clicking on a day & have the multi-day entry be created automagically
    Thanks for any help
    (I'm tying to find any reasons for keeping on using Calendar. I've used iCal for 10+ years to organize myself and my household, but I'm having a REALLY hard time w/ Calendar 7.0 under Mavericks -- no lines between days in month view makes it really hard to tell at a glance which events are on which days, especially if there are a lot of mult-day events; time for timed events after the event in smaller & pale gray letters is hard to see; little colored dots next to events are almost impossible to tell which color so which calendar an event belongs to (I have 11 Calendars); ...)

    Tyrone,
    The week view affords some of the capability that you are looking for.
    Experiment with these suggestions:
    1. Select the week view.
    2. Choose the number of days that you want to display by selecting (Option +  + 1), (Option +  + 2), (Option +  + 3)...and so forth for the number of days desired for a week display of 1/2/3/4/5/6/7 days. Make sure the mini calendar window is displayed and you will see the number of gray days change accordingly.
    3. Create a new item on Wednesday (Double click on the start point) and drag to your desired length, and if the event falls over the weekend change the display length as indicated in step 2 above, and drag the event to the end time.
    Let me know if you get the hang of what I am trying to describe. It is easier to accomplish than it is to describe.
    ;~)

Maybe you are looking for