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

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

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

  • Form Settings getting cleared for system form

    Hi All,
    I have added the code for setting editable=false for the following items in Updatemode and Ok mode.Then in add mode,i made the columns to editable = true .First time it is working fine.
    the next time, I got the error message as "item is not a user defined item" on ItemCodeCol.editable = true.Then i check the form settings, the Active field for the itemcode cleared.When i set to Active as checked and run my code,it is working fine.How to solve the issue and how to avoid the setting of the fields.
    This is my code :
    If oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
                    oSQItemCodeCol.Editable = True
                    oSQItemNameCol.Editable = True
                    oSQQtyCol.Editable = True
                    oSQWhsCodeCol.Editable = True
                ElseIf oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE Or      oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE Then
                    oSQItemCodeCol.Editable = False
                    oSQItemNameCol.Editable = False
                    oSQQtyCol.Editable = False
                    oSQWhsCodeCol.Editable = False
                End If
    Thanx in advance
    Regards
    Mohana
    Edited by: Mohana Annadurai on Feb 20, 2009 5:28 AM

    Hi,
    This is not UDF in system form.That is , the itemcode,itemname,qty,warehouse field in the content tab of the sales quotation form.when i change the field to editable and noneditable,
    1)it is allowing to set the editable property to false and true for the first time.
    2) After adding the record,i navigate the record to check ,at that time,as per my code,in update mode,it is not allowing to edit.
    3)When i click add menu,and i chose customer, at that time it is not allowing to add a itemcode,becoz the itemcode field is disabled.
    4)when i check in form settings, in Table format, Active gets unchecked for the above fields.
    5)I want to avoid this changing of active in form settings.How to to this...
    Regards
    Mohana

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

  • Q:Date link not getting the right date in calendar

    Gang,
    I have enabled the day link on my calendar so the user can click on the date in the month view to get to a form page where they can add records.
    My day_link looks like this:
    f?p=&FLOW_ID.:2:&SESSION.::&DEBUG.:2:P2_TRAINING_DATE:#TRAINING_DATE#
    Where P2_TRAINING_DATE is the DATE I'd like to populate on page 2. The variable name that holds this date is called P2_TRAINING_DATE.
    If I hoover over the daylinks they display very strange dates and also if I click on the link the dates are wrong. For example if I hoover over 01-May the URL in the bottom of my browser displays the correct date but if I hoover over 02-May it displays 05-May instead.
    What am I missing, should I not use the #TRAINING_DATE# variable?
    Oh, this application is running on apex.oraclecorp.com so it's version 3.1.
    Cheers,
    Andy

    Hi Andy,
    Change the day link to pass #DD#/#MM#/#YYYY# (UK format, so change if another format is required).
    This will pick up the date from the calendar rather than your data.
    Andy

  • When i restart/shut down settings get erased- calendar, bookmarks-gone

    when i restart or shutdown, my settings get erased and go back to default- blue screen instead of the picture i had as my background; dock preferences are back to default; my bookmarks are gone. my calendar is gone. things my apple used to remember (like certain words I would type often, etc) are all gone. I went through and deleted some stuff but I didn't think I touched anything that had to do with the system. is my hard drive crashing?

    Hi Miro, and a warm welcome to the forums!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
    The usual reason why updates fail or mess things up, or things don't load/run, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates again, or even do an A&I if you have enough free disk space.
    The combo update for PowerPC-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateppc.html
    The combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
    Repair Permissions after re-install, then reboot again.
    If all the above do not resolve the problem, then it's time for an Archive & Install, which gives you a new OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120
    We may need to recreate some plisys too, but report back after doing these things.

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

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

  • How to get the calendar days of  last month in SAP HR Schema?

    Hi all,
       I have a question about the calendar days of last month, cause the customer calculated the salary not by natural month but cross-month, for example,
    for calculating salary of Aug, the time period may be 7.28-8.27, so I need the days of this period which is  the calendar days of  last month exactly.
    But I only knew GKSOLL was used for getting the calendar days of current month.
    If any place wrong, please guide me.
    Look forward to getting experts' help, thanks.
    Regards,
    May.

    Hi Sankarsan,
    Thank you so much for your help.
    The requirement I have described in detail when replying Viverk, you can take it as a reference.
    Cause my customer  don't want to use retro in SAP system, so I noted the schema about  retro.
    Now my question was how to get the last month calendar days in Schema. For example, now I am calculating the salary of July, the full attendance will be 30 days(06.28-07.27), in rule GKSOLL will get 31 days, so it's not right.
    I hope you can get my point, below is the wrong rule.
    Please guide me to correct it, thanks.
    Regards,
    May.

  • Where to go to see Lead Time settings? Calendar days vs working days

    Hi everybody,
    II'm trying to find the screen where details regarding Lead Time settings are shown. I'm looking specifically for information on the type of days we're using to identify Processing LT's. I'm not certain whether we're using calendar days or working days.
    I'm sure there is a simple way of finding this information out, but just don't know where to look/change the setting.
    Thanks,
    BG

    This is NOT a setting that you can view.
    Oracle always behaves like this.
    Best way to verify this is to create an item with PreLt=5, Processing LT=7 and Post-processing lt=5.
    Then create a sales order with a due date of say 9/21. Make sure 9/1 to 9/21 is regular 5 days week.
    Assuming no holidays, it will mean that you need material on the dock on 9/15 (5 days of PPLT = 7 calendar days.)
    So when MRP/ASCP creates a Req/PO, the promised date will be 9/15.
    Also, the Days from today will point to 9/1 - which includes 7 days of processing + 7 days of preprocessing (5 working days)
    Hope this answers your quesiton.

Maybe you are looking for

  • Need Christmas help!

    My husband wants the new apple tv for Christmas, but we have an old flat screen (no HDMI and no optical audio). I bought the new apple tv and I am on a mission to have all the cords he will need on Christmas morning. I have an HDMI to DVI (which seem

  • Connecting my Sharp vl z5 viewcam to imovie via firewire connection

    Bought my firewire cable today,plugged it in,turned the camcorder on and it said on imovie screen.....The camera you have connected is a different video standard from your project. You can edit but you will not be able to capture any new clips or exp

  • Exporting ical to a format that outlook or yahoo mail can read

    How can that be done?

  • Error in post goods issue

    hiiiiii         when i tried for post goods issue i am getting an error as "posting only possible in 2008/10 --2008/09 in compmany code"         i have checked in MMPVMMRVOMSY but still i am unable to solve my error.         plz let me know where r t

  • I need a easy Oracle Database download?

    This is my first try at getting familiar with Oracle. Now the database downloads that I have experienced so far all require for me to partition my system. Now from past experience partitioning my system has been a nightmare. I need some help!! Is the