In this lesson, you are going to see few Personalization’s in OAF. Before that what is personalization in OAF, making changes without touching the code, or without extending any form, is called Personalization in OAF.
Let us navigate to the Responsibility called “OA Framework ToolBox Tutorial Labs”.
In the responsibility navigate to “Main Employee Search”.
OA Framework ToolBox Tutorial Labs -> Tutorial Lab -> Employees -> Main Employee Search
All the changes were made at the site level, so that changes will effect to the entire users whoever using.
Let us see the OAF Personalizations requirement wise.
Requirement 1: Before going to know about our first requirement let’s have a look into the Main Employee Search page.
You might have observed in the above image that Employee Name in Search Region is highlighted. Now the requirement is to change the “Employee Name” to “Search Employee Name“.
Let’s see how you can change the name using Personalization.
First, click on Personalize “Search” link in the page. After clicking on Personalize Search page, in the Personalization Structure click on Personalize image. For example, see the below image:
After selecting Personalize image, in Prompt at site level give the required name Search Employee Name. For example, see the below image:.
Click on Apply button after making changes, and see the output navigating to the main page.
Requirement 2: In the second requirement you are going to see how to change the corporate branding image. Note that all the images are available in the OA_MEDIA. Navigate to OA_MEDIA, for example, open the Putty and type the following command:
--change the directory using the following command
-- after changing the directory type the present working directory and copy the path, move the image files to that particular location.
--- the below one is the example directory location where the image files contains
So therefore hence before you changing the Corporate Branding Image, an image must exist in OA_MEDIA directory.
Click on Personalize Page at Header Level, after that in Personalization Structure select Personalize icon of Image: (CorporateBranding). For example, see the below image:
After clicking on Personalize image, now go to Image URI at site level change it to your branding image name. For example, /OA_MEDIA/NA_LOGO.png. The below image shows the same scenario:
Click on Apply button, navigate to the main page and see the changed Corporate Branding Image.
Requirement 3: After searching Employee Name, whenever you click on GO button results will be displayed in the table list. So now the requirement is, to hide the column name called Manager. Let us see how to hide the table column.
Select Personalize “Employee Table”, after that in the available name list check the Manager name, click on Personalize image item in that particular row.
At site level in Personalization Properties, select false in the drop-down list.
Click on Apply button and navigate to the main page to see the output. So therefore with this requirement, you learned how to hide or remove the column name in OAF page.
Requirement 4: This requirement shows how to change the Submit Button name in OAF using personalization.
In the main page, you might have observed that we have a button called Create Employee. So here the requirement is to change the Create Employee name to Create New Employee.
Select Personalize “Employee Table”, after that in the available name list check the Submit Button: Create Employee. Click on Personalize Image icon.
After that at site level change the prompt name to Create New Employee.
Apply the changes and navigate to the main page to see the output.
Requirement 5: In this requirement, you are going to see how to change the display order in oaf page. The requirement is to change the order series, i.e., to reorder the columns in the OAF page.
Select Personalize “Employee Table”, after that select Reorder Image item, for example, see the below image:
Select the Personalize checkbox at the site level, for example, see the below image:
Click on Apply button, navigate to the main page to see the changes.
Requirement 6: This requirement shows you to change the column names in a table. For this Select Personalize “Employee Table”, after that select Number column name in the personalization structure. Click on Personalize image. For example, see the below image:
After that at site level change the Prompt value to Employee Number. For example, see the below image:-
After that at site level change the Prompt value to Employee Number. For example see the below image:-
After that click on apply button and navigate to the main page to see the changes. The below image shows the sample output after changing the column name in oaf using personalization.