|
| 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 | +  |
| 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 | +  |
| 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 | + |
| 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 | +  |
| 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 | +  |
| 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  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 | +  |
| 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)] |
0 commit comments