Showing posts with label LowCode NoCode. Show all posts
Showing posts with label LowCode NoCode. Show all posts

Build Low-Code and No-Code Solutions i.e. Home , View, Edit Screen with Navigation With PowerApps

Introduction 

PowerApps is an enterprise service that lets you connect, create, and share business apps with your team in minutes, using any device. You can create a PowerApps for an existing list in SharePoint Online.
Let's get started on how we can create a fully functional PowerApps based on a standalone application. I am going the cover all of the steps throughout multiple articles.
  1. Design Home Page Screen
  2. Navigation among screen
  3. Item List View Screen
  4. Item Detail View Screen 
  5. Item Detail Edit Screen


Let's get started with next steps,
Step 1 - Add a Display screen with SPO list connection.
  1. Select and click to add a new screen
  2. Rename the screen "Flight Display Screen"
  3. Select and click to add a display form.
  4. FormViewer1 will appear in the tree view and a blank canvas without datasource connection.
  5. Select the form view canvas and click "Connect to Data"
  6. Select the data source from the Form View Property section.

Step 2 - Design Display screen 
  1. Select DataSource as list name i.e. Flight Details.
  2. Set the Column Layout (i.e. 2) and Layout as vertical.
  3. Add a Label for the heading of the screen and change the text to "Flight Detail View Screen".
  4. Add a Home icon from the Icons section to navigate to the home screen.
  5. Add an Edit icon from the Icons section to navigate to the Edit Screen.
  6. Add the Close icon from the Icons section to navigate to the previous screen. 

Step 3 - Add Navigation for Home Icon
Select the Home icon and write a function, i.e:
  1. Navigate(HomeScreen)  
On a click of the home icon, it will navigate to the home screen.  


Step 4 - Add Navigation for Edit Icon

Select the Edit icon and it will write a function, i.e:
  1. Navigate(FlightEditScreen)
On a click of the edit icon, it will navigate to the flight edit screen


Step 5 - Populate View Screen on Item Selection
  1. Select FormView
  2. Set the function for item property i.e. "DataTable1.Selected". This data table exists in the list view form. View get the selected item based on this property.
  3. Once the item property is set, the selected item value appears in the view screen. 
Step 5 - Add and Populate Edit Screen on Item Selection
  1. Select and click to add a new screen
  2. Rename the new screen "Flight Edit Screen"
  3. Add an Edit from the Form Section
  4. Add a data source from Form Property section (i.e. List Name)
  5. Select a Form and set the item property to "DataTable1.Selected.
  6. As the item property is set, select the item value to start appearing in the Edit screen

Step 6 - Add a Save icon functionality on the Edit Screen
Select the save icon and write a function on On Select:
  1. SubmitForm(Form1);Navigate(FlightListView);  
It will save the data to SharePoint Online List and redirect the user to the list view screen. The user will get an updated record on the list view screen.


Step 7 - Define navigation from List View Screen
Select the Flight List View screen, followed by DataTable1
Select the first column (i.e. Flight Name)
On Select property, write the below function to navigate to the Flight Display Screen
  1. Navigate(FlightDisplayScreen)  

Step 8 - Save , Publish and Test
  1. Save the application, click file -> Save.
  2. Click save button to save the application
  3. Click the Publish button to publish the application and make it available to other intended audiences.
Press F5 or click the published version of the app to run.
The power apps home screen will execute like this and select for the click first image.


I hope that you enjoyed and learned something new in this article. Thanks for reading and stay tuned for the next article.

Build Low-Code and No-Code Solutions i.e. Home Screen, List View & Navigation With PowerApps

PowerApps is an enterprise service that lets you connect, create, and share business apps with your team in minutes, using any device. You can create  PowerApps for an existing list in SharePoint Online.
Let's get started creating a fully functional PowerApps based standalone application. 

Overview

In this article, I am going to talk about the first three points:
  1. Design Home Page Screen
  2. Navigation among screen
  3. Item List View Screen

Step1 - Log in to PowerApps Portal
  1. Login to https://web.powerapps.com
  2. Select Apps
  3. Select New app and followed by Canvas 

Step 2 - Design Home Screen
  1. Select New Screen and Click to Add
  2. Rename the newly added screen; i.e. Home Screen
  3. Select Label and Click to Add
  4. Add three more label sections as added text as given in image.
  5. Change the text with "Welcome to Admin Screen", font-weight and background color, as per your desired look and feel.
  6. Select Media and opt for image for option, then click to add (three times)
  7. Select any image icon and select image from right hand side properties. Set size and positioning as per your desired look and feel.



Step 3 - Add New Screen and Data Table
  1. Add a ListView Screen, Selecta  New screen and then click to add.
  2. Rename the screen with Flight List View.
  3. Select the Data table and click to add.
  4. The DataTable will be available under the Flight List View Screen
  5. The DataTable blank section will appear in the middle of the screen. 

Step 4 - Connect to a data source i.e. Site URL
  1. Enter SharePoint Online Site URL
  2. Select Connect to get connect with the SPO site. 


I have created a list in a SharePoint Online site with dummy data. Below is the screenshot for reference:


Step 5 - Connect to a data source i.e. List Name
Select List name and data will start appearing immediately into the selected database. 


Step 6 - Set Navigation from Home to List View Screen
  1. Select home screen and image
  2. Select image into the canvas area
  3. Select the property "On Select " from the dropdown.
  4. Add formula to navigate to different screen

    Navigate(FlightListView)  
     5. Once the user clicks the image, it will navigate the user to the List View Screen


Step 6 - Save, Publish and Test 
  1. Save the application, click file -> Save.
  2. Click save button to save the application 
  3. Click on the publish button to publish the application and make it available to your intended audience.
Press F5 or click the published version of the app to run.


  • Power Apps home screen will execute like this.

I hope you have enjoyed and learned something new in this article. Thanks for reading and stay tuned for the next article!