Thursday, January 22, 2009

My Conferences for February

In February I will be presenting at the following conferences:

Oracle Develop - Moscow, Russia 4 - 5 February
Oracle Develop - Prague, Czech Republic 10 -11 February
UKOUG APEX SIG - London, UK 13 February
South-Eastern Oracle User Conference (SEOUC) - Charlotte, North Carolina 25 - 26 February

Each of these are quite different events and I always love getting out and meeting people. I also love to talk, so if you're able to get to any of these don't hesitate to come up to me for a chat.

Regards,
David

Preserving User Saved Interactive Reports

There have been several posts on the APEX Forum relating to issues with saving User's Interactive Reports (IRs).

A few examples are:
http://forums.oracle.com/forums/thread.jspa?threadID=828056
http://forums.oracle.com/forums/thread.jspa?threadID=706257
http://forums.oracle.com/forums/thread.jspa?threadID=845768
http://forums.oracle.com/forums/thread.jspa?threadID=719362

Background on how IRs are saved:
There are two distinct means of saving IRs - As "Default" reports performed by developers when running the application from the Application Builder and users saving reports at runtime.

When a developer saves a default report then that report definition is used to render the report in the runtime environment. When a user saves an IR it is saved into the APEX meta-data tables using the unique id for the report against that user. The unique id is based on the specific region id of the IR. This is critical when discussing issues being faced and their solutions below.

If the application is a PUBLIC application then Users will not be given the option to save IRs as there is no user details to associate that report with so every user would then see everyone's saved reports.


Basically there are three main issues being raised:
  1. Preserving user saved IRs when rebuilding environments
  2. Preserving user saved IRs when updating application
  3. Sharing user saved IRs between different users
1. Preserving user saved IRs when rebuilding environments
This issue relates to the ability to backup user saved IRs so that should you need to migrate your applications from one server to another or restore from backups then users will not lose their saved reports.

In APEX 3.2 we have resolved this issue by allowing you to save these reports as part of the Application Export. We have included a new select list option on the Export screen within the Application Builder - Export Saved Reports
Specify whether to include Saved Interactive Reports in the application export. This will enable you to export the customized settings of users for all Interactive Reports in the application. Options include:

  • Yes includes Saved Reports in the application export.
  • No does not include Saved Reports in the application export.
We have also updated the command-line export utility to include a new switch - expSavedReports: Export all user saved interactive reports. Updating the command-line utility was imperative given that we strongly recommend that "production" environments be configured as run-time only. Therefore, once you have installed APEX 3.2 (Once available) then you should modify your command-line batch program to also include exporting the IRs.

You may well ask why we implemented it as part of the export rather than as a stand-alone utility. The answer is related to the way the IRs are saved and the fact they are tied to the Region_Id for the IR. When an application is imported it retains the same Region_Ids providing the Application ID is the same as when it was exported. If the imported application is given a new Application ID then all the Region_Ids are changed and the saved IRs will not link to the region.

2. Preserving user saved IRs when updating application
This is direclty related to how IRs are saved against a specific Region_Id and how the Region_Id is determined when importing an application. If the Application ID on export and import are the same then the Region_ID will be preserved and any saved IRs will be available. To ensure this select "Install As Application:" option of 'Reuse Application ID xxx From Export File', not 'Auto Assign New Application ID' or 'Change Application ID'.

If the Application ID is changed during the import then new Region_Ids will be defined and none of the previous saved IRs will be shown for the users. To avoid this it is essential that the application id is not changed between environments. The best practice to avoid these sorts of issues is to develop your applications in DEV - Export the application and put into source control. Then only ever build from source control into every other environment and not from exports taken from staging / test / UAT etc. When installing into environments where you want the saved IRs preserved never assign a new Application ID during Import.

3. Sharing user saved IRs between different users
This is a very common request and one which there is no supported solution for.
We plan to investigate this issue as part of our APEX 4.0 development.

The best solution currently is to have the developer create a "default" report layout.

Hope this helps answer most questions on saving IRs

Regards,
David

Wednesday, January 14, 2009

Books, Books, Books + Authors wanted

Well it is the start of a new year so what better time to take the time to read some books.
No matter what your preferred genre, it is also important to keep up with reading new technical books. Unfortunately, I am a very poor reader when it comes to books - technical or otherwise.

There is a new APEX book which has just hit Amazon - Rick Greenwald's Beginning Oracle Application Express (WROX Publishing). I am expecting a shipment any day of a box full of these books that I will be giving away at various events. I had the pleasure of working closely with Rick on this book, which is aimed at new developers to APEX and power business users. I think this book is excellent for anyone when they are first getting into APEX.

As most of you are probably already aware John Scott's Pro Oracle Application Express (Apres Publishing), with contributions from Scott Spendolini, book is also available. I bought a copy from the Oracle Store at Oracle Openworld. I must confess I haven't read it yet (only scanned through) but plan on taking it with me on some long flights I have coming up.

There is also a new book being written by Douwe Pieter van den Bos on Forms Conversion to APEX for Pakt Publishing. According to Douwe Pieter he is progressing well and has delivered the first chapters to the editor. Can't wait for this book to get published as there will hopefully be a lot of Oracle Forms Developers queuing up to buy this book.

Finally, Pakt Publishing also has another book in the pipeline which is an introdcution to Oracle Application Express. They are currently seeking authors to help contribute. If you have ever wanted to be part of writing a book then here is your big chance. Pakt want to get this book out in the summer.

So for all you budding authors who want to see your name on the cover of a book, and also have some free bandwidth, contact James Lumsden [jamesl@packtpub.com] from Pakt Publishing.

Happy reading,
David

Sunday, November 30, 2008

On the Road ... Again

I recently had the pleasure of spending a few days in Quebec City giving a keynote and conducting a Migration workshop. Very beautiful part of the world, but unfortunately it was all work and no play.

I have just landed in Birmingham for the UKOUG. {To prevent jetlag I am currently sitting in the hotel lobby doing email, blogs, OTN updates, etc ... and you thought international travel was so glamorous}

It's Sunday morning I got very little sleep on the plane, they don't have a room available until this afternoon, and the weather is overcast. However, I am excited to be over here in Blighty for my inaugural UKOUG.

Our development team is very geographical dispersed.
One of our newer team members, though not new to Oracle or APEX, Anthony Rayner is based here in the UK. This week will provide a good opportunity for us to spend some quality face-to-face time and go out on some customer visits.

While here I have a few presentations:
Roel Hartman and Dimitri Gielis have already posted a list of other APEX sessions.

There is an unofficial APEX Meetup Monday night straight after the UKOUG event. I am looking forward to catching up with many from the APEX community. There are sure to be several familiar faces, but I hope to also meet many others from our growing community who I haven't had the pleasure of meeting yet especially as I haven't been over to Europe much.


Next weekend is sure to be a real treat as I am off to see the final round of the World Rally Championship in Wales with my Uncle. I even brought an Aussie flag as there is a young up-and-coming Australian superstar called Chris Atkinson who drives for Subaru and is currently sitting in equal 4th in the championship. Had to bring lots of cold weather gear as it is almost gauranteed to be wet and very very cold standing in the middle of a forest waiting for cars to flashing past - I can't wait :)


The following week I am off to Beijing for "Oracle Develop - The premier development event", which is always fun as I get to spend time with some of my fellow PMs in foreign lands.


You will be pleased to know that we are happy with the progress being made with APEX 3.2 and have been getting some very valuable feedback from the limited early adopters.

Cheers,
David

Thursday, November 6, 2008

"Limited" Early Adopter for APEX 3.2 has started

All,

Given our development timeframe we were unable to conduct an open Early Adopter program for APEX 3.2 Forms Conversion. Instead a very small number of customers have been invited to participate in a limited early adopter program.

Unfortunately for all those not invited you will need to wait for APEX 3.2 to be released before you can start playing with our Forms conversion offering.

I'm sure some of those involved will blog about their experience.

In the coming weeks I will be posting more information relating to APEX 3.2 Forms Conversion.

Regards,
David

Thursday, September 11, 2008

Forms Conversion Early Adopters

Initially the plan was to conduct a "Limited" Early Adopters (EA) for our new Forms Conversion Application Express 3.2. The intent was to have a small number of customers and work one-on-one with them to determine how well the tool performed.

We are not going to have this "Limited" Early Adopters now, but instead move straight to our normal Early Adopters that will be open to anyone and everyone. The main reason for this is we were close some weeks back to having a somewhat stable user interface for our new offering which we were looking to release. Then we basically ripped most of it apart and started rebuilding the majority of the screens. The end result is going to be a much better thought out design that will be easier to use and more productive.

We are still weeks away from getting all the screens put back together again and functioning the way we want. The majority of the development team is attending Oracle Openworld so there is another week before we can release the Early Adopters.

Once we get closer I will do another post.

To all those who sent me emails asking to be part of the "Limited" EA, I have been swamped preparing for Oracle Openworld and other events so my apologies for not responding to all of you.

Please be patient - I know the wait will be worthwhile!

Regards,
David

My Coming Events ... or playing "Which city is this?"

Well September & October are certainly going to be busy months.

September 20 -26: San Francisco
Oracle Openworld 2008 - There are close to 40 APEX Sessions this year. If you look at my APEX Schedule you will see some of the sessions are already full {Thank-you Anton for helping me update the remaining seats}. Unfortunately it is impossible to attend all of them as there are several overlaps but I hope to get to a large number of them.

A couple of sessions I think should be on everyone's list (and not just because I'm involved with them) are S298610 - Soup-to-Nuts RAD Development Using Oracle SQL Developer and Oracle Application Express {Wednesday 9:00 - 10:00} and S300458 - Building Commercial Software-as-a-Service Applications with Oracle Application Express {Wednesday 17:00 - 18:00}.


I will then be flying directly from San Francisco to Australia. In total I will be spending almost 4 weeks in Australia and New Zealand. While there I have customer visits scheduled for Adelaide, Melbourne, Perth, Brisbane, Canberra, Sydney, Auckland, and Rotorua. I will also be presenting at several conferences:
October 6 -7: Perth
AUSOUG - I have three sessions scheduled on APEX and SQL Developer.
October 8: Perth
Migrating from Access to APEX Workshop - This is an all day event that I am conducting with Blair Layton.
October 13 -14: Gold Coast
AUSOUG - I have two sessions scheduled on APEX and SQL Developer.
October 15: Gold Coast
Migrating from Access to APEX Workshop - This is the same all day event that I am conducting with Blair Layton, just on the Gold Coast this time.
October 21: Rotorua
NZOUG - I have one session on APEX and SQL Developer futures.

If you are in Australia or New Zealand and would like me to visit your organization drop me a note and I will see if I can squeeze you in. In some of the cities there are multi-customer sessions being held in the Oracle Offices where everyone is welcome.

Well after an exhausting schedule flying all over Australia and New Zealnd you would think I would come home and relax for a while. Unfortunately, I eventually get home on Thursday, 23rd October (after about 20 hours flying) only to jump on a plane again that Sunday. Thankfully this is just a short hop to Los Angeles for a Microsoft conference.
October 27 - 30: Los Angeles
PDC - I will be manning a demo booth and dragging as many Microsoft faithful into my lair to estoll the virtues of Oracle technology. I predominantly demo SQL Developer with as much APEX as I can.

Even though PDC goes to Thursday I won't be staying to the end of the conference as I need to fly to Chicago for APEXposed 2008. APEXposed 2008 is aimed squarely at APEX developers with lots of excellent and unique sessions. Many of the sessions will be different from those given at Oracle Openworld - I know mine are (which reminds me that I need to create those presentations).
October 29 -30: Chicago
APEXposed 2008 - I have a couple of new and interesting sessions to present.



So if you are in the vicinity of any of these events stop by if you can.

I enjoy traveling a lot, but my whirlwind trip of Australasia with multiple timezones, and many day trips to different cities, will certainly make it tricky to keep track of what city I am in - just hope I don't jump on the wrong plane.
I felt for the poor travel agent, Ling, who booked all my travel - probably wished she had called in sick that day!

Cheers,
David

Thursday, August 28, 2008

NEW Oracle University Advanced APEX Workshop

Oracle University has just started to list the new Oracle Application Express Advanced Workshop course. Only Australia is showing up in the schedule so far, but other countries are sure to be available soon.

The course objectives are:
  • Monitor and manage your application by using custom reports
  • Manage application navigation by using hierarchical lists with images, database-driven navigation, site maps, and dashboards
  • Build custom tabular forms that use collections and validations
  • Manage application content dynamically by using JavaScript and AJAX
  • Extend your application to add binary large object (BLOB) data, send email notifications, use Web services, and integrate with SQL Developer
  • Manipulate application content through templates, themes, and style sheets
  • Create reports declaratively and use the print APIs
  • Secure your application by using LDAP and SSO and prevent SQL injection attacks and cross-site scripting and usage of Session State Protection
This workshop incorporates a lot of input directly from the development team. Marcie Young has done an excellent job of transforming these advanced techniques into a very worthwhile course, complete with lots of great exercises.

I reviewed much of the content and participated in the pilot of this course -- I must say I learnt a thing or three.

Regards,
David

APEX 3.1.2 Patch Released

We have just pushed out Oracle Application Express 3.1.2. The full installation is available here, the patchset is available on MetaLink - patch number 7313609. Please read the Patch Set Notes for details on the bugs fixed in this release.

As always we strongly recommend updating to this latest release as soon as possible.

Regards,
David

Thursday, August 21, 2008

Forms Converter Limited Early Adopter Testers

Based on my SOD posting below, I have received a large number of requests from people and organizations wishing to be part of our Limited Early Adopters program which is excellent. We are not quite ready for you yet as we need to clean up some of our code and ensure the tool is ready.

Once we are good to go I will be sending out emails to all of you with your credentials to start "kicking the tires". Please be patient and start gathering those Forms, scripts, etc.

Look forward to working with you soon.

Regards,
David