The mechanism is broadly similar to that which is used by Studio. When you invoke the Add-Ins menu item, Atelier issues this query by doing a post to http://127.0.0.1:57772/api/atelier/v1/%25SYS/action/query with this body
{"query": "call %CSP.StudioTemplateMgr_Templates('addin')"}
This returns the JSON which enumerates those templates of type 'addin' which are available.
If you create a user template then the menu item should show up for your custom template.
(see documentation /csp/docbook/DocBook.UI.Page.cls?KEY=GSTD_Templates
/csp/docbook/DocBook.UI.Page.cls?KEY=GSTD_Templates, section 'Making Your Own Studio Templates')
- Log in to post comments
