Stage 8 of 17

Stage 8 of 17

Build

This is the longest stage. You will build the Microsoft Lists structure first, then the Power Apps canvas app with all six screens. Every step is numbered. Every formula is explained. Do not skip steps — each one builds on the previous.

Why Are We Doing This?

Building the list before the app is essential. Power Apps connects to the list as its data source. If the list does not exist, or if it is missing columns, the app will not work. Always build the data layer first.

Part 1 — Build the Ideas List

1

Navigate to the Ideas Portal SharePoint site

Open the SharePoint site you created in Stage 7 (https://[tenant].sharepoint.com/sites/IdeasPortal).

2

Create a new Microsoft Lists list

From the SharePoint site home page, select "+ New" → "List". Select "Blank list". Name: "Ideas". Description: "Employee Ideas Portal — all submitted ideas." Select "Create".

3

Rename the default Title column

The list is created with a default "Title" column. Select the column header → "Column settings" → "Rename". New name: "Title (Idea ID)". This column will store the IDEA-XXXX reference generated by the app.

Add the remaining 17 columns in order:

Column NameTypeConfiguration
TitleSingle line of textRename the default "Title" column to "Title (Idea ID)". This column will store the IDEA-XXXX reference. Required: Yes.
IdeaTitleSingle line of textMax characters: 100. Required: Yes. Description: "A short title for your idea."
DescriptionMultiple lines of textType: Plain text. Required: Yes. Description: "Describe your idea in detail."
CategoryChoiceChoices: Process Improvement, Technology, People & Culture, Client Experience, Cost Reduction, Other. Required: Yes. Display as: Drop-Down Menu.
BusinessAreaChoiceChoices: London, Manchester, Edinburgh, Cross-office. Required: Yes. Display as: Drop-Down Menu.
ExpectedBenefitMultiple lines of textType: Plain text. Required: Yes. Description: "What would improve if this idea were implemented?"
SubmittedByPerson or GroupAllow multiple selections: No. Required: Yes. This will be populated automatically by the app.
SubmittedDateDate and TimeInclude time: Yes. Required: Yes. This will be populated automatically by the app.
StatusChoiceChoices: Submitted, Triage, Under Review, More Information, Accepted, Rejected, Implementation, Complete. Default value: Submitted. Required: Yes. Display as: Drop-Down Menu.
ReviewerPerson or GroupAllow multiple selections: No. Required: No.
ReviewDateDate and TimeInclude time: Yes. Required: No.
DecisionChoiceChoices: Accepted, Rejected, More Information. Required: No. Display as: Drop-Down Menu.
DecisionCommentsMultiple lines of textType: Plain text. Required: No (enforced by app).
ImplementationOwnerPerson or GroupAllow multiple selections: No. Required: No.
TargetDateDate and TimeInclude time: No (date only). Required: No.
CompletionDateDate and TimeInclude time: No (date only). Required: No.
IsSensitiveYes/NoDefault value: No. Required: No.
InternalNotesMultiple lines of textType: Plain text. Required: No.

Beginner Tip

To add a column: select "+ Add column" at the right of the column headers. Select the column type. Fill in the name and configuration. Select "Save". Repeat for each column. If you make a mistake, you can edit a column by selecting its header → "Column settings" → "Edit".

Part 2 — Create List Views

Create these five views. To create a view: select "All Items" (the default view name) → "Create new view".

All Ideas

Audience: Administrators
Sort: SubmittedDate descending
Columns: Title, IdeaTitle, Category, BusinessArea, Status, SubmittedBy, SubmittedDate
Filter: None

Reviewer Queue

Audience: Reviewers
Sort: SubmittedDate ascending (oldest first)
Columns: Title, IdeaTitle, Category, Status, SubmittedBy, SubmittedDate, Reviewer
Filter: Status not in (Complete, Rejected)

My Ideas

Audience: Employees
Sort: SubmittedDate descending
Columns: Title, IdeaTitle, Category, Status, SubmittedDate, Decision
Filter: SubmittedBy = [Me]

Completed Ideas

Audience: All employees
Sort: CompletionDate descending
Columns: Title, IdeaTitle, Category, BusinessArea, CompletionDate
Filter: Status = Complete AND IsSensitive = No

By Category

Audience: Reviewers, Administrators
Sort: Category ascending, SubmittedDate descending
Columns: Title, IdeaTitle, Status, SubmittedBy, SubmittedDate
Filter: None
Group by: Category

Part 3 — Build the Power Apps Canvas App

1

Create a new canvas app

Navigate to make.powerapps.com. Select "+ Create" → "Blank app" → "Blank canvas app".

App name: "Employee Ideas Portal". Format: Tablet (1366 × 768). Select "Create".

2

Connect to the Ideas list

In the app editor, select "Data" (the cylinder icon in the left panel) → "Add data".

Search for "SharePoint". Select the SharePoint connector. Enter the URL of your Ideas Portal site. Select the "Ideas" list. Select "Connect".

The Ideas list now appears in your data sources. You can reference it in formulas as "Ideas".

3

Create a global variable for the current user's reviewer status

Select "App" in the tree view. Set the OnStart property to:

Set(IsReviewer, !IsEmpty(Filter(Ideas, Reviewer.Email = User().Email)))

This sets a global variable IsReviewer to true if the current user is assigned as a reviewer on any idea. We will use this to show/hide the Reviewer Queue button.

Note: For a production app, you would check group membership rather than idea assignment. For this lab, checking reviewer assignment is sufficient.

Home Screen (HomeScreen)

4

Rename Screen1 to HomeScreen

In the tree view, right-click "Screen1" → "Rename" → "HomeScreen".

5

Add the app title label

Insert → Text → Label. Set properties:

  • Text: "Employee Ideas Portal"
  • Font size: 24. Bold: true.
  • Position: X=40, Y=40. Width=600.
6

Add the welcome label

Insert → Text → Label. Set Text: "Welcome, " & User().FullName

User().FullName returns the display name of the logged-in Microsoft 365 user. This personalises the greeting without any additional configuration.

7

Add the statistics labels

Add three Label controls for the summary statistics. Set their Text properties:

  • Total submitted: CountRows(Ideas) & " ideas submitted"
  • Under review: CountRows(Filter(Ideas, Status = "Under Review")) & " under review"
  • Implemented: CountRows(Filter(Ideas, Status = "Complete")) & " implemented"

CountRows() counts the number of records in a table. Filter() returns only the records that match the condition.

8

Add navigation buttons

Insert → Button. Add three buttons:

  • Submit an Idea — OnSelect: Navigate(SubmitIdeaScreen, ScreenTransition.Fade)
  • My Ideas — OnSelect: Navigate(MyIdeasScreen, ScreenTransition.Fade)
  • Completed Ideas — OnSelect: Navigate(CompletedIdeasScreen, ScreenTransition.Fade)
9

Add the Reviewer Queue button (conditional)

Add a fourth button: "Reviewer Queue". Set:

  • OnSelect: Navigate(ReviewerQueueScreen, ScreenTransition.Fade)
  • Visible: IsReviewer

The Visible property hides the button for employees who are not reviewers. This is UI-level hiding — it does not prevent access to the screen if someone navigates directly. Server-side permissions are configured in Stage 10.

Submit Idea Screen (SubmitIdeaScreen)

10

Add a new screen and rename it

In the tree view, select "+ New screen" → "Blank". Rename to "SubmitIdeaScreen".

11

Add the form fields

Add the following input controls. For each, set the HintText and any validation:

TextInput — IdeaTitleInput

HintText: "A short title for your idea (10–100 characters)"

Single line.

TextInput — DescriptionInput

HintText: "Describe your idea in detail (50–2000 characters)"

Mode: Multiline.

Dropdown — CategoryDropdown

Items: ["Process Improvement","Technology","People & Culture","Client Experience","Cost Reduction","Other"]

Dropdown — BusinessAreaDropdown

Items: ["London","Manchester","Edinburgh","Cross-office"]

TextInput — BenefitInput

HintText: "What would improve? (20–500 characters)"

Mode: Multiline.

12

Add the duplicate search gallery

Insert → Gallery → Vertical. Set:

Items: If(Len(IdeaTitleInput.Text) > 3, Search(Ideas, IdeaTitleInput.Text, "IdeaTitle"), [])

This shows existing ideas that match the title the employee is typing. It only searches when the title is more than 3 characters (to avoid showing all ideas immediately). The employee can see if a similar idea already exists before submitting.

In the gallery template, add labels for: Title (Idea ID), IdeaTitle, Status.

13

Add the Submit button with validation

Insert → Button. Text: "Submit Idea". Set the OnSelect property:

If(

Len(IdeaTitleInput.Text) < 10,

Notify("Title must be at least 10 characters.", NotificationType.Error),

Len(DescriptionInput.Text) < 50,

Notify("Description must be at least 50 characters.", NotificationType.Error),

Len(BenefitInput.Text) < 20,

Notify("Expected benefit must be at least 20 characters.", NotificationType.Error),

// All validation passed — submit the idea

Set(IsSubmitting, true);

Patch(Ideas, Defaults(Ideas), {

Title: "IDEA-" & Text(CountRows(Ideas) + 1, "0000"),

IdeaTitle: IdeaTitleInput.Text,

Description: DescriptionInput.Text,

Category: CategoryDropdown.Selected.Value,

BusinessArea: BusinessAreaDropdown.Selected.Value,

ExpectedBenefit: BenefitInput.Text,

SubmittedBy: {Claims: "i:0#.f|membership|" & User().Email, DisplayName: User().FullName, Email: User().Email},

SubmittedDate: Now(),

Status: "Submitted"

});

Set(IsSubmitting, false);

Notify("Your idea has been submitted. Reference: IDEA-" & Text(CountRows(Ideas), "0000"), NotificationType.Success);

Navigate(MyIdeasScreen)

)

Set the button DisplayMode to: If(IsSubmitting, DisplayMode.Disabled, DisplayMode.Edit). This prevents double-submission.

14

Add a Cancel button

Insert → Button. Text: "Cancel". OnSelect:

If(Len(IdeaTitleInput.Text) > 0 || Len(DescriptionInput.Text) > 0, If(Confirm("Are you sure you want to cancel? Your idea will not be saved."), Navigate(HomeScreen)), Navigate(HomeScreen))

My Ideas Screen (MyIdeasScreen)

15

Add a new screen and rename it to MyIdeasScreen

Add a blank screen. Rename to "MyIdeasScreen".

16

Add the My Ideas gallery

Insert → Gallery → Vertical. Set:

Items: SortByColumns(Filter(Ideas, SubmittedBy.Email = User().Email), "SubmittedDate", Descending)

Filter() returns only the ideas submitted by the logged-in user. SortByColumns() sorts them by submission date, newest first. This is the core of the "My Ideas" experience — employees only see their own ideas.

17

Configure the gallery template

In the gallery template, add:

  • Label: Text = ThisItem.Title (the IDEA-XXXX reference)
  • Label: Text = ThisItem.IdeaTitle
  • Label (status badge): Text = ThisItem.Status. Set Fill colour using a Switch formula (see status colour map from Stage 6).
  • Label: Text = Text(ThisItem.SubmittedDate, "dd/mm/yyyy")
18

Add the gallery OnSelect to navigate to Idea Details

Set the gallery OnSelect property:

Set(SelectedIdea, ThisItem); Navigate(IdeaDetailsScreen, ScreenTransition.Fade)

Set() stores the selected idea in a global variable. Navigate() opens the Idea Details screen. The Idea Details screen reads from SelectedIdea to display the correct record.

19

Add an empty state label

Add a Label. Text: "You have not submitted any ideas yet." Set Visible:

CountRows(MyIdeasGallery.AllItems) = 0
20

Add a Refresh call on screen visible

Select the MyIdeasScreen. Set the OnVisible property:

Refresh(Ideas)

Refresh() forces Power Apps to reload the data from SharePoint. Without this, the gallery may show cached data that does not reflect recent changes (such as a status update made by a reviewer).

Idea Details Screen (IdeaDetailsScreen)

21

Add a new screen and rename it to IdeaDetailsScreen

Add a blank screen. Rename to "IdeaDetailsScreen".

22

Add read-only display labels for all idea fields

Add Label controls for each field. Set their Text properties to read from SelectedIdea:

Idea ID:SelectedIdea.Title
Title:SelectedIdea.IdeaTitle
Status:SelectedIdea.Status (colour-coded)
Category:SelectedIdea.Category
Business Area:SelectedIdea.BusinessArea
Description:SelectedIdea.Description
Expected Benefit:SelectedIdea.ExpectedBenefit
Submitted by:SelectedIdea.SubmittedBy.DisplayName
Submitted date:Text(SelectedIdea.SubmittedDate, "dd/mm/yyyy hh:mm")
23

Add conditional decision section

Add a container with Decision and DecisionComments labels. Set the container Visible property:

!IsBlank(SelectedIdea.Decision)

This section only appears when a decision has been recorded. Employees see the decision and the reviewer's comments.

24

Add the Internal Notes section (reviewer only)

Add a Label for InternalNotes. Set Visible:

IsReviewer
25

Add a Back button

Insert → Button. Text: "← Back". OnSelect: Back()

Back() navigates to the previous screen in the navigation history. This works correctly whether the user arrived from My Ideas or from the Reviewer Queue.

Reviewer Queue Screen (ReviewerQueueScreen)

26

Add a new screen and rename it to ReviewerQueueScreen

Add a blank screen. Rename to "ReviewerQueueScreen".

27

Add filter dropdowns and search input

Add two Dropdown controls and one TextInput:

  • StatusFilterDropdown — Items: ["All","Submitted","Triage","Under Review","More Information"]
  • CategoryFilterDropdown — Items: ["All","Process Improvement","Technology","People & Culture","Client Experience","Cost Reduction","Other"]
  • SearchInput — HintText: "Search by title or submitter"
28

Add the Reviewer Queue gallery with combined filter

Insert → Gallery → Vertical. Set Items:

SortByColumns(

Filter(Ideas,

(StatusFilterDropdown.Selected.Value = "All" || Status = StatusFilterDropdown.Selected.Value),

(CategoryFilterDropdown.Selected.Value = "All" || Category = CategoryFilterDropdown.Selected.Value),

(Len(SearchInput.Text) = 0 || IdeaTitle in SearchInput.Text || SubmittedBy.DisplayName in SearchInput.Text)

),

"SubmittedDate", Ascending

)

This formula applies all three filters simultaneously. The "All" option in the dropdowns disables that filter. The search checks both the title and the submitter's name. Sorted ascending so the oldest ideas appear first.

29

Add a days-waiting label with overdue highlighting

In the gallery template, add a Label for days waiting:

Text: DateDiff(ThisItem.SubmittedDate, Now(), TimeUnit.Days) & " days"

Set the label Color property:

If(DateDiff(ThisItem.SubmittedDate, Now(), TimeUnit.Days) > 5, Color.Red, Color.Gray)

DateDiff() calculates the number of days between two dates. Ideas waiting more than 5 days are highlighted in red to draw the reviewer's attention.

30

Set the gallery OnSelect to navigate to Review Idea

Set(SelectedIdea, ThisItem); Navigate(ReviewIdeaScreen, ScreenTransition.Fade)

Review Idea Screen (ReviewIdeaScreen)

31

Add a new screen and rename it to ReviewIdeaScreen

Add a blank screen. Rename to "ReviewIdeaScreen".

32

Add read-only display of the idea being reviewed

Add Labels for: Title (Idea ID), IdeaTitle, Category, BusinessArea, Description, ExpectedBenefit, SubmittedBy, SubmittedDate. All read from SelectedIdea (same as Idea Details Screen).

33

Add the Status update dropdown with valid transitions

Insert → Dropdown. Name: "NewStatusDropdown". Set Items based on current status:

Switch(SelectedIdea.Status,

"Submitted", ["Triage"],

"Triage", ["Under Review", "Rejected"],

"Under Review", ["Accepted", "Rejected", "More Information"],

"More Information", ["Under Review", "Rejected"],

"Accepted", ["Implementation"],

"Implementation", ["Complete"],

[]

)

Switch() returns a different list of options depending on the current status. This enforces the valid transitions from Stage 4 — the reviewer can only move to a valid next status.

34

Add the Decision dropdown (conditional)

Insert → Dropdown. Name: "DecisionDropdown". Items: ["Accepted","Rejected","More Information"].

Set Visible:

NewStatusDropdown.Selected.Value in ["Accepted", "Rejected", "More Information"]
35

Add the Decision Comments input (conditional)

Insert → TextInput (multiline). Name: "DecisionCommentsInput". HintText: "Explain your decision (required, min 20 characters)."

Set Visible: same as DecisionDropdown.

36

Add the Implementation Owner picker (conditional)

Insert → People Picker (or TextInput for email). Name: "ImplementationOwnerInput".

Set Visible:

NewStatusDropdown.Selected.Value in ["Accepted", "Implementation"]
37

Add the Internal Notes input

Insert → TextInput (multiline). Name: "InternalNotesInput". HintText: "Internal notes (not sent to submitter)."

38

Add the Save button with validation and Patch

Insert → Button. Text: "Save". Set OnSelect:

If(

NewStatusDropdown.Selected.Value in ["Accepted","Rejected","More Information"] && Len(DecisionCommentsInput.Text) < 20,

Notify("Decision comments must be at least 20 characters.", NotificationType.Error),

// Validation passed — save the update

Patch(Ideas, SelectedIdea, {

Status: NewStatusDropdown.Selected.Value,

Decision: If(!IsBlank(DecisionDropdown.Selected.Value), DecisionDropdown.Selected.Value, SelectedIdea.Decision),

DecisionComments: If(Len(DecisionCommentsInput.Text) > 0, DecisionCommentsInput.Text, SelectedIdea.DecisionComments),

ReviewDate: If(NewStatusDropdown.Selected.Value = "Under Review" && IsBlank(SelectedIdea.ReviewDate), Now(), SelectedIdea.ReviewDate),

InternalNotes: If(Len(InternalNotesInput.Text) > 0, InternalNotesInput.Text, SelectedIdea.InternalNotes),

CompletionDate: If(NewStatusDropdown.Selected.Value = "Complete", Today(), SelectedIdea.CompletionDate)

});

Notify("Idea updated successfully.", NotificationType.Success);

Navigate(ReviewerQueueScreen)

)

Patch() updates the selected idea record in SharePoint. The formula only updates fields that have changed — existing values are preserved using the SelectedIdea.FieldName fallback.

Common Mistake

The Idea ID formula (IDEA-0001, IDEA-0002, etc.) uses CountRows(Ideas) + 1. This works for a lab environment but is not safe for production — if two employees submit ideas simultaneously, they could get the same ID. For a production app, use a separate counter list or a different ID generation strategy.

Stage Complete — What You Now Have

  • ✓Ideas list with all 18 columns configured
  • ✓5 list views created
  • ✓Power Apps canvas app with 6 screens fully built
  • ✓Submit Idea with validation, duplicate search, and Patch()
  • ✓My Ideas with Filter(), SortByColumns(), and Refresh()
  • ✓Reviewer Queue with combined filter (status, category, search) and days-waiting indicator
  • ✓Review Idea with Switch()-enforced status transitions and conditional fields

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project