Example: Making Country code as mandatory field when adding phone number for a employee.(This document is applicable for Rel9 instance)
Precondition: Create a Sandbox and activate sandbox before trying the steps on personalization or customization.
(Please refer Sandbox document for creating and activating sandbox)
1.Get into person management page
2.Search for any employee. And go to employee details. You will see the Manage Person with Person information tab opened
3.Go to Edit beside communication section. Click on phone details. Currently, we can see that country code is not a mandatory field. The steps below are to make a country field as mandatory field when adding phone number for person.(close edit phone details popup now)
4.Make sure that you have created a sandbox and activated the sandbox.
5.Now go to administration>Customize person management page. select site level. click ok.Administration link can be seen when we click on username (here ex: Swathi author)
6.Select person information section. click on edit.
7.Click on 2nd edit task flow as shown below.
8.It will take to communication methods section.
9.Select the popup for phone details. click on edit.(here it is 3rd popup for phone details. Make the child creation as immediate. Currently it is deferred.)
10.Click on Apply.
11.After that, we can see application table under popup. It will be visible only after changing child creation property to immediate.
12.Go to Application table. Edit component.
13.You will be able to see all the fields in the application table.
14.Select the field that has to be made mandatory. Here it is a country code. Click on Edit.
15. Here Make the country code as show required And apply.
16. After that select input comboboxlistofvalues. It will be visible under country code.
17.component properties input comboboxlistofvalues pop will be shown. Click the arrow near required.
18.It can be done by going to expression builder and writing it as true. After that click on apply.
19.Set phone details popup back to deferred.
20.Publish your sandbox to reflect the changes at site level.