Generate tssp package file from xml theme files programatically

1 Answer 77 Views
Themes and Visual Style Builder Tools - VSB, Control Spy, Shape Editor
Carlos
Top achievements
Rank 1
Carlos asked on 15 Mar 2023, 02:44 PM

Hi,

We currently store our visual theme files separately as xml files (per control) instead of the tssp package file. This allows us to have a more detailed source control over the changes in each control, merging between branches is easier, etc.

Using a manual process, we open the Visual Style Builder, load the complete folder with the given xmls, and save the theme as a package. We then later on, copy the file to our application, and publish it.

We would like to automate the process of generating the tssp package given the xml files either by some tool from Telerik (if it exists), or by using any API available.

Is this possible? if not, can you please suggest an alternative solution?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 16 Mar 2023, 01:47 PM

Hi Carlos,

Thank you for your interest in our Visual Style Builder tool.

The export functionality to tssp package was designed for the purpose of Visual Style Builder. In your download folder of our DLLs you can find that we also ship the  VisualStyleBuilder.Design dll. Nevertheless, you can add this dll to your project and reach some of its APIs there is still internal code that can't be reached. Still, I have tried to show only the save file dialog, and execute several commands to load and save the XML files to tssp but to no avail. For a proper export of the XML files to tssp I would suggest using the VSB tool instead. 

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Themes and Visual Style Builder Tools - VSB, Control Spy, Shape Editor
Asked by
Carlos
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or