Config template looping and merging overview#

When using Quick Add User functionality, the user 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.

The base template sets fields that need to be hard coded to fulfill certain business rules, for example forcing the ownerUserName on phone to the user’s userid.

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 that need to be looped through.