Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ author_profile: https://github.com/LindsayBert
<!-- description --> Create a content package that includes a UI integration card with it's associated role.

## Prerequisites
- You've created a UI integration card with data coming from the SAP Gateway Demo System. If you decide to skip this tutorial you can copy and paste the `manifest.json` file and insert it in this tutorial (more details further down).
- You've created a UI integration card using this tutorial: [Create a UI5 Integration Card that Displays Data from the Gateway Demo System](https://developers.sap.com/tutorials/appstudio-sapui5-integrationcard-create.html). You can decide to skip this tutorial - in this case you will copy and paste the `manifest.json` file from this tutorial and insert it in the relevant step below.
- You have a subscription to SAP Business Application Studio
- You've created a **Dev Space** in SAP Business Application Studio. For more information, see [Create a Dev Space for SAP Fiori Apps](https://developers.sap.com/tutorials/appstudio-devspace-fiori-create.html)

## You will learn
- How to create a content package that includes a UI integration card

## Intro
A content package is a collection of content items such as cards, roles, pages, and spaces that are bundled together in a ZIP file that can easily be uploaded and used in your site. Once the content in the content package has been activated, it's ready for use in the pages of your site.
A content package is a collection of content items such as cards, roles, pages, and spaces that are bundled together in a ZIP file that can easily be uploaded and used in your site.

In this tutorial, you'll learn how to create a content package in SAP Business Application Studio. The content package will include a UI integration card as well as the role that the card is assigned to. If you prefer to skip the card creation tutorial, you will be able to copy the ready-made code for the card, and paste it in this tutorial later.
In this tutorial, you'll learn how to create a content package in SAP Business Application Studio. The content package will include a UI integration card as well as the role that the card is assigned to.

### Check for development tools for SAP Build Work Zone extension

Expand All @@ -32,7 +32,7 @@ In this tutorial, you'll learn how to create a content package in SAP Business A

<!-- border -->![Image depicting SAP Business Application Studio with configured dev spaces – click on Edit button](1-2.PNG)

3. Ensure that the **Development Tools for SAP Build Work Zone** extension is checked and save the changes if necessary.
3. Ensure that the **Development Tools for SAP Build Work Zone** extension is checked, and save the changes if necessary.

<!-- border -->![Image depicting SAP BAS with Development Tools for SAP Build Work Zone extension selected](1-3.PNG)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ The **Site Directory** opens.

<!-- border -->![View card in the role editor](14a-view-card-in-role.png)

### Add a header in your page
### Add a header to your page

In this step, you'll add a header to your page for the card that you will add.

1. Go back to the Content Manager by using the breadcrumbs above.

Expand Down Expand Up @@ -138,7 +140,7 @@ The `ContentPackageRole` is part of the content in the content package ZIP file.

<!-- border -->![Add User](11-add-user.png)

>Note that you will need to log out and log in again in order for the role assignement to take effect.
>Note that assignment to the role can take time. If you don't want to wait, you can log out and log in again in order for the role assignment to take effect.

### View the card in your runtime site

Expand Down