In this blog, we will see how can we pre-populate values in field. We will add the pre-populate adapter on the LDAP connector process form UD_LDAP_USR.
To see how we can extend connector to add custom field refer here. Now we will use the same field and will pre-populate it with value in LastName if the field was left BLANK while filling form.
a) Launch Design console. and Navigate to Development Tools > Form Designer.
b) Navigate to the Form Designer Table tab and Find and double click UD_LDAP_USR.
c) Create a New Version.
d) From the Current Version dropdown select the newly created Version.
e) Click the tab Pre-Populate.
f) Click Add button.
g) On the window Pre-Populate Adapter set the following configuration. Click Save. Order will get populated automatically.
h) In the section Adapter Variables, select the only entry and click Map.
i) New window Adapter Variable will open up.
j) Set the following configuration.
k) . Click on Save; Click on Close; Click on Save; Click on Close; Click on Save in the form window; Click on Make Version Active; Click on OK in the warning. You should have your version Active
l) Now create a new user and provision it to OUD(Refer here). This time dont enter any value in Car License Number.
m) Verify in OUD. carLicense = lastName