Follow the below
Steps to show the debug messages in OAF Pages written using
call to pageContext.writeDiagnostics in Controller Code
Ex:
public void processFormRequest(OAPageContext oapageContext, OAWebBean oawebBean)
{
{
oapageContext.writeDiagnostics(this, "Inside processFormRequest", 1);
}
Steps:
- Enable the Diagnostics by Setting Profile Value to Yes for Profile Option FND: Diagnostics at user Level
- After setting the above profile logout from the application and login again.
- Click on Diagnostics and select "Show Log on Screen" as shown in below screenshots. Click on Go button
- Select Statement as Log Level and press Go button
- Below screen will show debug log is enabled.
- Navigate to the page and you would be able to see log at the bottom of the page.
No comments:
Post a Comment