Sunday, July 26, 2009

Finding the Personalization and Customizations

1. To find the customizations on the page:

begin
jdr_utils.listCustomizations('"fullPathOfDocument"');
end;


Example:
begin
jdr_utils.listCustomizations('/oracle/apps/.. /.. /webui/PG File Name');
end;

It will give the output something like
/oracle/apps/ar/irec/homepage/webui/customizations/org/7435/ARIHOMEPAGE

then there is a need to run the following command

begin
Jdr_utils.printDocument('/oracle/apps/ar/irec/homepage/webui/customizations/org/7435/ARIHOMEPAGE');
end;

The output of this command will be an xml that will display all the personalizations and customizations on that page.



2. To remove the customizations.

We can delete the customizations through the following command.
begin
Jdr_utils.deleteDocument('/oracle/apps/ar/irec/homepage/webui/customizations/org/7435/ARIHOMEPAGE');
end;


3. The similar approach is for listing the customization for BC4j components. We need to give the name of bc4j component along with complete path for "fullPathOfDocument" in the above command.

No comments: