How to debug oaf page in oracle apps
In this post , We will discuss how we can debug the OAF Page in oracle apps. When we are doing OAF development then we often need an Requirment to debug the OAF page to find out the problem occurring in the real time application. This is the way , by which we can debug the issues during run time of the OAF pages. Here below I will share the complete method of How to debug oaf page in oracle apps which I do uses in my OAF developments and believe me this is vey very helpful.Some time we need Write Custom Messages in the Controller to do the Debugging but how we can see these custom messages when we will run that OAF page in Oracle application. I will show you that method by which you can see these messages in the OAF pages in Oracle application. This is Quite useful when you are doing Debugging in the OAF pages. This technique also useful to get the OAF page parameters values and to understand the behavior of the page like how and which event and controller is executing in which action so this will be quite useful for OAF developer to do the Controller Extension and to do the Debugging in the OAF page at run time.
How to debug oaf page in oracle apps
Step1:- You have to Enable 'FND: Diagnostics ' Profile option for the User in which you want to see these Log messages.
Step2:- If you want to Put the Custom Messages in your Controller then you can put these messages like below.
public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
{
{
/*This is the Custom Message which will be show in OAF page in Oracle Application*/
paramOAPageContext.writeDiagnostics(this, "XX Start PR ", 1);
paramOAPageContext.writeDiagnostics(this, "XX Start PR ", 1);
{
Step3:- After Enable the Profile Option Go to the Home page of your Application and go to 'Diagnostics' as below
Step4:- Then You need to Choose Diagnostic Option 'Show Log on Screen' as below.
Step5:- Log Level Option should Be ' Statement' Then Click Go.
Step6:- You can see the Log Messages shown below your OAF pages. You just need to Scroll down your Web page and you can see all these Standard and Custom messages there and can do the Debugging in that OAF page.
How to debug oaf page in oracle apps
0 comments:
Post a Comment