LPS-41218 Use current templateId
LPS-41218 Show global templates in template selector
LPS-41219 Retrieve structure with local service.

Structure is used here just to obtain the name of the template list. Thus, there isn't any security issue with using local service in this case.