My solution uses Workspace CSS v1 or v2 for styling. I would like to upgrade my solution from Appway 6.x to a newer Appway version (7.2.x or 8.0.x) and start developing my solution using Appway styling capabilities. How can I safely migrate my solution?
Migrating your solution from Workspace CSS v1 or v2 to Appway-specific styling capabilites is a low-effort task that removes the need for custom CSS in your solution. Style Business Objects allow performing comprehensive styling of components and solutions and have several advantages, such as better customization, solution upgradeability, and the possibility to use Appway Business Components and the Design System. Moreover, the upgrade to Style Business Objects can be performed gradually.
Consider that Style Business Objects are compatible with Workspace CSS v1/v2 only for Appway 7.2.10 and Appway 8.0.1, or higher. Therefore, you can migrate Workspace CSS v1/v2 to Style Business Objects directly only if you upgrade to one of these versions (see upgrade information for 7.2.x or 8.x) or higher. For previous versions, an intermediate migration to Workspace CSS v3 is required.
The Workspace CSS version used in your solution is determined by the following configuration property: nm.workspace.css.version (System Configuration > Configuration Properties).
Step effort: low
Rationale: In this step, you migrate your environment from Appway 6.x with Workspace CSS v1/v2 to Appway 7.2.10 or 8.0.1 (or higher) with Workspace CSS v1/v2 to use the latest features available. In your migrated solution, the legacy styles and CSS you have work as before.
Actions to perform:
To perform the upgrade, follow the steps described in System Upgrade: 6.3 to 7.x and System Upgrade: 7.2 to 8.x.
Result:
In your upgraded solution, Screen Component styling works exactly as before.
Custom CSS using 'rem' units does not work properly with Workspace CSS v1 and v2. If you are using 'rem' units in your custom CSS, change the units before upgrading.
Consider that, for Appway 7.2.16 (Component Extension 7.2.15), 8.1.3, 9.0.2 and higher, Appway no longer uses rems, but pixels, as a unit of measurement.
Step effort: low
Rationale: In this step, you start developing on your upgraded solution and you start using Style Business Objects to style your new Screens. The default Style Business Object is automatically associated with each Screen Component you drag into your Screen (Style tab in the Screen Editor) and the Use legacy Styles checkbox is deselected by default.
Most Screen Components already have associated Style Business Objects. A small number of them displays different options on the
Style tab.

Actions to perform:
The default Style Business Object for each Screen Component is applied by default. However, you can select a different Style Business Object. To do so, open the Style tab, click on the Style field to open the Business Object selector, and click on the desired object. Default Style Business Objects are saved in the Base Package but you can also create new ones.
Result:
Screen Components work as before in their styled versions.
Consider that Font styling properties for Screen Components not using Style Business Objects are the default values provided by the Workspace CSS version in use.
Step effort: medium/high
Rationale: Although you have already applied Style Business Objects for newly developed Screens, all the Screens developed before the upgrade still use legacy styles and Custom CSS. In this step, you can progressively and gradually remove custom CSS and implement the same styling by migrating to Style Business Objects.
Actions to perform:
Apply Style Business Objects to your Screen Component using one of these options or a combination of both:
- To change the style of a single component, go to the Screen Editor > Style tab and deselect the Use Legacy styles checkbox. Then, click on the Style field to open the Business Object selector, and click on the desired Style Business Object.
- To change Screen Components in bulk (e.g. all the instances of Button) you can use the Migration Tool for Style Business Objects. Follow the instructions carefully.
Result:
All legacy style properties are removed from the components (inline styles, classes and attributes) and the new Style options are applied.