Skip to content

Commit f29aa2e

Browse files
authored
Merge pull request #4689 from MicrosoftDocs/v-ljoel-customize-milestomes
Customize Milestones 2327179
2 parents b381783 + 6f16257 commit f29aa2e

File tree

12 files changed

+144
-3
lines changed

12 files changed

+144
-3
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,8 +2206,12 @@
22062206
items:
22072207
- name: Milestones
22082208
href: ../teams/milestones.md
2209-
- name: Understand Milestones sample app architecture
2210-
href: ../teams/milestones-architecture.md
2209+
- name: Customize Milestones app
2210+
items:
2211+
- name: Understand Milestones sample app architecture
2212+
href: ../teams/milestones-architecture.md
2213+
- name: Customize Milestones sample app
2214+
href: ../teams/customize-milestones.md
22112215
- name: Perspectives (Preview)
22122216
items:
22132217
- name: Perspectives
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
---
2+
title: Customize Milestones sample app
3+
description: Learn how to customize the Milestones sample app installed from the Microsoft Teams store.
4+
author: joel-lindstrom
5+
ms.service: powerapps
6+
ms.topic: conceptual
7+
ms.custom:
8+
ms.date: 06/23/2021
9+
ms.author: v-ljoel
10+
ms.reviewer: tapanm
11+
contributors:
12+
- navjotm
13+
- tapanm-msft
14+
- joel-lindstrom
15+
---
16+
# Customize Milestones sample app
17+
18+
The Milestones sample app for Microsoft Teams is designed to be a complete app experience. At the same time, allow makers to easily extend it for their own purposes.
19+
20+
We'll go over how to customize the Milestones app using Power Apps Studio in Microsoft Teams.
21+
22+
Before you can customize the app, you must install it from the Teams store. You can get the app at <https://aka.ms/teamsmilestones>.
23+
24+
Once the app is installed, you can then customize it using the following steps.
25+
26+
## Open Milestones app in Teams
27+
28+
1. Select ellipsis (…), and search for **Power Apps**.
29+
30+
![Search for Power Apps](media/customize-milestones/search-app.png "Search for Power Apps")
31+
32+
2. The Power Apps app icon will now appear on the left pane.
33+
34+
3. Right-click on the **Power Apps** icon, and select **Pin** to pin the app to your Teams menu. Pinning will make it appear every time you open Microsoft Teams.
35+
36+
![Power Apps button](media/customize-milestones/power-apps-icon.png "Power Apps button")
37+
38+
4. We recommend that you right-click on the Power Apps logo, and select **Pop out app** to open the app in a new window. This way, you won't lose your work when working at other places in Teams.
39+
40+
The app now opens in Microsoft Teams.
41+
42+
## Extend the Milestones data model
43+
44+
To modify or add any fields to Milestones app, update or add columns in Microsoft Dataverse tables first.
45+
46+
In this section, we'll explore the data model for Milestones, and understand how to modify it using Power Apps in Teams.
47+
48+
Here's the data model for Milestones app.
49+
50+
![Milestones data model](media/milestones-architecture/data-model.png "Milestones data model")
51+
52+
Before modifying fields, decide where the fields you want to add should go. What are the users doing when they should see or interact with these fields?
53+
54+
- If it's information about the project that appears in the project list on the left or the header, add it to the **Project** table.
55+
- If it's information about work items that a user should add, or view when looking at their work items/tasks, add it to the **Project Work Item** table.
56+
- The other tables, such as **Project Milestones**, **Project Category**, **Project Status**, and **Priority** are primarily lookup tables referenced by work item.
57+
58+
## Open the Milestones app in Power Apps Studio
59+
60+
To edit the Milestones app, open it using Power Apps Studio in Teams.
61+
62+
- Select **Power Apps** on the Microsoft Teams pane.
63+
- In Power Apps Studio, select **Build** tab.
64+
- From the list of all teams having apps, select the team that you installed Milestones app in.
65+
- Select **Installed apps**.
66+
- In the **Milestones** tile, select the Milestones app.
67+
68+
![Select Milestones in the Milestones tile](media/customize-milestones/milestones-tile.png "Select Milestones in the Milestones tile")
69+
70+
The Milestones app will open in Power Apps Studio. This process may take one to two minutes.
71+
72+
## Customize Milestones app in the Power Apps Studio
73+
74+
Now that the Milestones App is open in the Studio, let’s explore the app.
75+
76+
1. On left side, select the Tree View.
77+
78+
![Select Tree view](media/customize-milestones/tree-view.png "Select Tree view")
79+
80+
1. From the Tree View, you can see the screens included in the app. Selecting the arrow to the left of a screen will expand the contents of the screen, giving you access to the components of the screen, including galleries, buttons, text labels, and text input controls.
81+
82+
1. In Tree View, select **Projects Screen**.
83+
84+
1. You'll now see the main Milestones app screen, and have access to modifying any of the screen controls.
85+
86+
1. Make your changes to the app.
87+
88+
1. When finished, select **Save**.
89+
90+
1. To preview your changes, select the ![Preview button](media/customize-milestones/preview.png "Preview button") button.
91+
92+
The app will launch in preview mode, where you can test the user experience when running the app. To exit preview mode, press **Escape** on your keyboard, or select the **X** in the upper right corner.
93+
94+
1. To publish your app changes, select the **Publish to Teams** button.
95+
96+
Publishing the app makes your changes visible to users of the app. A dialog will open confirming that you want to publish.
97+
98+
![Publish confirmation](media/customize-milestones/publish-confirm.png "Publish confirmation")
99+
100+
1. To change app settings, such as icon and background color, select **Edit details**. Or, to publish the app, select **Next**.
101+
102+
1. Confirm the channel you want the app to appear. You can add to other channels in the Team by selecting the **+** button.
103+
104+
1. To complete publishing your changes, select **Save and close**.
105+
106+
## Ideas for extension
107+
108+
The possibilities for extending the Milestones app are only limited to your imagination. Here are some of the common ways makers extend the Milestones app:
109+
110+
- Add company logo.
111+
- Change Milestones colors to match your company colors.
112+
- Use Power Automate to create tasks in Microsoft Planner/Tasks for work items.
113+
- Use Power Automate to notify project team members when they're assigned to a Project.
114+
- Add new columns to work items.
115+
- Use Power Automate to send a weekly summary email of work item and project status.
116+
117+
## Customization considerations
118+
119+
Before modifying the Milestones app, consider the following items:
120+
121+
- Milestones, project category, status, and priority are set in the settings area of the Milestones app. Changing these values in the table may cause issues with the app. For example, the New status is expected by the Project screen Milestone Status indicator.
122+
- When customizing the app, always right-click on the Power Apps icon, and select **Pop out app** to open Power Apps in a new window. That way, you won't lose your place when you work somewhere else in Teams.
123+
- The app theming has been developed to support dark and high contrast mode in Teams. Changing the fill color of screens may break dark and high contrast modes.
124+
- Changes made to an app will be added as a new version of the app. If you get a new version from store, your customizations won't be overridden. The new version will be installed, but the new version won't be published.
125+
- The updated version of the app is available from the version history of the app. Selecting **Details** from the app list will display the versions of the app and allow you to publish the new version.
126+
- Columns and tables added by you'll go to **built by this team** section of the Power Apps app. You can also add new tables in the **See all** area.
127+
128+
### See also
129+
130+
- [Use Milestones apps from teams store](milestones.md)
131+
- [Understand Milestones sample app architecture](milestones-architecture.md)
132+
- [Customize sample apps](customize-sample-apps.md)
133+
- [Sample apps FAQs](sample-apps-faqs.md)
134+
- [Use sample apps from the Microsoft Teams store](use-sample-apps-from-teams-store.md)
135+
136+
[!INCLUDE[footer-include](../includes/footer-banner.md)]
54.6 KB
Loading
15.9 KB
Loading
28 KB
Loading
3 KB
Loading
592 Bytes
Loading
24.8 KB
Loading
4.21 KB
Loading
18.4 KB
Loading

0 commit comments

Comments
 (0)