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

Similar Messages

  • 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 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 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 (?).

  • 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:
    &lt;a href="f?p=&APP_ID.:2:&SESSION.::&DEBUG.::P2_DAY:#DD#">&lt;div class="t10DayTitle">#DD#&lt;/div>&lt;/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

  • 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 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

  • Assign predecessors in calendar days, while working only business days

    I would like to try to put my predecessors in terms of calendar days - as this is what I'm dictated. I would like it to count calendar days and schedule business days.  i.e. Task #1 needs to happen 10 calendar days after the start of the project.  
    However, I would only like tasks to be scheduled on standard working days (M-F, 8-5).  If Task #1 were to fall on a holiday or weekend it would be desirable to have the task be scheduled subsequently.
    As you can see in the attached picture, from the award date, the first weekly teleconference is not 4 days later it's been scheduled for the following monday, which works.  But for the kickoff meeting, 10 days should be the 11th, which is a Saturday. 
    Following the same logic the task should be scheduled for Monday the 13th. 
    Task                            | Duration        |  start            
    |    Finish                 |    Predecessor
    Contract Award            | 0 days          | Wed 10/1/14  |  Wed 10/1/14      |         
    Weekly Teleconference | 869.13 days | Mon 10/6/14   | Mon 3/19/14       |      1 ss+4days
    Kickoff Meeting             | 2 day?          | Wed 10/15/14 | Thu 10/16/14     |      1ss+10days
    (sorry i have to type it out, i'm unable to attach a picture)

    skikeb122,
    Enter your link information as follows:
    1SS+4edays
    1SS+10edays
    John

  • How to calculate a number of calendar days from a start date (e.g. 60 days from 3/10/2012)

    How to calculate a number of calendar days from a start date (e.g. 60 days from 3/10/2012)

    DT,
    If the starting date is in Column A, and you want to calculate what the date would be 60 days later, in Column B, write in Column B:
    =A+60
    Couldn't be much easier.
    Jerry

  • Calendar day and Calendar Year/Week  mapping

    Dear SDN,
    I am unable to view Calendar Year/Week and Calendar Day ...Data..
    I have observed that they have not mapped in the Update rules of 0SD_C03 InfoCube...
    I have checked all the InfoSources (2LIS_11_VAHDR, 2LIS_11_VAITM, 2LIS_11_V_ITM, 2LIS_12_VCHDR, 2LIS_12_VCITM, 2LIS_13_VDHDR, 2LIS_13_VDITM)...
    There in all the Update Rules...
    Update Rules -- Details -- Time Ref.---
    Time Characteristic of Fiscal Year Variant is mapped with Source fields of Fiscal Year variant
    similarly,
    Calendar Year/Month is mapped with Update Date Statistics
    But Calendar Year/Week and Calendar Day are Blanck...
    I am thinking they also should be mapped..
    Please suggest me how to resolve this...
    Help will be greatly appreciated with points..
    Thanks in advance..
    This is very urgent...

    Thanks...
    But i have already assigned my self...
    0calyear/week to Update date statistics...
    and
    0calendarday to Update date statistics..
    I have assigned points to you...
    Thanks for your informatioon

  • Calendar Day format (Xcelsius dash with LO prompts connected to SAP-BW)

    Hi guys.
    I built a dashboard using Xcelsius 2008 with a few LiveOffice prompts. Some are optional and these don't cause any issues, the only one causing problems is one of the two compulsory ones (the other is related to Calendar Month).
    The BW query connected to the universe on which the WebI query have been built has two variable selections: the first on Calendar Month, the second on Calendar Day. I haven't been able to find a way to pass Calendar Day data to the query.
    When I launch it from WebIntelligence, I select the value from a "calendar". This is the way it is displayed: "dd/mm/yyyy hh:mm:ss AM". When I select a value from this calendar and I launch the query, results are displayed in the proper way.
    I added the query to an Excel file that I've subsequently imported into Xcelsius. As I said before every other prompt works perfectly, the only one not working is the Calendar Day prompt. I tried passing this date in several ways, but I receive the message "Invalid format (LO 26000)".
    These ways include:
    - dd/mm/yyyy [0CALDAY].[AAAAMMDD]
    - dd.mm.yyyy
    - dd/mm/yyyy
    - yyyymmdd
    - ddmmyyyy
    Did anyone have ideas on how to pass these data in a proper way to the LO prompt from Xcelsius?
    Thanks a lot.

    Hi Kevin, we decided to scrap the "Calendar Day" use because we didn't find a solution to pass the data from Xcelsius to BW.
    There's still an issue. This seemed to work before but now it's not working anymore. We also have a Calendar Month variable. When Live Office creates a prompt on the Excel document, the variable is displayed like this (for instance, NOV 2009 [0CALMONTH].[200911]).
    To avoid problems with keys, I've also created a separate query containing a Month list of values and the string to be passed to BW is created putting together the informal name (NOV 2009) and the unique name ( [CALMONTH].[200911]). When I insert this time prompt in the Xcelsius document, I receive the LO26315 message. If I remove it (I've got other six prompts, none of them related to a date), everything works fine.
    Anyone ever had to pass a similar value from Xcelsius to BW?

  • IOS 7 Calendar Day View does not show any all-day events ?

    Hi,
    I realize that iOS 7 Calendar Day View  does not show any all-day events.
    Is this a bug ?
    Any help given is much appreciated.
    Thanks and Regards.

    Mine brings me right up to the current time, or in the case of another day, it takes me to the first appointment of the day.

  • How to get highest number of open cursors within the current calendar day

    Hi all ,
    i need to know how to get the highest number of open cursors within the current calendar day.
    Thanks ,

    823030 wrote:
    the issue is my customer is getting the error ORA-01000: maximum open cursors exceeded and we need an sql statment that gets the following values :
    -highest number of open cursors experienced in the current calendar day.
    -current open cursors
    -and maximum open cursorsThis error is rare. It happens when
    a) the value of the open cursor parameter is set extremly low (default is something like 1000). Low would be something like 10.
    b) <strike>you have many concurrent users(=sessions) and </strike>the application does not use bind values
    In this case each select will open a new cursor, instead of reusing it.
    c) you have a select that opens a cursor for each line. This can happen with a statement where you have the CURSOR keyword somewhere in the select or where clause. Those cursors will be closed when the select is finished. But during the run time of the select, all cursors stay open.
    To track the number of "open cursors" during the day you would need to implement some monitoring. Maybe based on the view that was already mentioned.
    Edited by: Sven W. on May 16, 2011 2:30 PM - since the parameter is on session level, other open cursors should not influence it much.

  • My ical calendars stopped linking.  how do I get them linked back together

    My ICal calendars were linked until recently.  I have an Iphone4, Ipad and Imac.  They are no longer linking my Ical events.  I don't know what happened.  I did not change anything.  I have been getting this message popped up on my Imac.... encountered HTTP error 404. Make sure the URL is correct.   I tried to google it but have not been able to figure out how to fix it.  Does anyone know how to fix this?

    Restore from the backup again?

Maybe you are looking for

  • When I convert a Word doc to PDF, some of the page numbers are missing.

    I'm using Word 2003 and Acrobat Pro 7.0. When I print out the Word doc all the page numbers are there, but when I concert to PDF most of them are missing. Any suggestions?

  • BOXI sever unavailable after Java SDK install

    I recently installed the Java SDK on a platform running BOXI 3.1 SP3. During the install, I de-selected the Enterprise options (per the install doc). Subsequent to the install, I no longer had access to the BOXI. Upon review, it seems that the custom

  • 500 error when using customized form

    TMG 2010 Service Pack 2     Server 2008 R2 Service Pack 1 Only one member in the array I have enabled "Use customized HTML forms instead of the default" in a listener. That works fine, as long as I stick to the original custom folder: "ISA". But once

  • Is anyone else having problems with Apertures Date fields?

    After experiencing a sysems failure I began restoring my images from backups.  I have had no end of problems with Image dates.  I have come to the determination that Aperture is NOT using either the "Create Date" or "DateTimeOriginal" as the image "D

  • Image Created in Firworks is Invisible in Dreamweaver cs6

    Created an image in Fireworks .png - saved it in image folder.  Go to add image to .htm page and the image isn't in the folder.  But I can open the image from Photoshop.  resaved the image by a different name in image folder and it is not there when