Newlook Smartframe templates

Version Support

This information relates to Smartframe templates included in Newlook 11 and above.

 

The default Newlook Developer installation includes a Templates folder under C:\ProgramData\Newlook 11.1. This folder contains pre-built HTML 5 Smartframe templates that can be used in your solution.

Be aware:

The content in the Templates folder may be updated each time you install a new version of Newlook. If you want to include one of these templates in your solution, you will need to copy the relevant template folder into your solution folder to avoid your changes being overwritten when you update Newlook (refer to the section Assigning a template to your solution below). We also encourage developers to use a source control program, such as SVN or Git, to manage changes to their Smartframe templates.

Fixed Size template

The Fixed Size template displays application screens in an uncluttered, modern and easy-to-use UI. It utilizes the maximum available space for the client runtime window, given the available vertical area and the layout of screen components. Screen title and function keys are moved out of the runtime window into separate panels, while the Exit, Cancel and OK function keys are located in the bottom right corner, providing consistent UI elements for users who interact with them on a daily basis. The template is displayed at a fixed size, regardless of the container window's size. This is useful if you have a solution that has been designed at a specific size, and you do not want it to scale.

Adaptive template

The Adaptive template uses the same visual styling as the Fixed Size template, but scales according to the user's window size. This template is useful if your users typically view your screens in full screen mode.

Basic template

The basic template also provides the maximum available space for the client runtime window. It is a fixed-size template with a company banner that extends across the full width of the screen. This is useful if you want to get your company branding front and center. Function keys are moved out of the runtime window into individual buttons, instead of clickable links in a navigation panel.

Multi-session template

Introduced in Version 11.1.

This template has been designed to make use of the multi-session functionality introduced in version 11.1. It provides users with the ability to create new sessions tabs, and then seamlessly switch between those sessions within Smartframe. For more information about multi-session support in Newlook, refer to the Multi-sessions topic.

The Newlook 11 templates have been designed to be simple to configure, however they also provide plenty of flexibility should you need it. For many users, customizing a few basic elements in the template will be sufficient to provide them with something that meets their requirements. However, if you require a highly custom template, the flexibility is there to do so.

Key differences to note between Newlook 11 templates and older templates

In previous versions of Newlook (version 10 and below), the top-level Smartframe container was an MS Internet Explorer browser window, containing a HTML page. This HTML page instantiated a Newlook Active X control.

From Newlook 11.0 onwards, the top-level Smartframe container is no longer an IE browser window. It is now a stand-alone executable, looksoftware.SmartFrame.exe, which contains it's own Chromium-based browser, used to render and execute the specified Smartframe template's HTML, CSS and Javascript files. The Newlook Active X control has been replaced with the Smartframe Newlook Control, which interacts with the HTML page, based on the properties specified in the newlook object tag, within the parent HTML. There is no need to have any browser installed on your end user machines, Smartframe will run on a clean Windows environment.

BE AWARE:

It is no longer possible to start Smartframe by opening a HTML or HTA file containing the Newlook object. To start Smartframe you will now need to configure the Smartframe URL for your solution (in General Settings), then run the executable looksoftware.SmartFrame.exe, pointing to your solution. For end users, shortcuts can be configured during the deployment process, however for administrators and developers, you can start Smartframe from the executable shortcut or via the Smartframe preview button in Developer (which will automatically load the current solution).

Configuring Smartframe shortcuts

Smartframe is typically distributed to end users via the standard Newlook deployment process. If the Smartframe URL field in General Settings in your solution points to a Smartframe template, then any desktop shortcuts created in the deployment package will be automatically configured to point to the solution's template.

If you are running Newlook Developer and you want to view your solution in a different Smartframe template, you can do this one of two ways:

  1. Specify the relevant Smartframe template for the solution in the Smartframe URL field in General Settings, then click the Smartframe preview button () to open Smartframe with the current solution and template.
  2. Navigate to C:\Program Files (x86)\Newlook 11.1 and create a looksoftware.SmartFrame.exe desktop shortcut with the following command line arguments:

See Also

Smartframe Newlook Control API

Smartframe Deployment

Smartframe


© 2004-2021 looksoftware. All rights reserved.