TemplateInstance.addAdapter Method
        
 Adds an adapter to the template instance.
 
         
        Parameters
        
            - adapter
            
 
            - 
                
Type: Adapter
The adapter. 
            - insertIndex
            
 
            - 
                
Type: Number (Integer)
(optional) An index in the adapters array at which to insert the adapter. If not specified, the adapter will be added to the end.
Optional: True