Skip to main content

How to Disable/Delete OAF Personalizations

There are 3 methods to remove a bad customization from an OA Framework page.

Method 1 (This is the recommended method)

1) Login to Oracle Applications with the system administrator responsibility
2) Update the Profile Option: "Disable Self-Service Personal" = YES
     - This disables the rendering of all personalization that have been created.
     - You can set this at the site or application level.
3) Navigate to the page you personalized.
4) Enter the personalization UI in the same way you did to create the personalization initially
5) Click the Delete button at the bottom of the page.
     - This will remove the personalization from the page.
6) Go back to Oracle Apps with the system administrator responsibility
7) Re-enable personalization's by setting the "Disable Self-Service Personal" profile option to NO

You should now be able to get back to the page and it should render correctly.

Disable Self-service Personal / FND_DISABLE_OA_CUSTOMIZATIONS Profille


This is a system profile option specifically created for use by Oracle Support. You can set this profile option to "Yes" or "No" at the site or application level. If this system profile option is set to Yes, any personalizations made by the customer, regardless of the level at which the personalizations were made, will not be applied. All pages using OA Framework will now display the regions based on their original definitions.

Note: When this profile is set to "Yes", a warning message that all personalizations are disabled is displayed on every page to which a user navigates.


Reference : Oracle Application Framework Profile Options Release 12.1.2 (Doc ID 975459.1)

 Method 2

You can  remove your personalization via Function Administrator responsibility.

1. Sign on to Application
2. Select Responsibility: "Functional Administrator"
3. Select: "Personalization" Tab ->> Application Catalog
4. Application Catalog ->> Search
5. Search Application ->> Search By: Application Short Name: POS%
6. Quick Select: iSupplier Portal
7. Check Box: Personalized ->> Click: "GO"
8. Find your Personalization for the "View Payments" Page ->> Click: "Manage Personalizations" Pencil icon
9. Select the Personalization and Click: Delete Personalizations Button.
The above steps will delete the personalization

Reference : How To Remove Personalizations In View Payments Page (Doc ID 1643814.1)


 Method 3

To use this method you need to know the name of the page / document that was personalized.
This is reported as the "Document Name" in the Personalization UI.
This will have the format of:
/oracle/apps/product/subcategory/PageName

For example the OA Framework home page document name is:
/oracle/apps/fnd/framework/navigate/webui/HomePG

Once you have this, you can then proceed with the steps below:

1) Login to sqlplus as apps
2) Run the following sql commands:
set serverout on;
exec jdr_utils.listcustomizations('/oracle/apps/product/subcategory/PageName'');

For the home page example we would do:
exec jdr_utils.listcustomizations('/oracle/apps/fnd/framework/navigate/webui/HomePG');

- This will return the internal name of the personalization.
- This will be in the form of:
/oracle/apps/product/subcategory/customizations/PersonalizationLevel/PersonalizationID/PageName

In the home page example, if the personalization was created at the site level, you would get:
/oracle/apps/fnd/framework/navigate/webui/customizations/site/0/HomePG

3) Now we backup the document we are about to delete:
Make sure you are backing up the correct document.� It should have the word /customizations/ in the document name.

From the web server, use the OS command:
adjava -mx128m -nojit oracle.jrad.tools.xml.exporter.XMLExporter \
/oracle/apps/product/subcategory/customizations/PersonalizationLevel/PersonalizationID/PageName
\
-username apps \
-password apps \
-dbconnection "(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=myHost)(PORT=1521)))(CONNECT_DATA=(SID=VIS)))" \
-rootdir /tmp

4) We can now delete the personalization.
Be VERY careful you are deleting the personalization and not the base document.
You will know, because the parameter you pass will have the word /customizations/ in the document name.
From sqlplus do:
exec jdr_utils.deletedocument('/oracle/apps/product/subcategory/PersonalizationLevel/PersonalizationID/PageName');

For the home page example, this would be:
jdr_utils.deletedocument('/oracle/apps/fnd/framework/navigate/webui/customizations/site/0/HomePG');

5) Bounce Apache, because these page definitions are�cached.
Your page should now be accessible.

6) If you need to restore the document you deleted, use the command:
-adjava -mx128m -nojit oracle.jrad.tools.xml.importer.XMLImporter \
/tmp/oracle/apps/product/subcategory/PersonalizationLevel/PersonalizationID/PageName.xml \
-username apps \
-password apps \
-dbconnection "(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=myHost)(PORT=1521)))(CONNECT_DATA=(SID=VIS)))" \
-rootdir /tmp

Comments

  1. Hi…
    Thank you for posting this useful information.
    I think it is mostly helpful to who are ready to learn Oracle OAF.

    ReplyDelete

Post a Comment

Popular posts from this blog

How To Enable / Disable Forms Personalization Option

Forms Personalization gives great flexibility to execute custom business logic without performing so much of technical work. To start forms personalization navigate to Help -> Diagnostics -> Custom Code -> Personalize But many time when we click on personalize it give below error  " Function is not available for this respnosibility. Change responsibilities or contact your System Administrator " To Enable access to forms personalization function we need to set below profile option.  -  Utilities:Diagnostics -> Yes / No It determines the diagnostics option is enabled for a user / responsibility or site, depending on the level profile option is set. Navigate to System Administrator -> Profile -> System Query for your user / responsibility for which you want to provide access. Set the value to 'Yes' , If you want allow access to forms personalization Since we change the profile option please change the respons...

Query to find Operating Unit, Business Group and Legal Entity Information

SELECT   DISTINCT   hrl . country ,                  hroutl_bg . name              bg ,                  hroutl_bg . organization_id ,                  lep . legal_entity_id ,                  lep . name                    legal_entity ,                  hroutl_ou . name              ou_name ,               ...

Oracle Purchasing – Receipt Accounting

Oracle Purchasing – Receipt Accounting (Accrue On Receipt and Accrue at Period End) Inventory Accruals: Inventory and Purchasing provides visibility and control of accrued liabilities for inventory items. Purchasing automatically records the accrued liability for the inventory items at the time of receipt. This transaction is automatically recorded in the general ledger at the time of receipt. The inventory expense is recorded at delivery if Standard Delivery is used and at receipt if Direct Delivery used. Expense Accruals: Purchasing optionally accrues un-invoiced receipts of non-inventory items when a period is closed. Purchasing automatically creates a balanced journal entry for each receipt un-invoiced at period end which can be reversed at the beginning of the next period. Navigation: India Local Purchasing > Oracle Purchasing > Setup > Organizations > Purchasing Options Difference between 'Accrue On Receipt' and 'Accrue at Per...