Private
templatize the relationships key fields using the related table id in the basePath
the layer that has the relationships to templatize
the id of the item that contains the related table
templatize the relationships key fields using the related table id in the basePath