---
parser: v2
auto_validation: true
time: 15
tags: [ tutorial>beginner, software-product>sap-build-work-zone--advanced-edition]
primary_tag: software-product>sap-build-work-zone--advanced-edition
author_name: Lindsay Bert
author_profile: https://github.com/LindsayBert
slug: workzone-build-4-sapui5-app
canonical_url: https://developers.sap.com/tutorials/workzone-build-4-sapui5-app
---


# Add an SAPUI5 App to a Workpage in SAP Build Work Zone, advanced edition
<!-- description --> Add an existing SAPUI5 app to your workpage

## Prerequisites
 - A subaccount in SAP BTP that includes a subscription to the SAP Build Work Zone, advanced edition service has already been setup for you. Note that it is not available in a trial account
 - You've already designed the **Home** workpage where you'll add this app   



## You will learn
  - How to add an SAPUI5 app to a workpage in your site


## Intro
To add business apps to your site, you need to configure them in a tool called the **Content Manager**, located in the Site Manager. The **Content Manager** includes various editors that you can use to configure apps, groups, roles, and catalogs.

Once configured, the app appears as a tile in the **Applications** page of your site - a single page from where you can launch your apps. The page can be accessed from the top-level menu and displays the business apps that a user has permissions to launch.


### Open the Content Manager


1. Access the **Administration Console** from the user actions dropdown menu under your avatar.

    ![Open the admin console](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/1-open-admin-console.png)

    >This option is only available to SAP Build Work Zone, advanced edition administrators.


2. Go to the **External Integrations** section, expand it, and click **Business Content**.

    ![Open business content](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/2-business-content.png)

3. Click **Content Manager**.

    ![Open content manager](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/3-open-content-manager.png)

The **Content Manager** is part of the Site Manager, where administrators can create and configure their business content. They can also use the **Content Explorer** to explore exposed content from available content providers. The Site Manager also includes the following tools:

- The **Site Directory** where the site's tile is located. From here you can update the site settings - for example, assign the site to a specific role.

- The **Channel Manager** where you manage content providers. Content providers expose business content that you can integrate into your site.

- The **Configurator** where administrators can set up onboarding to SAP Build Work Zone, advanced edition. For the tutorial, we assume this configuration has already been done for you.

- The **Settings** where you can configure various settings related to your subaccount.<div>&nbsp;</div><div>


### Create and configure a new app

First create and configure the app.

1. Click **Create** and select **App** from the dropdown list. 

    ![Add app](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/6-add-app.png)

    The app editor opens with the **Configuration** tab in focus.

2. Enter the following values:

    * **Title**: `New Orders`

    * **Open App**: In place

    * **URL**:  `https://sapui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html`

      ![Define app properties](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/7-app-properties.png)

    >When working in your own environment, it's better to integrate SAPUI5 apps by configuring a destination to the relevant system and setting the app properties to use this destination. In this case in the App UI Technology dropdown list, you would select SAPUI5. This configuration allows you to better manage your content in the Dev-QA-Prod lifecycle.

3. Click the **Navigation** tab to specify the intent of your app.

    >The unique combination of a semantic object and an action is called an intent. It is used to define navigation to an application.

4. Enter the following values:


    * **Semantic Object**: `Order`

    * **Action**: `Display`

      ![Define navigation properties](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/8-navigation-properties.png)

5. Click the **Visualization** tab. In this tab, you specify how the app tile will appear in the **Applications** page of your site.

6. Enter the following values:

    * **Subtitle**: `Shopping Cart `

    * **Information**:  `Order Now!`

    * **Icon**: Click the browse icon, type `my-sales-order`, and click on the displayed icon, to add it. 

7. On the right, you can see a preview of the tile with all the properties you entered. Click **Save**.

    ![Define visualizaton properties](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/9-vizualization-properties.png)



### View the app in the Content Manager


Click **Content Manager** in the breadcrumbs in the top header to navigate back to the Content Manager.

![Go back to Content Manager](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/10-go-to-content-manager.png)

You can see your app in the list of content items in **My Content**:

![View the app](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/11-view-app.png)


### Assign the app to the Everyone role


The `Everyone` role already exists in the **Items** list of the **Content Manager** by default. Content assigned to the `Everyone` role is visible to all users.

1. In the **Items** list, click the **Everyone** role to open the Role editor.

    ![Select Everyone role](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/12-select-everyone-role.png)

2. Click **Edit**.

    ![Click Edit](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/13-edit.png)

3. Click the search box in the search box to see any available apps in the list below.

    >If you have many apps, you can type some letters of your app name in the search bar, (for example, `Or`) to search for the app.

4. In the **Assignment Status** column, drag the toggle switch to the right next to the `New Orders` app to assign this role to your app. You'll see that the icon changes.

5. Click **Save**.

    ![Assign role to app](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/14-assign-role.png)

Once an application is configured, it becomes available to add to your workpages.


### Create a group and assign the app to it


A group is a set of one or more apps displayed together on the **Applications** page of your site. Assigning apps to groups, makes them visible to the user from this page. In this step you'll create a new group and assign the app to it.

1. Click **Content Manager** in the breadcrumbs in the top header to navigate back to the Content Manager.

2. Click **Create** and select **Group** to create a group.

    ![Create a group](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/15-create-group.png)

3. Enter `Purchasing` as the **Title**.

4. In the **Assignment Status** column, drag the toggle switch to the right next to the `New Orders` app to assign it to your group. You'll see that the icon changes. 

5. Click **Save**.

    ![Assign app to group](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/16-assign-to-group.png)

Your app is configured. Now you'll go to the **Applications** page to see that the app appears there.


### View the app in the Applications page at runtime


1. Click the **Site Directory** icon in the side panel.

    ![Open the Site Directory](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/17-open-site-directory.png)

2. Click the **Open site** icon.

    ![Open your work zone](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/18-open-work-zone.png)

3. In the top-level menu of your workpage, click **Applications**.

    ![Open Applications page](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/19-open-applications-page.png)

You'll see your app is displayed as a tile in the group you assigned it to:

![View Applications page](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/20-view-applications-page.png)

Now that the app is configured, you're going to add it to your **Home** workpage.


### Add a header for your most commonly used apps


To design your workpage to be more practical, we'll add a header for the app and then add the app under it.

1. From the **Applications** page, you can quickly navigate back to the **Home** page by clicking **Home** in the top navigation bar of your site. Then click **Home**.

    ![Navigate to Home page](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/21-navigate-to-home.png)

    >You can also simply click the back arrow to navigate back to the **Home** workpage.

2. Click the pencil icon to open the Page Designer.

    ![Open Page Designer](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/22-open-edit-mode.png)

3. Scroll down to the last section on the page and click **+** to add another section.

    ![Add a row](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/23-add-row.png)

4. Click **Add Widget** to open the widget gallery and select the **Text** widget.

5. Design the text widget as follows:

    |  :------------- | :-------------
    | Text            | Type in the following: `Most Popular Apps`.
    | Font            | Select the text and change to Arial 14pt.
    | Color           | With the text still selected, choose the color black from the chart.

    ![Design the header](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/24-design-text-widget.png)

6. To increase the spacing between this section and the section above, hover over the section to expose the settings at the top right, and click the cog icon.

    ![Edit row settings](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/27-define-row-settings.png)

5. Enter the following values:

    * Under **Padding Top**, add the value `30` pixels and click **Save**.

    * Check the box **Extend the row to full width**.



    ![Add values to settings](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/28-add-values.png)

Now you're going to add your first app under this header.


### Add your app to the workpage


1. Click **+** to add another section and then click **Add Widget**.

    ![Add another widget](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/25-add-another-widget.png)

2. Click **Tiles**.

    ![Select tiles](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/25a-select-tiles.png)

3. In the Search box, start typing in the name of your app `New Orders`, select the app, and then click **Add**.

    ![Select your app](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/26-select-application.png)


5. Scroll to the top of the page, and click **Publish**.

    This is how your **Home** workpage looks with the app added to it:

    ![Home page with 1 app](https://raw.githubusercontent.com/sap-tutorials/Tutorials/master/tutorials/workzone-build-4-sapui5-app/29-homepage-with-app1.png)

6. Click the app to open it.
