APEX 32 Calendars

Hello Gurus.
I have a page where it contains a calendar region and an interactive report region . And both region share a column called Account#.
The requirement is, if user clicks on a date on the calendar where Account# is hyper linked. The interactive report should only fetch all rows pertaining to that account only.
How can I achieve above?
In detail:
1) How can I create Hyperlinks on dates where account# is visible?
2) Then, How to link those account# link with interactive report link?
3) How to make Interactive report region automatically synch up with clicks on calendar dates(where account# with hyperlink is shown).
I have looked at the sample application page 4, but it is different than what I need to achieve.
Thanks,
R

Thanks Kartik,
With your help, I am getting there.
I am now able to link calendar dates, but now when I click linked dates on calendar, it opens up a new window and throws the error with "HTTP 400 BAD request " error.
I wanted to show this through demo on apex.oracle.com but, they have now APEX4.0 where as my app is still in APEX 32.
Below is what exactly I did.
Step 1.
Create a classic sql report with following
select      "DEMO_ORDERS"."ORDER_ID" as "ORDER_ID",
      "DEMO_ORDERS"."CUSTOMER_ID" as "CUSTOMER_ID",
      "DEMO_ORDERS"."ORDER_TOTAL" as "ORDER_TOTAL",
      "DEMO_ORDERS"."ORDER_TIMESTAMP" as "ORDER_TIMESTAMP"
from      "DEMO_ORDERS" "DEMO_ORDERS"
WHERE ORDER_ID = :P7_X
2. Report is conditional - SQL Query returns at least one row:
SELECT 1
  FROM demo_orders
WHERE order_id = :P7_X
3. Calendar query is:
select O.ORDER_ID, order_total ord, order_timestamp
from demo_orders o
4. Calendar display type is CUSTOM and column format is:
<span style="color:darkred;font-weight:
bold;font-size:14px">#ORD#</span>
<span style="color:darkgreen;
font-weight:bold">USD</span>
  </br>
<a href="f?p=&APP_ID.:7:&
SESSION.::NO::P7_X:#ORDER_ID#"
style="color:darkblue;
font-weight:bold">#ORD#</a>I have exactly followed steps outlined in the link given, but still when I click on calendar dates, instead of toggling the report region on same date, it opens up a new window with above HTTP error.
I am not sure what am I missing :(
Thanks,
R

Similar Messages

  • ApEx Calendar Region - enhanced behavior using JavaScript

    Hi everyone,
    I recently wrote about the built in calendar. Comments/remarks are welcome! :)
    http://insum-apex.blogspot.com/2008/07/apex-calendar-enhanced-behavior.html
    Louis-Guillaume
    Homepage : http://www.insum.ca
    Blog : http://insum-apex.blogspot.com

    Hi Emma,
    You could do it with an POP-UP LOV and Dynamic Action.
    Dynamic Action
    - Change
    - item P65_STAFF_ID
    True Actions
    1 - PL/SQL block;
         - PL/SQL Code in this block you can get the last of first date for the absence of the STAFF_ID and put it in the date item for the calendar (eg P65_CALENDAR_DATE);
         - Page Items to Submit P65_STAFF_ID
         - Page Items to Return P65_CALENDAR_DATE
    2 - Execute Javascript Code
         - apex.widget.calendar.ajax_calendar('M','same',$v('P65_CALENDAR_DATE'));
    This way the calendar will be refreshed and set to the date in P65_CALENDAR_DATE.
    You can also put "null;" in the PL/SQL block, leave the Page Items to Return empty and remove the ",$v('P65_CALENDAR_DATE')" part from the Javascript code. This way you do not open the calendar at the right date.
    I made a small example at http://apex.oracle.com/pls/apex/f?p=14257:4 (login as demo/demo).
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.

  • Apex Calendar has a row limit per day?

    Hi, I am using the apex calendar in my application and it seems to have a limit of rows it can display per day, does anyone knows anything about it? Or maybe a limit of characters it can display in one day. (full month view)
    What I need to do is to increase this limit because I need to show in the calendar sometimes more then 70 rows displaying costumers full names.
    I use Apex 4.2 databese 11g and the theme is 26 -Productivity Applications
    Thank you
    André

    I foung this Apex SQL Calendar - ORA-06502 Error that is the same error I get but still no solid answer about it or if there is a work around.

  • Apex Calendar has a row limit per day? character limit per day?

    Hi, I am using the apex calendar in my application and it seems to have a limit of rows it can display per day, does anyone knows anything about it? Or maybe a limit of characters it can display in one day. (full month view)
    What I need to do is to increase this limit because I need to show in the calendar sometimes more then 70 rows displaying costumers full names.
    I use Apex 4.2 databese 11g and the theme is 26 -Productivity Applications
    Thank you
    André

    I foung this Apex SQL Calendar - ORA-06502 Error that is the same error I get but still no solid answer about it or if there is a work around.

  • Calendar Refresh Issues

    Here's a strange refresh issue with the Apex Calendar. None of the built-in buttons (Monthly, Weekly, Daily, Previous, or Next) are refreshing the calendar with any entries at all when I first load the page. The grid and labels will be updated correctly but the data is not there.
    The weird thing is that after a page refreshes, everything suddenly works. I've tried apex.widget.calendar.ajax_calendar('M','same'); etc to no avail. Any help on this would be most appreciated.
    Thanks.
    mwt

    Same thing happening on my iMac.  Can't do much on the computer.

  • How to make calendar wider?

    I need to make the APEX month-calendar display wider so that I can cram more text into the day cells. The "Calendar" template is listed in: APEX > Shared Components > Templates.
    I probably just need to change the style sheet. I found the following classes listed in: APEX > Shared Components > Templates > Edit Calendar Template:
    <table class="t5CalendarHolder">
    <table class="t5Calendar">
    <div class="t5DayTitle">
    <td class="t5Day">
    But CSS Finder did not find any of these classes. So now I am asking for your help. How to make the calendar wider?
    Thank you.

    The themes that I've found to be the most user modifiable are Black, White, Formal, Modern and Modern Frame. They don't use image files that limit the size of the page. I will select the one of those 4 based on the color of the navbar text so it is most visible with the design of the site.
    OT

  • Event handler when using partial page refresh ?

    Hi
    I have a calendar, which uses partial page refresh. The problem is how to make javascript wait until the calendar has loaded and then do some updates on the calendar (after the user has pressed the next button that runs apex.widget.calendar.ajax_calendar('S','next');, for example ). I thought I could add "onreadystatechange" (or onload) event handler to the calendar like this: onreadystatechange="checkState()", where the function would check the state and if ready then do the updates. This doesn't work. Could somebody please tell me why not ?
    Tiina

    Hi,
    It seems that ajax calendar missing event apexafterrefresh.
    I do not know is this "bug" or just feature.
    That event would be useful to your case , if I understand correct what you looking for.
    For workaround , you can over write original function by placing this to calendar region footer
    <script>
    apex.widget.calendar.ajax_calendar=function(p_calendar_type, p_calendar_action, p_calendar_date, p_calendar_end_date){
    var l_cal_type_field = $v('p_cal_type_field_id');
    var l_cal_date_field = $v('p_cal_date_field_id');
    var l_cal_end_date_field = $v('p_cal_end_date_field_id');
    var l_cal_id = $v('p_calendar_id');
    var l_calendar_region = 'calendar' + l_cal_id;
    if ( p_calendar_type != 'C' ){
      $s(l_cal_date_field,$v('p_calendar_date'));
    }else{
      if ( $v(l_cal_date_field) == '' ) {
       $s(l_cal_date_field,$v('p_calendar_date'));
      if ( $v(l_cal_end_date_field) == '' ) {
       $s(l_cal_end_date_field,$v('p_calendar_end_date'));
    // create and apex.ajax.widget object
    var a = new apex.ajax.widget('calendar',function(){
      /* start the return function */
      if(p.readyState == 1){
       document.body.style.cursor = "wait";
      }else if(p.readyState == 2){
      }else if(p.readyState == 3){
      }else if(p.readyState == 4){
       $x(l_calendar_region).innerHTML = p.responseText ;
       $s(l_cal_date_field,$v('p_calendar_date'));
       if (p_calendar_type == 'C') $s(l_cal_end_date_field,$v('p_calendar_end_date'));
       document.body.style.cursor = "";
      /* DO HERE THINGS AFTER CALENDAR REFRESH */
      }else{return false;}
    // code for next,previous and today
    if (p_calendar_type == 'S'){
      p_calendar_type = $v('p_calendar_type');
    }else{
      $s(l_cal_type_field,p_calendar_type);
    a.ajax.addParam('p_widget_mod',p_calendar_type);
    a.ajax.addParam('p_widget_action',p_calendar_action);
    a.ajax.addParam('x01',l_cal_id);
    var lDate = (!!p_calendar_date && p_calendar_date !== '')?p_calendar_date:$v(l_cal_date_field);
    if (p_calendar_type == 'C') {
      var lendDate = (!!p_calendar_end_date && p_calendar_end_date !== '')?p_calendar_end_date:$v(l_cal_end_date_field);
    a.ajax.add(l_cal_date_field,lDate);
    if (p_calendar_type == 'C') a.ajax.add(l_cal_end_date_field,lendDate);
    a.ajax.addParam('x02',lDate);
    if (p_calendar_type == 'C') a.ajax.addParam('x05',lendDate);
    a.ajax.add(l_cal_type_field,p_calendar_type);
    a._get();
    </script>Where I have comment *"do here things after calendar refresh"*, you can hook own scripts.
    Of course this is not best way, but might help you till ajax calendar support dynamic actions fully
    Regards,
    Jari
    Edited by: jarola on Oct 20, 2010 3:11 PM

  • Refresh Calender,

    Hello,
    I am using Skillbuilders modal page to edit the content ( text ) of a calender with hide/show region - template 23.
    When the modal page gets closed the calender does not get refreshed.
    As I got we cannot refresh HTML region ... is Calender considers as an HTML region ??
    Is there a way to refresh the calender region ... or I have to refresh the entire page as the modal page gets closed using this code in DA:
    location.reload(true)Kind Regards,
    Water

    Hello,
    I used this java code on Auto Close the Modal Page event:
    apex.widget.calendar.ajax_calendar;and it is working ...
    Thanks me.. :)

  • Time Interval for Daily Calendar in APEX 3

    Hi,
    we're looking at upgrading to Apex 3 and I have a question about the Daily Calendar time interval. Is there a way to change the interval to say, 15 minutes from the default 1 Hour?
    Cheers
    Kofi

    Hello Kofi,
    "Now looking at what I can see on apex.oracle.com, are you saying we'd just have to modify the daily calendar template?"The template only control the look of the calendar, not its functionality. If the default daily view meets your needs, you don't have to define any new templates.
    "I'd imagine that the whatever is creating the tags that will be displayed by the template needs changing to incorporate the other 15 minute cells I would add"Most of the calendar functionality you can control can be defined on the "Calendar Attributes" tab. The most important is the date column. If this column includes reference of time (on top of the date, of course) the APEX engine will automatically associate your entry with the proper "Hour" row. You are not adding cells. You are adding calendar entries. If several of these entries share the same hour slot, APEX will put all of then in the same row.
    The best way to understand it is simply define these entries. As I understand, you have access to apex.oracle.com, so it shouldn't be a problem.
    Regards,
    Arie.

  • How can I change the event display in an APEX 4.2 calendar?

    Colleagues:  The APEX calendar feature is pretty neat, but of course there's a feature I'd like to use but can't find how/where to change it.  In other calendaring apps (e.g., Thunderbird) when an event is logged, like tomorrow's staff meeting, the time is blocked out vertically for the length of the event.  So for example: if staff is from 2pm-4pm, both 2-3 and 3-4 are colorized so a quick visual will show what times during the day are not available.
    The APEX calendar will show a colored bar for the start time of the event, but not a blocked-out vertical for the entire event.  Make sense?  Any way I can change the calendar/event view to accommodate this?
    Thanks for your help.
    Broc Norman II
    Sr DBA
    GIT / Hillsboro Manufacturing Site

    use - Region Plugin - SkillBuilders Calendar which is useful to display event as your requirement
    Try this.
    Pars.

  • Diplay TImestamp in Daily calendar in APEX

    Hi,
    I want to display appointments within the time row in an apex calendar (daily and weekly view). With the Date picker I can choose a time which is stored correctly in the timestamp of my table. But I did not find a way to use the saved time to display the specific item in the time row it is concidered for. The Items are always displayed at 0:00. Time is completely ignored.
    I was searching hours to find out the issue but did not find a solution yet. I'm sure it's quite simple but I don't see the answer.
    Can anybody help?
    Thank you in advance.

    What are you using as your date column for the calendar region?
    Your data is fine and your select is not truncating the time. I am not really sure what is causing the problem, The only thing I can think of now is either the calendar template has been modified or there is a random problem with the region.
    Try to make a basic calendar on this table on a different page. You may have to just recreate the region or you can go through the motions and import the app to apex.oracle.com and i can look at it.
    Cheers,
    Tyson Jouglet

  • Calendar configuration --- hard Apex 3.2

    Dear Apex Users!
    I'm trying use the apex. I have an aplication and i would like to make a dynamic calender. im imagine two calendar, i have a main calendar where i'm use a sql query. Whit my query i can write an message to every day in the calendar. And in my database, i have Msg table and Notice table. Every Msg's have a own Notice. Im use the date by primary key. And between the two table i have a foreign key.
    I'm made a new calendar for the Notice, because i made a link in the main calender from every day. My link is redirect me to the Notice calendar where i can watch the Notice in daily view.
    Unfortunately i have two problem. When i click to link' I look a monthly view from Notice calendar. I don't know where can delete the monthly and weekly view.
    My second problem is that. When i m click to link i would like to see the selected day. But im look the current day. Im try to resolve this 5 days ago.
    Please help me Anyone!
    I'm using Apex 3.2
    postscript: sorry for my English.
    Edited by: 789131 on Aug 18, 2010 12:11 AM
    Edited by: 789131 on Aug 18, 2010 12:28 AM

    On the Page where you have the Calendar you will find a Hidden item like P1_CALENDAR_TYPE. This item determines whether the view will be Monthly, Weekly or Daily. The default is Monthly.
    To directly show the Day view do this.
    1. Create a On Load Before Header Computation on (say) P1_CALENDAR_TYPE. Type Static Assignment
    2. Assign the Value D (upper case) to the item
    This will take you to the Daily View
    As for your 5 days ago, I am not sure why. Depends on the code.
    Regards

  • Is there a way to generate an .ics or .vcs file from an APEX calendar?

    In our APEX application, we have a calendar that we would like to be able to give the users a link to download an appointment so that they can save it to their personal calendars. Is this available functionality?
    Thanks,
    Karla

    We also wanted to return it as a BLOB to make it easier to use as an attachment, so our end code looked like:
    FUNCTION ical_event (  
       p_summary         IN VARCHAR2  
    , p_organizer_name  IN VARCHAR2  
    , p_organizer_email IN VARCHAR2
    , p_description     IN VARCHAR2  
    , p_start_date      IN DATE 
    , p_end_date        IN DATE 
    , p_version         IN VARCHAR2 := NULL 
    , p_prodid          IN VARCHAR2 := NULL 
    , p_calscale        IN VARCHAR2 := NULL 
    , p_method          IN VARCHAR2 := NULL 
       RETURN BLOB  
    AS    
       l_retval VARCHAR2(32767);  
       l_lf CHAR(2) := CHR(13)||CHR(10);
       result      blob := EMPTY_BLOB;
    BEGIN 
       l_retval := '' 
          || 'BEGIN:VCALENDAR' || l_lf  
          || 'VERSION:' || NVL(p_version,'2.0') || l_lf  
          || 'PRODID:' || NVL(p_prodid,'-/FDIC//NONSGML ICAL_EVENT//EN') || l_lf  
          || 'CALSCALE:' || NVL(p_calscale,'GREGORIAN') || l_lf  
          || 'METHOD:' || NVL(p_method,'REQUEST') || l_lf  
          || 'BEGIN:VEVENT' || l_lf  
          || 'SUMMARY:' || p_summary || l_lf  
          || 'ORGANIZER;CN="' || p_organizer_name || '":MAILTO:' || p_organizer_email || l_lf  
          || 'DESCRIPTION:' || p_description || l_lf
          || 'DTSTART:' || TO_CHAR(p_start_date,'YYYYMMDD') || 'T' || TO_CHAR(p_start_date,'HH24MISS') || l_lf  
          || 'DTEND:' || TO_CHAR(p_end_date,'YYYYMMDD') || 'T' || TO_CHAR(p_end_date,'HH24MISS') || l_lf  
          || 'DTSTAMP:' || TO_CHAR(SYSDATE,'YYYYMMDD') || 'T' || TO_CHAR(SYSDATE,'HH24MISS') || l_lf  
          || 'UID:' || RAWTOHEX(SYS_GUID()) || '@fdic.gov' || l_lf  
          || 'STATUS:NEEDS-ACTION' ||  l_lf  
          || 'END:VEVENT' || l_lf  
          || 'END:VCALENDAR';  
        dbms_lob.createtemporary(result, TRUE);
        dbms_lob.open(result, dbms_lob.lob_readwrite);
        dbms_lob.writeappend(result, length(l_retval), utl_raw.cast_to_raw(l_retval));
        dbms_lob.close(result);
       RETURN result;  
    END ical_event;Edited by: Fairfax_Al on Apr 20, 2009 8:16 AM

  • Display all dates between a start and end date on an Apex Calendar

    Hi Guys,
    I am encountering an issue where Apex doesn't display the data from a valid query in a Calendar.
    I have a simple table used to capture events data with the following columns and data:
    event_id   start_date   end_date
    1           20-APR-09   22-APR-09
    2           24-APR-09   24-APR-09Using an Apex Calendar I would like to display the continuous dates of an event on each relevant date, so in the above example I would like to see Event ID 1 shown on the 20th, 21st & 22nd April in the Calendar.
    I have created the following query :
    SELECT     ees.event_id,
               ees.start_date + LEVEL - 1 AS date_range
    FROM       dual
             , (SELECT ee.event_id,
                       (ee.start_date) AS start_date,
                       (ee.end_date)   AS end_date
                FROM   ees_event ee  ) ees
    CONNECT BY LEVEL <= (ees.end_date - ees.start_date + 1)the results from this query list the dates as I require them in terms of an ID and a row for each date in the date range.
    I then wrap this query into a view and use that to base an Apex Calendar on and the when I run the page nothing is displayed on the Calendar?!
    Does anyone have any tips or pointers please?
    Kind regards,
    stu

    A bit more digging and once again I have found my solution on Denes' website - thanks for such and excellent resource!
    Solution I have used can be found here:
    http://apex.oracle.com/pls/otn/f?p=31517:83:4441524250972745::NO

  • Altering an ApEx Calendar page

    Hello,
    I was wondering if it was possible to alter an ApEx calendar page in order to make it into a resource scheduling page. Instead of the days listed across the top, it would have a list of resources (like shared meeting rooms), then times would be listed in a vertical column, showing who was using what resources.
    Thanks!

    Hi,
    You can use something like this:
    http://www.moyosoft.com/joc/
    This is not Open-Source, it might be the case that Apache POI is working on something for Outlook now since Microsoft release the main API calls not too long ago.
    You will need the native library, and I assume somehow you can do a WebStart application to run the code in the client machine. Information regarding Java WebStart can be found on http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp
    I did not really investigate other ways of doing this, maybe there are better approaches.
    Also, take a look here http://java.sun.com/products/javamail/Third_Party.html
    Hope it helps,
    Daniel
    Edited by: Daniel Ruiz on May 3, 2010 1:11 PM

Maybe you are looking for

  • Query adf uix

    Hello I've 2 pages uix (xml format). In the first page (source.uix) I've a combobox and I can select a number that represents an record identifying . In the same page there's a submit buttom with destination to other page (record.uix). I'd like in th

  • I just downloaded the update for CS6 Extended and Bridge will not open. How to fix?

    I still have CS5 Extended on my Mac for the time being, and Bridge won't open with either program. Not sure what to do to fix. Anyone have a similar issue and a fix?  Thanks.

  • SQL query in adapter process task

    Hi all, I am building a custom connector with its bunch of adapters. In one of the adapters, i need an auto increment number and therefore i have built an SQL sequence in the DB. Is there a way to use the tcDataProvider variable mapped to the adapter

  • Differences in KE5Z and KSB1

    Hello Experts, We have posted a cost document between two cost center that belongs to the same profit center. When looking at KSB1 (Cost line items for cost centers) we can see the value but when looking at  KE5Z for the profit center we can't see th

  • Non-working time for particular resources

    I have reviewed the suggested answers and they don't seem to fit my case.   Project 2013 Pro. I have a particular resource who takes three days off. These days occur in the middle of an 8 day task, fixed duration, on which he is only working 20%. He