With the Introduction of Onboarding 2.0 we can use the MDF object to collect the additional information from the candidate during the Onboarding Process. A user or company can configure multiple MDF Objects based on the company requirement.
Here is my example I have taken one Custom MDF Object with one field
Pre-requisite
> Onboarding 2.0 should be enabled
> Basic configuration and Permission should be in place before configuring the Custom Data collection Object.
> Onboarding Process should be defined and it should have custom data collection step.
First, the step is to create a Custom MDF Object.
I am creating a PF detail custom object with the UAN number field.
Go to Admin Center> In the search tool search for > Configure Object Definition> Create New> From the drop-down select Object Defnition.
Please make sure you have maintained the same value as shown in the screenshot below ( Code and the Label can be given anything based on the requirement).
In the Field Section, I have added only one custom field cust_UAN which is type String.
Please note: externalCode should always be "Auto Number"
Once the Custom field is added to the Object next step is to create a ConfigUI for that we need to add one more field in the Custom Object. The field name should be userConfig, this field should be configured exactly shown in the below screenshot.
Once the custom field and UserConfig field is configured save the custom object.
The Second Step is Associating the Custom Objects to the UserConfig Object
a) Go to Admin Center> Configure Object Definitions.
b) Select the Object Definition from the first dropdown option. In the second dropdown option select ONB2DataCollectionUserConfig (Onboarding data collection user configuration)
c) Take Action>Make Correction
d) Scroll down to the below till Associations and enter any custom name and select the custom MDF object that is created in the First Step in the Destination Object, Type should be Join By Column
( Please refer the below screenshot)
e) Click on details : In the Destination Object Column enter cust_userConfig
f) Enter internalid in the Source ObjectColumn field
Once done save the ONB2DataCollectionUserConfig object.
The Third Step is Configuring the UI for Custom Objects.
Once the above 2 steps are completed then the Third step is to associate the UI for Custom Objects
a) Admin Center> Configure Object Definition
b) Select the Object Definition from the First dropdown menu and in the second dropdown menu select ONB2DataCollectionConfig (Onboarding data collection configuration)
c)Take Action>Make Correction
d) Scroll down to the below till Associations and associate the UI Config as below. ( Name can be anything. Select Destination Object as "ConfigUIMetadata")
e) Once it is done click on save.
Now, begin with the
Configuring the UI for Custom Objects.
a) Go to Admin Center> In search tool Search for >Manage Configuration UI
b) Click on Create New
C) Enter the Name and Select your MDF Custom Object that you have created in this case I am selecting my custom MDF object which is created in Step 1. Delete the system field and keep only your custom filed which is created in step1.
f) Once it is done click on save.
Once all custom objects are created, you must add them to a meta-object that is referenced during the dataCollection page load for rendering.
a) Go to Admin Center> Manage Data
b) in the first dropdown select Onboarding data collection configuration, in the second dropdown select DEFAULT_DATA_COLLECTION_CONFIG...
c)Take Action>Make Correction
d) Associate the
UI for Custom Objects which is created in 3rd step
e) Click on save.
Once the above step is done please verify the rules once for custom data collection
a) Admin Center> Configure Business Rule
b) Select SAP_ONB2_DataCollectionConfigSelect and verify the rule.
Once all the configuration is done candidate will complete the Additional Paperwork or custom data collection step and will see the below screen