Oracle

Print

Enabling Feedback - a must for every app

Written by Mandy. Posted in Debugging.

End users don't know how to communicate what developers need is diagnosing application bugs.

I have often ended up with mail in my inbox stating "the application is broken".

I was shown a really simple way to allow your end users to submit feedback to you. The user only needs to enter 2 fields, but behind the scenes, APEX is collecting necessary data that will help you solve the issue.

End users don't know how to communicate what developers need is diagnosing application bugs.

I have often ended up with mail in my inbox stating "the application is broken".

I was shown a really simple way to allow your end users to submit feedback to you. The user only needs to enter 2 fields, but behind the scenes, APEX is collecting necessary data that will help you solve the issue.

 

Configuring the Feedback Page

This takes 1 minute to set up:

1) Login to your applications development environment, and create a new page.

2) Click on the "Feedback Page" type.

 feedback1

3) Accept all the default options, and click 'Create'.

feedback2

 

Submitting & Viewing Feedback

Run your application. You will see that a new 'Feedback' link has been added to your navigation bar.

feedback3

When clicking on it, a popup window appears, prompting the user to enter some details.

feedback4

Enter some feedback, and submit it. To see your feedback, go back to the development environment and navigate to Team Development > Feedback.

Click on the edit icon beside the feedback to view the full detail. As well as the user's feedback, APEX stores much more information about the users environment and their session state.

 feedback5

 

Email Notifications

I found that as well as having the feedback available in the development environment, it would be handy to recieve an email notification each time a user logs a bug. This is not yet standard functionality, but can be done with a quick hack...

1) Edit your 'Feedback' page (102).

2) Edit the Submit Feedback page process.

3) Following the apex_util.submit_feedback procedure call, add in an apex_mail procedure call, something like:

 

APEX_MAIL.SEND(
P_TO => 'name@mymail.net.au';,
P_FROM => ' This email address is being protected from spambots. You need JavaScript enabled to view it. ';,
p_body => 'New feedback has been submitted',
P_BODY_HTML => 'New feedback has been submitted by '||:CURRENTUSER_NAME||'.<br>Login to APEX to view.',
P_SUBJ => 'APEX APPLICATION - User feedback/bug'
);

 

About Me

I currently specialise in developing bespoke applications using Oracle APEX.I have worked with APEX since it was known as HTMLDB, but have also dabbled with E-Business Suite, Oracle AS Portal, ECM, Webcenter and Website Design.

I enjoy working with new clients and assisting them develop custom applications to enhance and improve internal business processes.

Find Me

mandy nerd2