In Constellation i have added a data type “Data-Address-Postal” to my application
- Created a field “Embedded data”
- Add the created field in a view
as soon as we add the field the whole address is getting populated in the view, i have below questions
-
after adding the Address field, How pega is adding the view (not the primary fields)
-
at run time as soon as the country field changed the below fields are also getting updated, How is it getting changed/refreshed without any custom components.
i did not see any custom component added in OOTB, any one know How pega is doing this auto refresh after the change of the country field data
@Mani Bharghav
Address data type has already a preconfigured view which is added by default. The relationship between the country and address fields is also pre set.
Attached screenshots for your reference.
@Aditi Mehta
Thanks for your reply, if we want to implement the same way, what are all the configs to be done,
and What configs made that preconfigs in Address.
@Mani Bharghav
You can create a view A - which has a view B with country dropdown and one view for each country code for example - View_IND. Now set the visibility of View_IND as country = “INDIA”. This way different views will load for the different values selected in the country dropdown.
Add view A to your reference field.