11

Learning SAP Build Apps from Basics: Create a Project

 1 year ago
source link: https://blogs.sap.com/2023/02/06/learning-sap-build-apps-from-basics-create-a-project/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
February 6, 2023 3 minute read

Learning SAP Build Apps from Basics: Create a Project

0 2 126

Introduction

Let us create our first project in SAP Build Apps.

How do you create your first project in SAP Build Apps?

Access your BTP Subaccount with the pre-requisites met and subscribed to SAP Build Apps. I am using a Free-Tier version.

BTP%20Subaccount%20with%20SAP%20Build%20Apps

BTP Subaccount with SAP Build Apps

SAP%20Discovery%20Center

SAP Discovery Center

From the SAP Build Lobby, you need to click on Create button

Create%20Project

Create Project

Click on Build an Application

Build%20an%20Application

Build an Application

Click on Web and Mobile Application

Web%20Application

Web & Mobile Application

Add “Project Name” and click on Create button

Save%20Project

Save Project

Now you see App Builder below with:

  • View Canvas in the center
  • Left-hand side panel is Component Library
  • Right hand side panel is called as Component Properties and
  • Top panel is the Global Toolbar
  • At bottom, you see the Logic Canvas.

This is the start point for us to create an application.

Components%20of%20App%20Builder

Components of App Builder

Components%20of%20App%20Builder%20-cont.

Components of App Builder -cont.

Select the component on the UI canvas. By default, you get a Title and Text Component.

How to edit a component?

Select the component, Title on the UI canvas.

Go to Component Properties and click on the Content property

Change the text to Product

Edit%20Title%20Component

Edit Title Component

Select the Text component and click on the cross mark to delete it. By this way you can delete a component from the view canvas.

Delete%20Component%20from%20Canvas

Delete Component from Canvas

Go to the Component Library and find the Search Bar component. Drag and drop it on the view canvas below the title.

Search%20Components%3A%20Inserting%20Search%20Bar%20and%20List%20Item%20components

Search Components: Inserting Search Bar and List Item components

Similarly, go to the Component Library and search for the List Item component. Drag and drop it on the view canvas below the search bar.

Creating a Variable

Let us create an App Variable, which will be used to store the search term. We will call it as “filterText”.

Go to the UI canvas, you see a toggle button for View and Variable. Toggle to variables and select the “App Variable” tab and then click on + icon. Now, select the variable created and change it to filterText.

Add%20Variable

Add Variable

In the above screenshot, you also see there is a button in the bottom left for Remove from the app, which you can click when you intend to delete the variable.

With this you have successfully completed designing the app structure!

Final%20Structure%20of%20App

Final Structure of App

Click on the Launch button in the Global Toolbar

Launch%20App

Launch App

Press the Open Preview Portal button

Preview

Preview

Select your project from the below screen and click on Preview on web

Preview%20on%20web

Preview on web

Click on Open button to launch the web preview

Click%20Open

Click Open

Final Output looks like this:

Output

Output

Now, let us connect the app to the oData service in my next blog.

Stay tuned!

Feel to connect with me at Chandra Bhushan Singh 

Why not say a ‘Hi’ on LinkedIn?

Do you have any suggestions? Comment below.

If you found it to be useful, give us a like and share on social media platform.

Have a question in mind, just ask here.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK