LiveTemplates import

Is it possible to import LiveTemplates from command line or something else?
I want to install templates with my plugin, so I need the way to do it automatic.

2 comments
Comment actions Permalink

Hi, sorry for late answer.

Since 6.1 any shell component can implement IHaveDefaultSettingsStream interface. A stream will be read and mounted into the default storages. The stream can bring any settings values including the templates.

So you can just embed exported templates into your assembly and provide it on request.

Please let me know if you have further questions.

0

Please sign in to leave a comment.