Customizing your WaaS

Customizing your WaaS

This article details the processes for customizing your WaaS website when Web Portal as a Service is enabled, trialed, or purchased.

Previewing WaaS
Allows your current logged-in user to preview changes made to the Home page.
Once in preview mode, the preview is only visible to you (the current user). Once you are happy with your changes, you can stop the preview by hitting Stop Preview.

Publishing WaaS
Once you are happy with your changes, hit Publish. Publish will make the Home page, along with any custom SCSS, CSS, Scripts, and Side Menu, visible/enabled to all platform users.

Site Branding

Setting up your own branded version of our web portal involves a few steps to get up and running.

The main configuration area for customizing your WaaS site can be found by navigating to Platform & Billing > Branding Center.

The Site Branding and Site Integration links are located under the page title near the top-left corner of the screen.

You can enter your company site details on the Site Branding page, configure various cosmetic settings, and more. On the Site Integrations page, you can configure connections to external cloud services requiring API access.

An overview of requirements, options, customizations, and integrations:

General
  • HTTPS Enabled
  • Your Domain Name
  • Your Site Name
  • Start URL (Default: /Home)
  • Support Email Address
  • No Reply Email Address
  • Help URL
Branding
  • Header Logo (1000×300 .png)
  • Public/Login Logo (1000×300 .png)
  • Fav Icon (96×96 .png)
Branded Apps & Catalog
  • Examples Catalog
  • Apple App Store App URL
  • Android Market App URL
  • Windows App Download URL
  • Tutorials Text
  • Common Questions Text
Styling & Behaviour
  • Custom SCSS
  • Custom CSS
  • Custom Scripts
  • Custom Side Menu

Now that you’ve got an idea of what’s possible, the following steps will help you make your branded website a reality!

General

The first step to getting your WaaS running is to set up a Custom Domain Name that your users will use to log into your branded site and then provide supporting details.

When trialling or previewing a branded site, the following properties aren’t required, but the fields can’t be blank.

Your Domain Name

Enter the web domain by which your site will be accessed. Remember to set up a CNAME entry on your domain registrar that points to the platform. Refer to our support documentation for more details.

Web Forms Domain

Enter the web domain to be used by Web Form links. Remember to set up a CNAME entry on your domain registrar pointing at the Web Form servers.
Refer to our support documentation for more details.

Your Site Name

Users will see this name at the top of their browser window and throughout your site.

Start URL

Optionally, set a page for users to land directly after login. The default is ‘/Home’.
URL must be relative to your platform domain (i.e., start with ‘/’).
This does not apply to users with Vendor Admin access.

Embed Portal Within

You can add the host web domain here if you’d like to embed this portal into another website. Please note that only one URL is currently allowed.

When whitelisting a URL, only allow URLs from trusted sources. Be sure to whitelist specific pages or domains, rather than entire websites, to ensure that only the desired content is embedded. Whitelisting a whole website can increase the risk of embedding unwanted or malicious content, harming your portal and its users.

Branding

Upload your logos: Header, Public/Login, and Fav Icon (image that appears in web browser tab).

Branded Apps and Catalog

Then, suppose you’d like your example apps to be displayed as example apps instead of ours to your clients. In that case, you can specify a repository account to populate the Examples Catalog.

Also, set your respective branded app URLs if you’ve added AaaS to your account.

Home Page Setup

Configure your users’ Home page by adding information, links, and helpful content. Use the ‘Add Content’ buttons to add a box in the given position of your Home page. Choose the type of content displayed from the dropdown, and add your HTML or useful links as desired.

Styling and Behaviour

Custom SCSS & CSS

Next, customize the look and feel of your WaaS site via the Custom SCSS/CSS options. eForms Mobile supports SCSS/CSS for all WaaS styling; default SCSS/CSS describes each element that may be customized to produce the desired result.  

Any element in the web portal can be styled by adding your own SCSS/CSS into the Custom SCSS/CSS area.

Using Chrome Inspector, you can get an idea of the CSS styles involved in any page in the web portal.
Take a look at articles such as the one below for some basic information on how to do this:

https://designtlc.com/use-chrome-inspector-edit-website-css

If you aim to change specific elements and styling, you should understand SCSS/CSS. If you don’t have this knowledge, we recommend getting help from a technical or web person to achieve what you’re looking for.

Custom Scripts

You can also include your custom JavaScript code to override your WaaS site’s look and feel. Use the Custom Scripts field for this purpose—the JavaScript you place into this field will be included on every page of your Website as a Service site.

For example, if you wanted to track all your admin page activity and traffic on Google Analytics, then you would put your Google Analytics JavaScript tracking code in the Custom Scripts section of your website, as shown in the screenshot below:

Support/Help Widget

When WaaS is enabled, the eForms Mobile Help & Tutorials side menu button and “Need Help?” widget are not available. These links point to our branded help and support articles, which are not desired when WaaS is enabled.

One typical use of Custom Scripts is to add your support widget into your WaaS for your chosen support/helpdesk service. When these widgets are clicked on, they’ll typically pop out to let the user log tickets and browse the documentation knowledge base. Including such a widget usually means copying a snippet of JavaScript from your support/helpdesk service and pasting the snippet into the Custom Scripts field.

Public Page Panel

Specify an HTML fragment that will be loaded into the side panel of the platform’s public-facing pages, such as the Sign In page. This will completely replace our default ‘bubbles’ animation when these pages are visited under your custom WaaS domain.

Use this space to advertise new services, inform users of changes, or add style to the user experience.

Custom Side Menu

Use this to customize the layout of the left-side menu completely. Add your custom layout using JSON code.

  • You can add menu items that link to external or internal platform URLs using HTTP GET or POST.
  • Links can be configured to open embedded content in the platform.
  • Add new buttons and tabs.

JSON Definition

PropertyDescription
CssClassText, Optional.
This will be added to the link’s anchor tag class attribute.
It helps provide JavaScript or CSS hooks on the link.
Example Config: “CssClass”: “thisIsAClass thisIsAnotherClass”
IconText, Required
Must be a valid Font Awesome 5 icon. Only Regular, Duotone, and Brands are supported.
Check out Font Awesome 5 icons.
Example Config: “Icon”: “fa-home”
TitleText, Required
This is the title text of the link. Try to keep it short.
Example Config: “Title”: “A Link Title”
LinkText, Required, if Link Target is Embedded or New Window
Any valid HTTP or HTTPS URL.
Valid internal platform URLs:
/Home, /Screens, /AppBuilder, /Catalog, /DataSources, /DocDefinitions, /Connections, /Data/Feed, /Data, /Data/Map, /Tasks, /Tasks/Calendar, /Tasks/Map, /TaskRecurring, /TaskTemplates, /Provider, /Users, /Platform, /Platform/Clients, /Platform/Environments, /BrandCenter, /RepositoryAdmin, /Billing, /Account/ChangePassword, /Account/LogOff
Example Config: “Link”: “https://www.google.com/“
LinkTargetText, Required
Only used if Target is EMBEDDED or NEW_WINDOW.
The default is GET.
Valid Actions: GET, POST.
GET performs an HTTP GET request, and POST performs an HTTP POST.
Example Config: “LinkAction”: “POST”
LinkActionText, Required
Only used if Target is EMBEDDED or NEW_WINDOW.
Default is GET.
Valid Actions: GET, POST
GET Performs an HTTP Get request, POST performs an HTTP POST.
Example Config: “LinkAction”: “POST”
FormPostDataJSON key-value pair, Optional.
Optionally add Form Post Data to an HTTP POST request.
Example Config
"FormPostData": [
{
"Key": "param1",
"Value": "param1Val"
},
{
"Key": "param2",
"Value": "param2Val"
}
]
PropertyDescription
IsBetaBoolean, Required.
When it is true, it will show a BETA badge on the menu item.
The default is false.
Valid values are: true or false.
Example Config: “IsBeta”: “true”
AccessLevelBoolean, Required.
When it is true, it will show a BETA badge on the menu item.
The default is false.
Valid values are: true or false.
Example Config: “IsBeta”: “true”
ChildrenBoolean, Required.
It will show a BETA badge on the menu item when it is true.
The default is false.
Valid values are: true or false.
Example Config: “IsBeta”: “true”
Example Config
"Children": [
{
"Icon": "fa-database",
"Title": "Data Sources",
"Link": "/DataSources"
},
{
"Icon": "fa-files-medical",
"Title": "Files & Docs",
"Link": "/DocDefinitions"
}
]

Site Integrations

HTTPS Support (SSL Certificate)

For most users of the platform, a secure HTTPS connection is required.

In particular, this applies to the usage of our APIs and also any connections to Google, Microsoft, and most other external service connectors requiring an SSL certificate that our platform auto-generates for you.

Configure Email for your WaaS Domain (SPF record)

To avoid emails sent from your custom domain name being blocked, you must ensure you have an SPF record on your web domain’s DNS.

A step-by-step guide for this can be found here.

Set up API Keys for Connections

Because your WaaS site runs off its web domain name, any attempts to set up Connections to Google, Microsoft, and other cloud services require you to have API access keys set up against that WaaS site domain.

Please refer to the articles provided, which provide step-by-step guides on how to set up these various API keys and services.

Work through the above steps, and your new custom-branded service will be ready quickly.