SlideShare a Scribd company logo
1 of 7
Download to read offline
How to Remove / Disable an OA Framework
Personalization (Doc ID 304670.1)
To
Bottom
In this Document
Goal
Solution
Introduction:
Method 1 - Using responsibility Functional Administrator > Personalization (OA
Framework 5.10+)
Method 2 - Temporarily disable all Personalizations
Method 3 - Temporarily disable all Personalizations when unable to login
Method 4 - Removing personalization document in the database using JDR_UTILS package
References
Applies to:
Oracle Applications Framework - Version 11.5.10.2 to 12.2 [Release 11.5.10 to 12.2]
Oracle Internet Expenses - Version 12.1.3 to 12.2 [Release 12.1 to 12.2]
Information in this document applies to any platform.
Goal
 You created a personalization using the Personalization UI provided with OA
Framework.
 You followed the OA Framework Personalization & Extensibility Guide Note 236618.1
(OA Framework Personalization and Extensibility Guide: Version 5.7+)
 However, after creating the personalization, the page is no longer accessible and you
need to back-out or remove this personalization to allow access to the page.
Solution
There are a few methods to remove the 'faulty' personalization from the OA Framework page.
Introduction:
Before starting to delete personalizations it's useful to understand some background how these
are stored in Applications.
All page definitions for OAF pages are stored as (XML) document in the MDS repository
(located in the database). The reference to this is a document name with following format:
/oracle/apps/<product>/<subcategories>/<pagename>
For example the Home Page document name is:
/oracle/apps/fnd/framework/navigate/webui/HomePG
When creating personalizations in the OAF page the above mentioned document is not changed.
Instead a separate document is created in the MDS repository containing the personalization(s)
done. For each 'level' of personalization one document is stored with following format
/oracle/apps/<product>/<subcategoris>/customizations/<personaliz
ationlevel>/<personalizationid>/<pagename>
For example for the OA Framework home page the following document may exist
Personalizations made at SITE level are saved in following document
/oracle/apps/fnd/framework/navigate/webui/customizations/site/0/
HomePG
Personalizations made for Function = OAHOMEPAGE are saved in following document
/oracle/apps/fnd/framework/navigate/webui/customizations/functio
n/OAHOMEPAGE/HomePG
Personalizations made for Organization = 204 are saved in following document
/oracle/apps/fnd/framework/navigate/webui/customizations/org/204
/HomePG
Beware that each document may include multiple personalization actions. When adding a
personalization at SITE level the customization document for that level is updated. This makes
that if adding a specific personalization introduces a problem and the personalization document
is deleted also all other personalizations made at that level will be lost!!
Method 1 - Using responsibility Functional Administrator > Personalization (OA
Framework 5.10+)
This is the recommended method to remove personalization (if it's not possible to access the
OAF page anymore). It uses the default pages for maintaining personalization and only affects
the OAF page involved.
1) Login to Oracle Applications as SYSADMIN
2) Select Functional Administrator [resp] > Personalization [tab]
3) Fill in the criteria to locate the OA Framework page and press Go
Tip: Check 'Personalized' checkbox to only query the pages having a personalization
4) Identify the correct page from the results returned
5) Depending on the situation you have following options:
Cause of failure is known (e.g. last change made) and can be removed
 Click pencil "Personalize Page" and confirm personalization levels.
 Revert the personalization step causing the problem
 Apply the changes
 Retest if the page is now accessible again.
Cause of the failure is unknown or can not be simply removed
 Click pencil "Manage Personalizations"
 Now Deactivate or Delete the personalization document (*)
(*) The difference between Deactivate and Delete is that in the case of Deactivating the
personalization document in the MDS repository is not removed, while this is the case for
Delete. Especially when there are multiple personalization documents, but it's not clear which
causes the problem the 'Deactivate' allows these to be tested individually without the need to
reload or recreate the personalization documents.
Method 2 - Temporarily disable all Personalizations
In case it's not possible to determine the exact document name of the OAF page failing the
following method can be used. The caveat of this method however is that during the change of
profile option mentioned this makes *all* personalizations will be disabled so will also affect
other pages. So only to be used on TEST environment or during maintenance window for PROD
environment.
1) Login to Oracle Applications as SYSADMIN and select System Administrator [resp] > Profile
- System
2) Update the Profile Option: "Disable Self-Service Personal" = YES
This can be set at SITE and APPLICATION level
3) Navigate to the OAF page personalized (may be done using another user)
It should now open since personalizations are not taken into account
4) Enter the personalization UI using the 'Personalize' link
5) Depending on the situation you have following options:
Cause of the failure is known (e.g. last change made)
 Revert the personalization step causing the problem
 Apply the changes
Cause of the failure is unknown
 Click pencil "Manage Personalizations"
 Now Deactivate or Delete the personalization document (*)
(*) The difference between Deactivate and Delete is that in the case of Deactivating the
personalization document in the MDS repository is not removed, while this is the case for
Delete. Especially when there are multiple personalization documents, but it's not clear which
causes the problem the 'Deactivate' allows these to be tested individually without the need to
reload or recreate the personalization documents.
6) Login again and select System Administrator responsibility
7) Update the Profile Option: "Disable Self-Service Personal" = NO (for the level it was set to
YES)
8) Retest the OAF page is rendered fine again
Method 3 - Temporarily disable all Personalizations when unable to login
The following pl/sql code will let you disable all OAF personalizations. This is useful in case
you did a personalization and then you are not allowed to login into the system.
Note: The caveat of this method however is that during the change of profile option mentioned
this makes *all* personalizations will be disabled so will also affect other pages. So only to be
used on TEST environment or during maintenance window for PROD environment.
1) Run the following select statement as APPS user:
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('FND_DISABLE_OA_CUSTOMIZATIONS', 'Y', 'SITE');
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
2) You should now be able to login successfully.
3) Proceed to fix the personalization issue you had and then enable OAF personalizations again.
To do this run the following:
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('FND_DISABLE_OA_CUSTOMIZATIONS', 'N', 'SITE');
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
Method 4 - Removing personalization document in the database using JDR_UTILS
package
This method only requires access to the database and must be used with great care to ensure the
correct document is deleted. For this method you need to know the document name of the OAF
page with the personalization (See Introduction section)
1) Login to SQLPlus as APPS user
2) Run the following commands to show the available personalization documents
SQL> set serverout on;
SQL> exec
jdr_utils.listcustomizations('/oracle/apps/<product>/<subcategor
ies>/<pagename>');
e.g.
SQL> exec
jdr_utils.listcustomizations('/oracle/apps/fnd/framework/navigat
e/webui/HomePG');
3) This returns the document names of the personalization document for this OAF page. For
example for SITE level on Homepage
/oracle/apps/fnd/framework/navigate/webui/customizations/site/0/
HomePG
4) Backup the personalization document by exporting it to a file (so it can be reloaded if needed).
Make sure you are backing up the correct document. It should have "/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>/<subcategories>/customizations/<personali
zationlevel>/<personalizationid>/ /<pagename> 
-username apps 
-password <appspwd> 
-dbconnection
"(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=<myHost
>)(PORT=<port>)))(CONNECT_DATA=(SID=<SID>)))" 
-rootdir /tmp
This create an XML document in the /tmp directory, like
/tmp/oracle/apps/<product>/<subcategories>/<personalizationlevel
>/<personalizationid>/<pagename>.xml
5) Delete the personalization document. Be VERY careful you are deleting the personalization
and not the base document !
SQL> exec
jdr_utils.deletedocument('/oracle/apps/<product>/<subcategories>
/customizations/<personalizationlevel>/<personalizationid>/<page
name>');
SQL> commit;
For the home page example this is:
SQL> exec
jdr_utils.deletedocument('/oracle/apps/fnd/framework/navigate/we
bui/customizations/site/0/HomePG');
SQL> commit;
6) Restart Apache to ensure that Java caching is cleared
7) Retest the issue and confirm that OAF page is not accessible again
8) To restore the personalization document deleted, use the following command (optional)
-adjava -mx128m -nojit
oracle.jrad.tools.xml.importer.XMLImporter 
/tmp/oracle/apps/<product>/<subcategories>/<personalizationlevel
>/<personalizationid>/<pagename>.xml 
-username apps 
-password apps 
-dbconnection
"(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=<myHost
>)(PORT=<port>)))(CONNECT_DATA=(SID=<SID>)))" 
-rootdir /tmp

More Related Content

What's hot

Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Ahmed Elshayeb
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewChris Martin
 
Oracle R12 Work In Process
Oracle R12 Work In ProcessOracle R12 Work In Process
Oracle R12 Work In ProcessPritesh Mogane
 
Oracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualOracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualFeras Ahmad
 
Inventory receiving processes for serial controlled items
Inventory receiving processes for serial controlled itemsInventory receiving processes for serial controlled items
Inventory receiving processes for serial controlled itemsAvishek Roychoudhuri
 
Query all roles and duties and privileges Oracle Fusion Cloud
Query all roles and duties and privileges Oracle Fusion CloudQuery all roles and duties and privileges Oracle Fusion Cloud
Query all roles and duties and privileges Oracle Fusion CloudFeras Ahmad
 
Functional i store overview knoworacle
Functional i store overview knoworacleFunctional i store overview knoworacle
Functional i store overview knoworaclegaurav.upmanyu
 
Oracle Order To Cash Accounting Made Easy
Oracle Order To Cash Accounting   Made EasyOracle Order To Cash Accounting   Made Easy
Oracle Order To Cash Accounting Made Easybrijeshbharat
 
Uploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIUploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIRapidValue
 
Setup of budget in oracle
Setup of budget in oracleSetup of budget in oracle
Setup of budget in oraclemalikbnu2008
 
5 enterprise structures
5   enterprise structures5   enterprise structures
5 enterprise structuresmohamed refaei
 
Oracle Fixed assets ivas
Oracle Fixed assets ivasOracle Fixed assets ivas
Oracle Fixed assets ivasAli Ibrahim
 

What's hot (20)

Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
 
Oracle Shop Floor Management R12
Oracle Shop Floor Management R12Oracle Shop Floor Management R12
Oracle Shop Floor Management R12
 
Oracle R12 Work In Process
Oracle R12 Work In ProcessOracle R12 Work In Process
Oracle R12 Work In Process
 
Wip back flush
Wip back flushWip back flush
Wip back flush
 
Oracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualOracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manual
 
Oracle apps-technical-tutorial
Oracle apps-technical-tutorialOracle apps-technical-tutorial
Oracle apps-technical-tutorial
 
Inventory receiving processes for serial controlled items
Inventory receiving processes for serial controlled itemsInventory receiving processes for serial controlled items
Inventory receiving processes for serial controlled items
 
Oaf personaliztion examples
Oaf personaliztion examplesOaf personaliztion examples
Oaf personaliztion examples
 
Query all roles and duties and privileges Oracle Fusion Cloud
Query all roles and duties and privileges Oracle Fusion CloudQuery all roles and duties and privileges Oracle Fusion Cloud
Query all roles and duties and privileges Oracle Fusion Cloud
 
Functional i store overview knoworacle
Functional i store overview knoworacleFunctional i store overview knoworacle
Functional i store overview knoworacle
 
Extensions in OAF
Extensions in OAF Extensions in OAF
Extensions in OAF
 
Oracle Order To Cash Accounting Made Easy
Oracle Order To Cash Accounting   Made EasyOracle Order To Cash Accounting   Made Easy
Oracle Order To Cash Accounting Made Easy
 
Uploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADIUploading Data Using Oracle Web ADI
Uploading Data Using Oracle Web ADI
 
Oracle EBS Currency conversion
Oracle EBS Currency conversionOracle EBS Currency conversion
Oracle EBS Currency conversion
 
Multiperiod Accounting in Oracle Fusion ERP Cloud
Multiperiod Accounting in Oracle Fusion ERP CloudMultiperiod Accounting in Oracle Fusion ERP Cloud
Multiperiod Accounting in Oracle Fusion ERP Cloud
 
Setup of budget in oracle
Setup of budget in oracleSetup of budget in oracle
Setup of budget in oracle
 
5 enterprise structures
5   enterprise structures5   enterprise structures
5 enterprise structures
 
Oracle Fixed assets ivas
Oracle Fixed assets ivasOracle Fixed assets ivas
Oracle Fixed assets ivas
 
BOM & WIP
BOM & WIPBOM & WIP
BOM & WIP
 

Similar to How to remove disable an oa framework personalization (doc id 304670

FSlogix Profiles POC Guide (version 1.0)
FSlogix Profiles POC Guide (version 1.0)FSlogix Profiles POC Guide (version 1.0)
FSlogix Profiles POC Guide (version 1.0)Michael Baars
 
Moodle andoffice365withadfs
Moodle andoffice365withadfsMoodle andoffice365withadfs
Moodle andoffice365withadfsHeo Gòm
 
Don't be tardy configure password expiration with open sso and identity mana...
Don't be tardy  configure password expiration with open sso and identity mana...Don't be tardy  configure password expiration with open sso and identity mana...
Don't be tardy configure password expiration with open sso and identity mana...Jose R
 
MySQL Administration and Monitoring
MySQL Administration and MonitoringMySQL Administration and Monitoring
MySQL Administration and MonitoringMark Leith
 
2005_604_Wagner_ppr
2005_604_Wagner_ppr2005_604_Wagner_ppr
2005_604_Wagner_pprMary Wagner
 
Deploying office 2010 via group policy
Deploying office 2010 via group policyDeploying office 2010 via group policy
Deploying office 2010 via group policyNaresh Gotad
 
E2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development InstructionsE2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development InstructionsE2D3.org
 
Salesforce Admin's guide : the data loader from the command line
Salesforce Admin's guide : the data loader from the command lineSalesforce Admin's guide : the data loader from the command line
Salesforce Admin's guide : the data loader from the command lineCyrille Coeurjoly
 
FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)Michael Baars
 
Using Drupal Features in B-Translator
Using Drupal Features in B-TranslatorUsing Drupal Features in B-Translator
Using Drupal Features in B-TranslatorDashamir Hoxha
 

Similar to How to remove disable an oa framework personalization (doc id 304670 (20)

Custom top
Custom topCustom top
Custom top
 
FSlogix Profiles POC Guide (version 1.0)
FSlogix Profiles POC Guide (version 1.0)FSlogix Profiles POC Guide (version 1.0)
FSlogix Profiles POC Guide (version 1.0)
 
Moodle andoffice365withadfs
Moodle andoffice365withadfsMoodle andoffice365withadfs
Moodle andoffice365withadfs
 
Don't be tardy configure password expiration with open sso and identity mana...
Don't be tardy  configure password expiration with open sso and identity mana...Don't be tardy  configure password expiration with open sso and identity mana...
Don't be tardy configure password expiration with open sso and identity mana...
 
MySQL Administration and Monitoring
MySQL Administration and MonitoringMySQL Administration and Monitoring
MySQL Administration and Monitoring
 
2005_604_Wagner_ppr
2005_604_Wagner_ppr2005_604_Wagner_ppr
2005_604_Wagner_ppr
 
Deploying office 2010 via group policy
Deploying office 2010 via group policyDeploying office 2010 via group policy
Deploying office 2010 via group policy
 
E2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development InstructionsE2D3 ver. 0.2 Development Instructions
E2D3 ver. 0.2 Development Instructions
 
Salesforce Admin's guide : the data loader from the command line
Salesforce Admin's guide : the data loader from the command lineSalesforce Admin's guide : the data loader from the command line
Salesforce Admin's guide : the data loader from the command line
 
FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)
 
Drupal 8 Configuration Management
Drupal 8 Configuration ManagementDrupal 8 Configuration Management
Drupal 8 Configuration Management
 
MS SQL server audit
MS SQL server auditMS SQL server audit
MS SQL server audit
 
Creating a basic joomla
Creating a basic joomlaCreating a basic joomla
Creating a basic joomla
 
Using Drupal Features in B-Translator
Using Drupal Features in B-TranslatorUsing Drupal Features in B-Translator
Using Drupal Features in B-Translator
 
Alfredo-PUMEX
Alfredo-PUMEXAlfredo-PUMEX
Alfredo-PUMEX
 
Alfredo-PUMEX
Alfredo-PUMEXAlfredo-PUMEX
Alfredo-PUMEX
 
Alfredo-PUMEX
Alfredo-PUMEXAlfredo-PUMEX
Alfredo-PUMEX
 
Alfredo-PUMEX
Alfredo-PUMEXAlfredo-PUMEX
Alfredo-PUMEX
 
Java EE Services
Java EE ServicesJava EE Services
Java EE Services
 
Threats and Countermeasures
Threats and CountermeasuresThreats and Countermeasures
Threats and Countermeasures
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 

How to remove disable an oa framework personalization (doc id 304670

  • 1. How to Remove / Disable an OA Framework Personalization (Doc ID 304670.1) To Bottom In this Document Goal Solution Introduction: Method 1 - Using responsibility Functional Administrator > Personalization (OA Framework 5.10+) Method 2 - Temporarily disable all Personalizations Method 3 - Temporarily disable all Personalizations when unable to login Method 4 - Removing personalization document in the database using JDR_UTILS package References Applies to: Oracle Applications Framework - Version 11.5.10.2 to 12.2 [Release 11.5.10 to 12.2] Oracle Internet Expenses - Version 12.1.3 to 12.2 [Release 12.1 to 12.2] Information in this document applies to any platform. Goal  You created a personalization using the Personalization UI provided with OA Framework.  You followed the OA Framework Personalization & Extensibility Guide Note 236618.1 (OA Framework Personalization and Extensibility Guide: Version 5.7+)  However, after creating the personalization, the page is no longer accessible and you need to back-out or remove this personalization to allow access to the page. Solution There are a few methods to remove the 'faulty' personalization from the OA Framework page. Introduction: Before starting to delete personalizations it's useful to understand some background how these are stored in Applications.
  • 2. All page definitions for OAF pages are stored as (XML) document in the MDS repository (located in the database). The reference to this is a document name with following format: /oracle/apps/<product>/<subcategories>/<pagename> For example the Home Page document name is: /oracle/apps/fnd/framework/navigate/webui/HomePG When creating personalizations in the OAF page the above mentioned document is not changed. Instead a separate document is created in the MDS repository containing the personalization(s) done. For each 'level' of personalization one document is stored with following format /oracle/apps/<product>/<subcategoris>/customizations/<personaliz ationlevel>/<personalizationid>/<pagename> For example for the OA Framework home page the following document may exist Personalizations made at SITE level are saved in following document /oracle/apps/fnd/framework/navigate/webui/customizations/site/0/ HomePG Personalizations made for Function = OAHOMEPAGE are saved in following document /oracle/apps/fnd/framework/navigate/webui/customizations/functio n/OAHOMEPAGE/HomePG Personalizations made for Organization = 204 are saved in following document /oracle/apps/fnd/framework/navigate/webui/customizations/org/204 /HomePG Beware that each document may include multiple personalization actions. When adding a personalization at SITE level the customization document for that level is updated. This makes that if adding a specific personalization introduces a problem and the personalization document is deleted also all other personalizations made at that level will be lost!! Method 1 - Using responsibility Functional Administrator > Personalization (OA Framework 5.10+) This is the recommended method to remove personalization (if it's not possible to access the OAF page anymore). It uses the default pages for maintaining personalization and only affects the OAF page involved.
  • 3. 1) Login to Oracle Applications as SYSADMIN 2) Select Functional Administrator [resp] > Personalization [tab] 3) Fill in the criteria to locate the OA Framework page and press Go Tip: Check 'Personalized' checkbox to only query the pages having a personalization 4) Identify the correct page from the results returned 5) Depending on the situation you have following options: Cause of failure is known (e.g. last change made) and can be removed  Click pencil "Personalize Page" and confirm personalization levels.  Revert the personalization step causing the problem  Apply the changes  Retest if the page is now accessible again. Cause of the failure is unknown or can not be simply removed  Click pencil "Manage Personalizations"  Now Deactivate or Delete the personalization document (*) (*) The difference between Deactivate and Delete is that in the case of Deactivating the personalization document in the MDS repository is not removed, while this is the case for Delete. Especially when there are multiple personalization documents, but it's not clear which causes the problem the 'Deactivate' allows these to be tested individually without the need to reload or recreate the personalization documents. Method 2 - Temporarily disable all Personalizations In case it's not possible to determine the exact document name of the OAF page failing the following method can be used. The caveat of this method however is that during the change of profile option mentioned this makes *all* personalizations will be disabled so will also affect other pages. So only to be used on TEST environment or during maintenance window for PROD environment. 1) Login to Oracle Applications as SYSADMIN and select System Administrator [resp] > Profile - System 2) Update the Profile Option: "Disable Self-Service Personal" = YES This can be set at SITE and APPLICATION level 3) Navigate to the OAF page personalized (may be done using another user) It should now open since personalizations are not taken into account
  • 4. 4) Enter the personalization UI using the 'Personalize' link 5) Depending on the situation you have following options: Cause of the failure is known (e.g. last change made)  Revert the personalization step causing the problem  Apply the changes Cause of the failure is unknown  Click pencil "Manage Personalizations"  Now Deactivate or Delete the personalization document (*) (*) The difference between Deactivate and Delete is that in the case of Deactivating the personalization document in the MDS repository is not removed, while this is the case for Delete. Especially when there are multiple personalization documents, but it's not clear which causes the problem the 'Deactivate' allows these to be tested individually without the need to reload or recreate the personalization documents. 6) Login again and select System Administrator responsibility 7) Update the Profile Option: "Disable Self-Service Personal" = NO (for the level it was set to YES) 8) Retest the OAF page is rendered fine again Method 3 - Temporarily disable all Personalizations when unable to login The following pl/sql code will let you disable all OAF personalizations. This is useful in case you did a personalization and then you are not allowed to login into the system. Note: The caveat of this method however is that during the change of profile option mentioned this makes *all* personalizations will be disabled so will also affect other pages. So only to be used on TEST environment or during maintenance window for PROD environment. 1) Run the following select statement as APPS user: DECLARE stat boolean; BEGIN dbms_output.disable; dbms_output.enable(100000); stat := FND_PROFILE.SAVE('FND_DISABLE_OA_CUSTOMIZATIONS', 'Y', 'SITE'); IF stat THEN dbms_output.put_line( 'Stat = TRUE - profile updated' );
  • 5. ELSE dbms_output.put_line( 'Stat = FALSE - profile NOT updated' ); END IF; commit; END; 2) You should now be able to login successfully. 3) Proceed to fix the personalization issue you had and then enable OAF personalizations again. To do this run the following: DECLARE stat boolean; BEGIN dbms_output.disable; dbms_output.enable(100000); stat := FND_PROFILE.SAVE('FND_DISABLE_OA_CUSTOMIZATIONS', 'N', 'SITE'); IF stat THEN dbms_output.put_line( 'Stat = TRUE - profile updated' ); ELSE dbms_output.put_line( 'Stat = FALSE - profile NOT updated' ); END IF; commit; END; Method 4 - Removing personalization document in the database using JDR_UTILS package This method only requires access to the database and must be used with great care to ensure the correct document is deleted. For this method you need to know the document name of the OAF page with the personalization (See Introduction section) 1) Login to SQLPlus as APPS user 2) Run the following commands to show the available personalization documents SQL> set serverout on; SQL> exec jdr_utils.listcustomizations('/oracle/apps/<product>/<subcategor ies>/<pagename>'); e.g.
  • 6. SQL> exec jdr_utils.listcustomizations('/oracle/apps/fnd/framework/navigat e/webui/HomePG'); 3) This returns the document names of the personalization document for this OAF page. For example for SITE level on Homepage /oracle/apps/fnd/framework/navigate/webui/customizations/site/0/ HomePG 4) Backup the personalization document by exporting it to a file (so it can be reloaded if needed). Make sure you are backing up the correct document. It should have "/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>/<subcategories>/customizations/<personali zationlevel>/<personalizationid>/ /<pagename> -username apps -password <appspwd> -dbconnection "(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=<myHost >)(PORT=<port>)))(CONNECT_DATA=(SID=<SID>)))" -rootdir /tmp This create an XML document in the /tmp directory, like /tmp/oracle/apps/<product>/<subcategories>/<personalizationlevel >/<personalizationid>/<pagename>.xml 5) Delete the personalization document. Be VERY careful you are deleting the personalization and not the base document ! SQL> exec jdr_utils.deletedocument('/oracle/apps/<product>/<subcategories> /customizations/<personalizationlevel>/<personalizationid>/<page name>'); SQL> commit; For the home page example this is:
  • 7. SQL> exec jdr_utils.deletedocument('/oracle/apps/fnd/framework/navigate/we bui/customizations/site/0/HomePG'); SQL> commit; 6) Restart Apache to ensure that Java caching is cleared 7) Retest the issue and confirm that OAF page is not accessible again 8) To restore the personalization document deleted, use the following command (optional) -adjava -mx128m -nojit oracle.jrad.tools.xml.importer.XMLImporter /tmp/oracle/apps/<product>/<subcategories>/<personalizationlevel >/<personalizationid>/<pagename>.xml -username apps -password apps -dbconnection "(description=(address_list=(ADDRESS=(PROTOCOL=TCP)(HOST=<myHost >)(PORT=<port>)))(CONNECT_DATA=(SID=<SID>)))" -rootdir /tmp