|
1 | | ---- |
2 | | -page_type: sample |
3 | | -languages: |
4 | | -- powerapps-comma |
5 | | -products: |
6 | | -- powerapps |
7 | | -- canvas |
8 | | -name: Calendar Component |
9 | | -description: A re-usable component that allows you to display events in a calendar. |
10 | | -urlFragment: powerapps-calendar-component |
11 | | -ms.date: 5/5/2021 |
12 | | -author: aprildunnam |
13 | | -ms.author: pnp |
14 | | -level: intermediate |
15 | | -ms.prod: power-apps |
16 | | ---- |
17 | | - |
18 | 1 | # Calendar Component |
19 | 2 |
|
20 | 3 | ## Summary |
21 | 4 |
|
22 | | -A re-usable component that allows you to display events in a calendar. |
| 5 | +A re-usable component that allows you to display events in a calendar. |
23 | 6 |
|
24 | 7 |  |
25 | 8 |
|
26 | 9 | ## Applies to |
27 | 10 |
|
28 | | -* [Microsoft Power Apps](https://docs.microsoft.com/powerapps/) |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
29 | 21 |
|
30 | 22 | ## Compatibility |
31 | 23 |
|
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
| 24 | + |
| 25 | + |
37 | 26 |
|
38 | | -## Authors |
39 | 27 |
|
40 | | -Solution|Author(s) |
41 | | ---------|--------- |
42 | | -Calendar Component | [April Dunnam](https://github.com/aprildunnam) ([@aprildunnam](https://www.twitter.com/aprildunnam) ) |
| 28 | +## Contributors |
| 29 | + |
| 30 | +* [April Dunnam](https://github.com/aprildunnam) ([@aprildunnam](https://www.twitter.com/aprildunnam) ) |
43 | 31 |
|
44 | 32 | ## Version history |
45 | 33 |
|
46 | 34 | Version|Date|Comments |
47 | 35 | -------|----|-------- |
48 | 36 | 1.0|May 5, 2021|Initial release |
| 37 | +2.0|July 15, 2025|Migration from powerapps-samples repository with solution repacking by [Jan Chlebek](https://github.com/jan-chlebek) |
| 38 | + |
| 39 | +## Minimal path to awesome |
| 40 | + |
| 41 | +### Using the solution zip |
| 42 | + |
| 43 | +* [Download](./solution/calendar-component.zip) the `.zip` from the `solution` folder |
| 44 | +* Within **Power Apps Studio**, import the solution `.zip` file using **Solutions** > **Import Solution** and select the `.zip` file you just packed. |
| 45 | +* Open the app in edit mode and make sure the data source **Data source name** is connected correctly. |
| 46 | + |
| 47 | +### Using the source code |
49 | 48 |
|
50 | | -## Features |
| 49 | +You can also use the [Power Apps CLI](https://docs.microsoft.com/powerapps/developer/data-platform/powerapps-cli) to pack the source code by following these steps: |
51 | 50 |
|
52 | | -This sample illustrates the following concepts: |
| 51 | +* Clone the repository to a local drive |
| 52 | +* Pack the source files back into a solution `.zip` file: |
| 53 | + |
| 54 | + ```bash |
| 55 | + pac solution pack --zipfile pathtodestinationfile --folder pathtosourcefolder --processCanvasApps |
| 56 | + ``` |
| 57 | + |
| 58 | + Making sure to replace `pathtosourcefolder` to point to the path to this sample's `sourcecode` folder, and `pathtodestinationfile` to point to the path of this solution's `.zip` file (located under the `solution` folder) |
| 59 | +* Within **Power Apps Studio**, import the solution `.zip` file using **Solutions** > **Import Solution** and select the `.zip` file you just packed. |
53 | 60 |
|
54 | | -* Creating a Power Apps component |
55 | | -* Using a Power Apps component |
56 | 61 |
|
57 | 62 | ## Prerequisites |
58 | 63 |
|
@@ -83,45 +88,22 @@ Table( |
83 | 88 | ``` |
84 | 89 |
|
85 | 90 | ## Data Sources |
86 | | - |
| 91 | + |
87 | 92 | None |
88 | 93 |
|
89 | | -## Minimal Path to Awesome |
90 | 94 |
|
91 | | -* [Download](./solution/calendar-component.msapp) the `.msapp` from the `solution` folder |
92 | | -* Use the `.msapp` file using **File** > **Open** > **Browse** within Power Apps Studio. |
93 | | -* Save and Publish |
| 95 | +## Help |
94 | 96 |
|
95 | | -## Using the Source Code |
| 97 | +We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues. |
96 | 98 |
|
97 | | -You can also use the [Power Apps CLI](https://docs.microsoft.com/powerapps/developer/data-platform/powerapps-cli) to pack the source code by following these steps:: |
98 | | - |
99 | | -* Clone the repository to a local drive |
100 | | -* Pack the source files back into `.msapp` file: |
101 | | - |
102 | | - ```bash |
103 | | - pac canvas pack --sources pathtosourcefolder --msapp pathtomsapp |
104 | | - ``` |
105 | | - |
106 | | - Making sure to replace `pathtosourcefolder` to point to the path to this sample's `sourcecode` folder, and `pathtomsapp` to point to the path of this solution's `.msapp` file (located under the `solution` folder) |
107 | | -* Use the `.msapp` file using **File** > **Open** > **Browse** in Power Apps Studio. |
108 | | - |
109 | | -## Disclaimer |
110 | | - |
111 | | -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** |
112 | | - |
113 | | -## Support |
114 | | - |
115 | | -While we don't support samples, if you encounter any issues while using this sample, you can [create a new issue](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=calendar-component&authors=@aprildunnam&title=calendar-component%20-%20). |
| 99 | +If you encounter any issues while using this sample, you can [create a new issue](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=calendar-component&authors=@aprildunnam&title=calendar-component%20-%20). |
116 | 100 |
|
117 | 101 | For questions regarding this sample, [create a new question](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=calendar-component&authors=@aprildunnam&title=calendar-component%20-%20). |
118 | 102 |
|
119 | 103 | Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=calendar-component&authors=@aprildunnam&title=calendar-component%20-%20). |
120 | 104 |
|
121 | | -## For more information |
| 105 | +## Disclaimer |
122 | 106 |
|
123 | | -* [Create a component for canvas apps](https://docs.microsoft.com/powerapps/maker/canvas-apps/create-component#components-in-canvas-apps) |
124 | | -* [Overview of creating apps in Power Apps](https://docs.microsoft.com/powerapps/maker/) |
125 | | -* [Power Apps canvas apps documentation](https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/) |
| 107 | +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** |
126 | 108 |
|
127 | | -<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-samples/samples/calendar-component" /> |
| 109 | +<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-samples/samples/calendar-component" aria-hidden="true" /> |
0 commit comments