Tuesday, October 24, 2017

How to Enable Diagnostics(Debug Messages) on OAF Pages

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:
  1. Enable the Diagnostics by Setting Profile Value to Yes for Profile Option FND: Diagnostics at user Level
  2. After setting the above profile logout from the application and login again.
  3. Click on Diagnostics and select "Show Log on Screen" as shown in below screenshots.                                                                                                                        Click on Go button
  4. Select Statement as Log Level and press Go button         
  5. Below screen will show debug log is enabled.
  6. Navigate to the page and you would be able to see log at  the bottom of the page.

No comments:

Post a Comment

SupplierAddressImportTemplate.xlsm South Africa Suburb Field mapping in POZ_SUPPLIER_ADDRESSES_INT

Suburb mpping in Supplier Address Import Template will be mapped to Address Element Attribute2 (HZ_LOCATIONS. ADDR_ELEMENT_ATTRIBUTE2)