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

Similar Messages

  • Is there a way to rebuild the ITunes Library XML file from my IPod?

    After several promptings, I finally decided to install ITunes 7.4.3.1. Like a fool, I did not backup my entire library prior to doing this upgrade. Nothing is going to go wrong now mate, is it? Everything seemed to proceed just fine with the upgrade. I noticed that ITunes updated the XML Library in the process. Where the problems occured was after the upgrade, I was in the middle of listening to the latest "NPR Wait Wait Don't Tell Me" Podcast (I have some 3,000 downloaded podcasts in over 85GB worth of space) when ITunes crashed. When I brought ITunes back up, it had seemed to have reverted to an earlier backup ITunes Library XML file that I had made months ago.
    I still have all of the .mp3, .m4a, .mp4 and .m4v files stored in my ITunes Music folder. Somehow when I brought ITunes back up, it had lost all of the music I had dowloaded from the ITunes store even though the files were still out on disk. It thought there were only 395 podcasts despite the 3,000 plus files out there.
    Clearly, something went horribly wrong and I don't want to spend weeks downloading these files again when the only thing that really needs to be done is the ITunes Library XML data file needs to be rebuilt. It dawns on me that my IPod has an XML data file that save any updates I have not yet synced with it that it is quite current. Is there some way that I can sync my IPod with ITunes and copy the IPod XML data file into ITunes Library XML data file? I know that there must be some way to access the IPod since I can plug it into my Kenwood car stereo and read through the IPod's contents.
    Is there anyone out there that has an idea that might be able to help me recover my ITunes library?
    Thanks for any assistance,
    --randyt00

    The XML file is not used by iTunes. It is created for the use of other programs. Your library is in the itl file. SInce you still have the file you could simply add them to your library using the add folder option instead of downloading again.
    What are library files
    http://docs.info.apple.com/article.html?artnum=93732
    Rebuild library.
    http://docs.info.apple.com/article.html?artnum=93313

  • Is there a way to get Elements 10 to open files from my Nikon D600?

    Or do I really have to buy Elements 11?  Elements 10 does everything I need for editing and I don't want to waste money on an upgrade right now.  Is there ANY way around it?  I've tried downloading the DNG converter, but when I try to open files to convert, none of my RAW files show up, not even from my old camera.  I also tried to install updates for Elements10, including an update for ACR, but that didn't help either.  Is there anything at all that I can do? 

    For Nikon D600, you have to get PSE 11.
    With PSE 10 you cant open the RAW images for D 600
    Check this : http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    For D600, ACR 7.3 is required which is available in PSE 11, not in PSE 10
    Alternatively, you can convert RAW images to DNG using DNG converter and then can view those DNG in PSE 10.

  • [Web] Is there a way to generate more than 1 CSS file?

    Obviously using model.appearance. with AddCustomCSS lets us generate a CSS file.
    I could create an AddPage file that uses maps nonCSS values into a pregenerated CSS file. The problem is that live_update doesn't handle these well.
    (if someone wants to write a more indepth look at doing stuff in Live Update, that would be fine with me, not to mention Matthew Campagna and John Beardsworth)
    Is there an alternative way, or are we restricted to one CSS file per model section? why do I need more than 1? iFrames. I don't want the same body values etc inside the iFrame HTML.

    Let me put it another way:
    What would I need to add to live_update.js to have nonCSS values force a refresh?

  • Is there a way I can edit my exported PDF files from FormCentral?

    I have created a form and have downloaded as a PDF file to my computer. However, I am not allowed to edit my file under Adobe Acrobat. Please help....

    I have created a PDF file by Forms Central. I did what you have instructed and it worked!! thank you very much!!! However, now I am having another problem. In Adobe Acrobat, I selected the File, Save a Copy, then I was able to edit the file. I have added a signature field at the end of the page. Then, I save as it as Reader Extended Feature PDF file. So, I can send this file to other people in my company to sign it with Adobe Reader.
    The problem is whenever they open the file with Adobe Reader, it shows "This document enabled extended features in Adobe Reader.  The document has been changed since it was created and use of extended features is no longer available.  Please contact the author for the original version of this document." Everytime, I send this file through email, the security setting changes, which the reader extended feature will disable by itself. I am so confused.....
    I was trying to find an answer online, but I am still couldnt fix this. Please help!!! Thank you for your help my friend!!!!

  • Is there any way to generate Gantt chart by using oracle 9iDS?

    Is there any way to generate Gantt chart by using oracle 9i reports builder
    Can you please send me the link or more information on oracle 9iDS.
    Thanks

    Hi,
    Oracle9iDS itself doesn't support creating Gantt charts. The option oyu have is to use Oracle Graphics 6i, because there is no Graphics in 9i, and configure it to run with Oracle9i Forms. There exist a whitepaper at otn.oracle.com/products/forms that explains how to make Graphics 6i work with Forms 9i.
    Frank

  • I'm forced to use a xoom for work. Is there any way of installing android ICS via virtual machine or any other mechanism?

    i'm forced to use a xoom for work. Is there any way of installing android ICS via virtual machine or any other mechanism?

    On the iPad? No.

  • Is there a way to generate server certificates in a multi-controller environment?

    Q: Is there a way to generate server certificates in a multi-controller environment? 
    A: 1.  For PEAP, only the Radius Server needs a certificate, not the controller.  Managing a certificate for each controller for 802.1x when you can  alternatively manage a single certificate for each radius server is a mistake.
    2.  For Captive Portal, if you don't want your guest or company users to have an untrusted error every time they hit the captive portal you will need a public certificate that all your users will trust.  That could either involve (1) A  different certificate for each controller with the subject being the fqdn of each controller or (2) a single, identical certificate that has the SAN or Subject ALT Name filled out with the FQDN of each controller listed in the SAN field (https://www.digicert.com/subject-alternative-name.htm)
    Here is an example of a cert with multiple fqdns in the Subject Alternative Name field below:  Of course, you will have to pay for each SAN that you have added to the certificate.  If you will have an environment where you have a VRRP and that is the ip address that the clients will be redirected to, you should make the SAN point to the VRRP.
    A document on certificates that is specifically geared toward ClearPass, instead of controllers is here:  Certificates 101 V1.0  It speaks to certificates on ClearPass, but the concepts are the same...
    Solution:-
    We can use ClearPass server to generate the CSR, where the CN is named after the 1st controller, which included all the Subject Alternate Names (SANs) for the other 3 controllers as well as the master controllers (in case of an N+1 failover).  This allows to save/export the private key as a file.
    After submitting the CSR for a UCC and after receiving the cert,  then proceed to chain the cert to include server, all intermediate and root CAs.  Then copy the chained cert as well as the private key file to a MacBook so that we can use OpenSSL to create a PFX formatted cert as follows:
    sudo openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.pem
    Once this generated a PFX cert,  upload it to all controllers and used it under Configuration > Management > General for both “WebUI Management Authentication Method” as well as “Captive Portal Certificate” (even though the ClearPass Guest captive portal is using a different cert for the captive portal page itself).
    https://arubanetworkskb.secure.force.com/pkb/articles/HowTo/Create-a-CSR-with-multiple-SANs

    Sorry I'm still confused here.  What you are describing makes no sense for properly using TestStand.
    Maybe I can help you find the right solution if I can understand your goal?
    Do you want to dynamically populate the variables (Locals and FileGlobals) with values?  Or do you want to dynamically create the variables from scratch (i.e. add subproperties to the sequence file) based on some file?
    Generally what happens is people want an ASCII file (in your case I'm guessing CVS) such that they can change the values of variable so that when TS is executing it will load those values and use them.  In this case NI recommends the Property Loader.  There is an example for this in <TestStand>\Examples.  Open the workspace and look for the PropertyLoader example.  Also, if you google "proprety loader teststand" then you will find various articles which may assist you.
    When you say "define the variables for the sequence/sequence file"  Are you actually referring to manually right clicking in the sequence file and saying Insert Local?  or are you just saying that you change the value of a variable?
    Thanks,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Is there a way to clean the javascript cache of files in layouts folder?

    Is there a way to clean the javascript cache of files in layouts folder?
    If I deploy a new version of the solution after some changes in javascript file which is deployed to the layouts folder the old version is used. The only fix I have found so far is to change the URL of the javascript file with some fake querystring like
    "?v=2". But this requires another deployment. So I am asking for an alternative approach.

    hi Nikolay,
    there is no clean solution for your problem. Browsers cache files by url, you can avoid caching appending in query string unique value per deployment. For example
    _layouts/my_js_file.js?v=<current date> - will be refreshed from cache when day changes
    _layouts/my_js_file.js?v=<GUID> - if guid is generated on every request, this file should never cache
    _layouts/my_js_file.js?v=<product version> - more preferable solution, browser will update cache on every new version that was deployed
    Actually, ScriptLink should take care about this, internally it has a method that appends unique id into query string based on js file content, if content changed, hash is also changed and new unique id is generated.
    Check Below link for more information
    http://sharepoint.stackexchange.com/questions/57874/how-to-avoid-caching-issue-when-using-custom-javascript-and-css-deployed-under
    You can also check this link
    http://www.sharepointnutsandbolts.com/2011/11/avoiding-bugs-from-cached-javascript.html
    Please mark the Answer and Vote if it will help to resolved your issue

  • Is there a way to  have the iPad 2 "read" text from iBooks as with web sites or pages?

    is there a way to  have the iPad 2 "read" text from iBooks as with web sites or pages? A different App perhaps?

    Isn't that you asking how to get it (undefined) back?
    If you never had Pages '09, you can buy it from Amazon very cheaply:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&sid=f68e84cd2ec6 123bd2ed93806c7e7fb6&mforum=iworktipsntrick
    Peter

  • Is there a way to create a multiple event screen saver from iPhoto events?

    Is there a way to create a multiple event screen saver from photos in iphoto?  I can create a single event screen saver, but don't know if it is possible to create a screen saver with more than one event.

    Drag the events you want into an album and have the screen saver run from the album.

  • Is there a way to create a new directory or file in application install directory programatically

    Hi to all,
    Is there a way to create a new directory or file in
    application install directory programatically.
    I want a xml file to be created with in the application
    install directory programatically(not the application storage
    directory)
    I have used the following code snippet:
    var file:File = new File();
    file = File.applicationDirectory;
    file = file.resolvePath("assets");
    if(!file.exists)
    file.createDirectory()
    I am thrown an exception when using this .....Security
    Exception

    Thanks, but my main problem is to delete the locally stored
    data that is stored in the application storage directory when the
    application is uninstalled.
    The data is not being deleted automatically when the
    application is uninstalled, thats why I want to write some file to
    application directory.
    My application is remembering the login username and password
    even I uninstall the application and reinstall the next
    time.

  • Is there a way to put a playlist on my phone from my computer without erasing the other music from my phone?

    Is there a way to put a playlist on my phone from my computer without erasing the other music from my phone?

    Not if you set up very carefully what you want synced from your computer.  Make sure you have not set things to sync automatically and manually choose the settings of what gets synced

  • Is there a way to set an alert for every event in a single calendar?

    Hi all,
    Is there a way to globally set an event in just one of the calendars showing in iCal?
    For example, I have a "Birthday" Calendar with a bunch of birthday events.  I want to set the alert for all of them to, say, noon, without having to edit each and every one.
    Thanks!
       Greg

    To generally add an alarm to all events in a specific calendar you would need to program an Automator Workflow that passes all events of the calendar to an Applescript that adds the alarm.
    For your birthdays problem is a predefined solution iCal: If you enter the Birthdays on the cards in your Address Book, and enable the "Show Birthdays Calendar Flag", then you will receive automatic email notifications of upcoming birthdays.

  • Is there a way to view all favorites on one page from different albums?

    is there a way to view all favorites on one page from different albums?
    I can't seem to figure out how to view all favorites at one time.
    nothing (thus far) is shared.
    paid membership to revel, also.

    oops - apparently you can do this from the app,
    but not from the web login view.

Maybe you are looking for

  • I Beam HELP NEEDED!

    Hello, I'm in desparate need of some help. I have a flash input text field that is embedded in Director as a flash sprite. I'm using the most recent build of Director which apparently fixes the "Know I Beam" issue and it does seem to work... BUT, My

  • Duplicate Database and RMAN-20208

    I'm trying to duplicate an old backup into an auxiliary database. Both the backup and auxiliary are 10g. When I run the following in RMAN: run {      set until scn 41429334;      duplicate target database to aux; }I get this error: executing command:

  • Loans print

    Dear Gurus In case of loans, advances and reimbursements, user needed to a take print of the request form after applying for the same in ESS, whether this is possible in standard application or a development is required, if standard is available how

  • Send to OneNote

    When I do Send to OneNote I get multiple "pages" within a page. They are not really pages, more like images that can be resized and moved around. Example: I have a .txt file of java code. This .txt file is ONE continuous page. If I do print and selec

  • RGB / CMYK Color Space View

    This might be a really basic question, but can anyone tell me how I can toggle between the "RGB Color Space View" and "CMYK Color Space View" in the color picker menu box? Thanks.