Config Template Looping and Merging Overview#

When the Quick Add Subscriber feature is used, the Subscriber Relation workflow (AddSubscriberNew) follows the same pattern for each device model being added. A base Config Template for the model is merged with the template specified in the Quick Add Group (QAG).

The purpose of the base template is to set fields which need to be hard coded to fulfill certain business rules, for example forcing the ownerUserName on Phone to the userid of the User.

This merging of Config Templates works seamlessly for the most part. However, the merge process becomes a little more complex when the Config Templates being merged contain lists which need to be looped through.