I want to customize the Appway Workspace so that it fits with my company's corporate branding guidelines. What can I change, and how can I change it?
Note: The default design of the Appway workspace already provides a good visual user experience for customers. We recommend keeping the default design, unless there is a specific request that it be aligned to the branding guidelines.
Furthermore, be cautious when it comes to changing the visual design. Changing colors is not an issue. Changing typefaces may cause alignment problems. Changing font sizes is theoretically possible, but not recommended.
Most companies have a business-specific brand design book. This brand book contains the details on what may, and may not, be done in terms of design. Every brand, for example, has a list of primary and secondary colors available for use. There are often specific guidelines stating when and where those colors may be used: backgrounds must be a certain shade of blue, while buttons must be a certain shade of grey. Which fonts are permitted, and the size of those fonts according to the context in which they appear, is also information likely included in this brand book.
There are four main brand design elements that need to be identified:
- Image (Logo)
- Colors
- Typography (Fonts)
- Icons
Most brand books already provide all the required details about these specific design elements. A comparative study of the default Workspace and the company brand book helps to understand which elements should be applied where.

Adding the client logo is the very first step towards customizing the Appway Workspace, as logos allow people to identify a brand quickly. The client logo (as an image in a format such as PNG or JPG) can be imported as a Resource Business Object.
If you are building your solution on top of the Client Onboarding Template, you only need replace the existing Resource. Alternatively, you can create a new Resource with a new ID, and apply this new Resource in the main template.
Appway Color Objects can be used in any uploaded resource. Create custom colors, or reuse existing ones with the following notation: {#\MYCOLORID}
Follow either procedure #1, procedure #2 or procedure #3 below to customize the color of any Color Business Object.
Important! Changes made to Color Business Objects are not immediately reflected in the UI due to browser caching. After committing the Color Business Objects, clear your browser cache. Simply refreshing the web page does not work.
Important! If you are working in a team, clearing your own browser cache is not going to help the other members of your team see the updated UI. Stop and then restart the Component Extension via the Studio > Extensions. All updated Color Business Objects are reloaded, and the latest UI then displayed to everyone.
-
Inspect the element in your browser using the default web inspector. Copy the color code.

-
Paste the color code into the Appway Studio Global Search. You should get one or more search results. Use the Business Object ID to guide you to the correct Object.

-
Open the Color Business Object and change the color code to the required client color.

-
Commit the Color Business Object in order to see the changes in the solution. You may also need to empty your browser cache.
-
Search within the Color Business Objects semantically and then look for the correct Business Object ID that matches what you are looking for.
The correct Business Object ID describes the exact part of the Workspace for which you wish to modify the color. As an example: If you wanted to change the color of the chevron "phase forward" arrows (separators), you would first look for "chevron" in the search field. From the search results returned, the correct BO would be "aw.ext.componentextension.PhaseChevron.PhaseSeparator".

-
Open the Color Business Object and change the color code to the required client color.

-
Commit the Color Business Object in order to see the changes in the solution. You may also need to empty your browser cache.
-
Inspect the element in your browser using the default web inspector.
-
Once you've found the correct color, open the style sheet related to that color.

-
With the style sheet open in your browser, add the URL parameter "?skipReplacement=true" in order to skip the color replacement: This parameter lets you see the Appway Color Object ID of the color.

-
Open the Color Business Object and change the color code to the required client color.

-
Commit the Color Business Object in order to see the changes in the solution. You may also need to empty your browser cache.
Icons, fonts and CSS stylesheets are imported into the Studio as Resources.
Most icons are contained within the DefaultIconsExtension. Appway recommends you use these icons, and only change the colors when necessary. This approach helps minimize additional work due to extension updates or solution upgrades.
If you wish to change the icon colors from the header or any other part of the Workspace, you must change the default icon type from PNG to SVG.
- Go to Administration > Configuration
- Search for "preferredIconType" in the "Name" column. The default value for this entry is set to PNG.
- As shown in the image below, click on the top left menu and open "Edit Content Configuration".

4.Declare a new value with "nm.workspace.icons.preferredIconType = SVG" and then save.
This changes the default icon value to SVG, which enables the rendering of icons in SVG format instead of PNG. It is then possible to adjust the color of the icons using Color BOs.
Important! The SVG format is not supported on Internet Explorer 8 (IE 8).
If you must change the icons, replace them with new icons of the same dimensions. Visual Designers at Appway can help you create the required new icons.
Import any new icons as Resources into your solution, and apply them to the respective screens. You must commit the Resources in order to see the change in the solution.
Important! Keep in mind that while changing colors and icons typically does not cause any layout issues, changing fonts and adding custom CSS to solutions can break the layout of your Appway solution, and add huge additional costs for testing, debugging, and development to your project.
Changing fonts and CSS is neither advised nor officially supported in Appway because it impacts the upgrade compatibility of solutions. In case this is absolutely mandatory to comply with Corporate Identity guidelines, the following instructions provide guidelines on how you could proceed.
-
Any fonts you intend to use must be web-safe, and have a webfont kit. If the font does not come with a webfont kit, you could generate one by uploading your company's font to this tool: http://www.fontsquirrel.com/tools/webfont-generator.
Important: You must first read the font's EULA to confirm that generating a webfont kit is allowed!
The webfont kit comprises of a CSS stylesheet, and various font formats compatible with different operating systems (such as .otf, .eot, .svg, .ttf, .woff and .woff2).
-
Import the font formats as Resources and immediately commit all of them.
-
Import the CSS stylesheet as a Resource, and give it an ID ("customfonts.css", for example).
-
Select one of the new font formats. Right-click on "Direct link to Resource", and copy the link address.
-
Open the custom font CSS stylesheet, and paste the link in the following location:
@font-face {
font-family: 'MYNEWFONT';
font-style: normal;
font-weight: normal;
src: local('MYNEWFONT'), url('YOUR LINK HERE') format('FONTFORMAT(ttf/woff/woff2/otf/eot/svg)');;
}
Note: This is when the font weight is normal. Step 8 below covers how to take care of other font weights.
-
Replace the characters before "/resource/..." with the context path of the font resource. Resources uploaded to the Appway Studio can use the following placeholder: {*CONTEXT_PATH*}
Here is an example of how it would look once you declare a font using the above code structure:
@font-face {
font-family: 'Myriad Pro';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Regular'), url('{*CONTEXT_PATH*}/resource/object/MYRIADPRO-REGULAR.ttf/LatestCommittedFilter/MYRIADPRO-REGULAR.ttf') format('ttf');
}
-
Add the following to the end of the custom font CSS stylesheet:
body, td, th, span, div, a, input, select, option, textarea, p, ul, li {
font-family: 'MYNEWFONT';
}
This ensures the previous font is replaced by the newly-uploaded font across all text elements.
-
To apply different font weights (bold, light, and so on), import all the fonts that belong to the same font family in all different formats, as mentioned previously. Commit them instantly.
Font weights are taken care of by the Workspace itself. Therefore, applying the correct font weight to the imported fonts would be sufficient.
The following examples demonstrate how it would look once you declare "semi-bold" and "bold" fonts from the same font family:
Semi-bold
@font-face {
font-family: 'Myriad Pro';
font-style: normal;
font-weight: 600;
src: local('Myriad Pro Semibold'), url('{*CONTEXT_PATH*}/resource/object/MYRIADPRO-SEMIBOLD.ttf/LatestCommittedFilter/MYRIADPRO-SEMIBOLD.ttf') format('ttf');
}
Bold
@font-face {
font-family: 'Myriad Pro';
font-style: normal;
font-weight: 700;
src: local('Myriad Pro Bold'), url('{*CONTEXT_PATH*}/resource/object/MYRIADPRO-BOLD.ttf/LatestCommittedFilter/MYRIADPRO-BOLD.ttf') format('ttf');
}
-
Link the custom font CSS stylesheet to the MainTemplate using the MainTemplate Screen.
This is illustrated in the image below:

(a) In the MainTemplate Screen, drag an HTML Head Link component onto the Screen.
(b) Place it below all other links that have a CSS stylesheet.
(c) In the Properties tab of the HTML Head Link component, select the custom font CSS stylesheet as a Resource.
-
Commit all resources, and empty the browser cache in order to view the changes in the solution.