Are you talking about creating editable templates dynamically? It sounds
like it from "create a template dynamically using the sling model
response"The best practice is to create an Editable Template (or more),
create AEM Components using Sling Models, then in your Editable
Template(s) - you set the policy the drives which components are allowed
to be used in that given template.Sling Models are used to create a
given component - not Editable Templates.You should follow the WEEKEND
tutorial that...