Listing the
customization:
While extending some component in OAF sometimes the change won’t
be visible in the frontend. We can check the list of customizations done for a
particular page in the back end. This can be done by the following command.
EXECUTE jdr_utils.listcustomizations('/oracle/apps/per/selfservice/location/webui/ChangeLocationPG');
Don’t forget to set the server output on.
set serveroutput on
Printing the customization
The above command will list the customizations related to
the page. This can be printed and viewed whether the new extended component
attached correctly or not. This can be done with the command
EXECUTE jdr_utils.printdocument
(p_document=>'/oracle/apps/per/selfservice/location/webui/customizations/responsibility/66710/ChangeLocationPG');
The file path is the path from the list which is displayed
by the jdr_utils.listcustomizations command. The file will display the old and the new component
name.
Sample File:
<?xml version='1.0' encoding='UTF-8'?>
<customization
xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_45"
xml:lang="en-US"
customizes="/oracle/apps/per/selfservice/location/webui/ChangeLocationPG"
developerMode="true">
<modifications>
<modify
element="HrNestedRegion3"
controllerClass="oracle.apps.per.selfservice.location.webui.L3ChangeLocationCO"/>
</modifications>
</customization>
Delete
Customizations
jdr_utils.deletedocument
command is used to delete a customization. Below is the command to delete a
customization.
EXECUTE
jdr_utils.deletedocument('/oracle/apps/per/selfservice/location/webui/customizations/responsibility/66710/ChangeLocationPG');
Commit the change after deleting else the same customization
will remain.
Commit;
Can this be used to delete a Entity Object extension. Example OracleEO extended by XXOracleEO. Want to revert back to OracleEO. Will EXECUTE jdr_utils.deletedocument remove this extension and point back to original EO?
ReplyDelete