January 03, 2014

Upgrading v1 Applications

When you open a version 1 application in Smart 2, you’ll notice two special nodes in the project explorer – Custom Template and Custom CSS (marked in the picture below). If you, however, create a new visual application, these two nodes won’t be present. Why?


A reason is quite simple. Unless specially instructed, a Smart v2 application refers to external HTML and CSS templates (stored in "%ProgramData%\Optimale Systemer AS\Smart Mobile Studio\Templates" and "%ProgramData%\Optimale Systemer AS\Smart Mobile Studio\RTL\themes", respectively). A Smart v1 application, however, stored those templates inside the project file.

Unless you have made any customizations to the HTML or CSS templates, you can easily upgrade to the newer versions. Just right-click on the Custom Template node and select Remove. Repeat for the Custom CSS node and you’re done! There won’t be any special templates stored in the project file and Smart will use the defaults.


To use a customized template, right-click in the project explorer and select Add Template. You can add an HTML and/or a CSS template.


No comments:

Post a comment