Skip to main content

%CSP.StudioTemplateMgr

class %CSP.StudioTemplateMgr

Provide a place to put the queries for the Studio templates and the other management functions.

Method Inventory

Methods

classmethod AddTemplate(name As %String, mode As %String, pagename As %String, description As %String, classname As %String, typelist As %String, interactive As %Boolean, global As %Boolean = 0, id As %String = "", nooutput As %Boolean = 0, accelerator As %String = "", group As %String = "", nonmodal As %Boolean = 0) as %Status
Add this template to the list used by the template query.
classmethod UpdateTemplates(flag As %String = "") as %Status
This will scan the directory with the templates in to see if any need to be recompiled because they have changed. If they do they will be recompiled with the flag flags.

Queries

query Templates(Type As %String = "MAC", Name As %String = "")
Selects Name As %String, Description As %String, Url As %String, Type As %String, Interactive As %Boolean, NoOutput As %Boolean, Accelerator As %String, RealName As %String, Group As %String, NonModal As %Boolean
Return the list of templates that we have for use with Studio. The Type can be the name of the type or '*' to return all the non-New templates. If you specify a value for Name then it will just return the templates that match this Name in case you already know which template you are interested in.
FeedbackOpens in a new tab