Skip to content

Commit 118cc08

Browse files
authored
Fix tile-gallery
1 parent f54d696 commit 118cc08

File tree

6 files changed

+56
-13
lines changed

6 files changed

+56
-13
lines changed

power-apps/tile-gallery/README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Power Apps (YAML) Snippet
1+
# Tile Gallery
22

3-
This snippet shows a tile like gallery screen. You can use that screen as a homescreen for example and navigate from there to different screens. The screen is fully responsive
3+
This snippet shows a tile like gallery screen. You can use that screen as a homescreen for example and navigate from there to different screens. The screen is fully responsive.
44

55
## Authors
66

@@ -12,15 +12,17 @@ Markus Franz | [Github](https://github.com/Mmbr1606) ([LinkedIN](https://www.lin
1212
## Minimal path to awesome
1313

1414
1. Open your canvas app in **Power Apps**
15-
1. Copy the contents of the **[YAML-file](./source/X.yaml)**
15+
1. Copy the contents of the **[YAML-file](./source/tilegallery.yaml)**
1616
1. Right click on the screen where you want to add the snippet and select "Paste"
1717

18+
![](./assets/paste.png)
1819

1920
After you copied the Yaml to your screen make sure to turn the scale to fit setting off, so you can enjoy the full responsiveness.
2021

2122
In the Items Property set the right values for the table.
2223
Following is a sample code of what i used in a different app:
2324

25+
```
2426
[
2527
{
2628
Title: "Word",
@@ -32,15 +34,17 @@ Following is a sample code of what i used in a different app:
3234
Image: 'ms-excel-svgrepo-com',
3335
Screen: GalleryScreen
3436
35-
}]
37+
}
38+
]
39+
```
3640

3741
If you want more or less items in the gallery simply add or remove records from the table.
3842

39-
For the button OnSelect property (that is inserted over the image of the gallery) set it to: Navigate(ThisItem.Screen).
43+
For the button `OnSelect` property (that is inserted over the image of the gallery) set it to: `Navigate(ThisItem.Screen)`.
4044

41-
To show the respective images upload them to your app. Once you uploaded the images make sure to pick the right ones in your table (Items property of the gallery like shown above example: 'ms-excel-svgrepo-com'). Once you did that you can simply use ThisItem.Image in the Image property of your gallery control.
45+
To show the respective images upload them to your app. Once you uploaded the images make sure to pick the right ones in your table (`Items` property of the gallery like shown above example: `'ms-excel-svgrepo-com'`). Once you did that you can simply use `ThisItem.Image` in the `Image` property of your gallery control.
4246

43-
Also change the Text in the Text property of the labels in the header. I used the name of the app in the left one and the Name of the logged in user with User().FullName in the right one.
47+
Also change the Text in the Text property of the labels in the header. I used the name of the app in the left one and the Name of the logged in user with `User().FullName` in the right one.
4448

4549
## Disclaimer
4650

power-apps/tile-gallery/assets/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
-22.7 KB
Binary file not shown.
-11.5 KB
Binary file not shown.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[
2+
{
3+
"$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json",
4+
"name": "pnp-powerplatform-snippets-tile-gallery",
5+
"version": "1.0.0.0",
6+
"source": "pnp",
7+
"creationDateTime": "2025-08-05T00:00:00.000Z",
8+
"updateDateTime": "2025-08-05T00:00:00.000Z",
9+
"title": "Tile Gallery",
10+
"shortDescription": "This snippet shows a tile like gallery screen. You can use that screen as a homescreen for example and navigate from there to different screens.",
11+
"longDescription": [
12+
"This snippet shows a tile like gallery screen. You can use that screen as a homescreen for example and navigate from there to different screens. The screen is fully responsive."
13+
],
14+
"url": "https://github.com/pnp/powerplatform-snippets/tree/main/power-apps/tile-gallery/",
15+
"products": [
16+
"Power Platform",
17+
"Power Apps",
18+
"powerplatform-snippets",
19+
"power-apps-snippets"
20+
],
21+
"tags": [ ],
22+
"categories": [ ],
23+
"metadata": [
24+
{
25+
"key": "Product",
26+
"value": "Power Apps"
27+
}
28+
],
29+
"thumbnails": [
30+
{
31+
"type": "image",
32+
"order": 100,
33+
"url": "https://raw.githubusercontent.com/pnp/powerplatform-snippets/main/power-apps/tile-gallery/assets/tilegallery.png",
34+
"alt": "Preview PNG"
35+
}
36+
],
37+
"authors": [
38+
{
39+
"gitHubAccount": "Mmbr1606",
40+
"name": "Markus Franz",
41+
"pictureUrl": "https://github.com/Mmbr1606.png"
42+
}
43+
]
44+
}
45+
]

power-apps/tile-gallery/source/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)