Skip to content

Gallery-draganddrop updated naming #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Galerie Drag & Drop
# Gallery Drag & Drop

Here is a snippet that enables drag and drop functionality on a PowerApps gallery. This method only works if all gallery items are fully visible (no scrollbar). Feel free to explore the code and adapt it to your own examples.


![galerie-draganddrop](./assets/galerie_draganddrop.gif)
![gallery-draganddrop](./assets/gallery-draganddrop.gif)


## Authors
Expand All @@ -21,11 +21,11 @@ Steve Bourdin | [GitHub](https://github.com/SteveBourdin) ([LinkedIn](https://ww


## Code
**[YAML-file](./source/galerie-draganddrop.yaml)**
**[YAML-file](./source/gallery-draganddrop.yaml)**


## Disclaimer

**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.**

<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/galerie-draganddrop" aria-hidden="true" />
<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/gallery-draganddrop" aria-hidden="true" />
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json",
"name": "pnp-powerplatform-snippets-galerie-draganddrop",
"name": "pnp-powerplatform-snippets-gallery-draganddrop",
"version": "1.0.0.0",
"source": "pnp",
"creationDateTime": "2025-04-29T00:00:00.000Z",
"updateDateTime": "2025-04-29T00:00:00.000Z",
"title": "Galerie Drag & Drop",
"creationDateTime": "2025-07-17T00:00:00.000Z",
"updateDateTime": "2025-07-17T00:00:00.000Z",
"title": "Gallery Drag & Drop",
"shortDescription": "Here is a snippet that enables drag and drop functionality on a PowerApps gallery. This method only works if all gallery items are fully visible (no scrollbar). Feel free to explore the code and adapt it to your own examples.",
"longDescription": [
"Here is a snippet that enables drag and drop functionality on a PowerApps gallery. This method only works if all gallery items are fully visible (no scrollbar). Feel free to explore the code and adapt it to your own examples."
],
"url": "https://github.com/pnp/powerplatform-snippets/tree/main/power-apps/galerie-draganddrop/",
"url": "https://github.com/pnp/powerplatform-snippets/tree/main/power-apps/gallery-draganddrop/",
"products": [
"Power Platform",
"Power Apps",
Expand All @@ -36,7 +36,7 @@
{
"type": "image",
"order": 100,
"url": "https://raw.githubusercontent.com/pnp/powerplatform-snippets/9f2e1293160a391075bcfb8e8be0c368961a7159/power-apps/galerie-draganddrop/assets/galerie-draganddrop.png",
"url": "https://raw.githubusercontent.com/pnp/powerplatform-snippets/main/power-apps/gallery-draganddrop/assets/gallery-draganddrop.png",
"alt": "Preview PNG"
}
],
Expand All @@ -48,4 +48,4 @@
}
]
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@
=/*In this action, we will update the positions of the items that need to be changed.*/

/*The final target position is saved.*/

UpdateContext(
{
var_SelectPosition: RoundUp(
Expand Down
Loading