TemplateList() constructor

Discussion created by Michael_Lowry on Mar 19, 2018
I just noticed that the TemplateList() constructor of the TemplateList API class has been deprecated. It has been replaced by the TemplateList(IFolder folder) constructor.

This means using the TemplateList API is now a multi-step process:
  1. Retrieve the entire folder tree using theFolderTree()class;
  2. UseFolderTree.getFolder(java.lang.String path)to get an IFolder for the path where templates are stored;
  3. Use the newTemplateList(IFolder folder)constructor.
I think I understand how this process works. How did the old, deprecated method work? Where did it look for templates?