I have a Power Apps form that uses a SharePoint list as a datasource. One the fields is a multiselection choice.
Now, I wasn't sure the users would like the default behaviour of choice field in new Power App form ( they are used to old SharePoint 2010 forms with checkbox selections), so I decided to use a gallery.
Here I have hidden the choice data card and tried to place the gallery on top of it - I don't think I place the gallery control within the datacard so it is effectively just a screen control outside the form. Now here lies the issue: how to make the gallery move up or down as I scroll the form whilst making it's position relative to Date and Employee number fields. So far I have tried using the X and Y values of the DataCards to the top and bottom of it, but thisn't quite there yet.
Solved! Go to Solution.
@westerdaled I would suggest to put the Gallery inside the Datacard (like you see in me example below). Positioning a gallery that's outside, relative to the Datacard can be very trick and could be unpredictable depending on the structure of your Form.
Hope this helps!
@westerdaled I would suggest to put the Gallery inside the Datacard (like you see in me example below). Positioning a gallery that's outside, relative to the Datacard can be very trick and could be unpredictable depending on the structure of your Form.
Hope this helps!
@CNT . Ah thanks. I thought I had tried that. Just cutted and paste the gallery into the DataCard . All good now. I has created a circuliar reference but I can deal with that tomorrow . Thanks again.
Using a Gallery in a Form Datacard produces erroneous results when referring to the controls inside of the gallery in any other formula. You will see this in your next post!
I will explain how to do this properly in your other post - but I am posting here again to recap your original problem as you have now been taken down a rabbit hole. The solution to your original post here was to put your EditForm in a scrollable Canvas Datacard. This would allow you to scroll your form properly (as it would actually not really scroll any more - the datacard that the form is in would scroll) and keep your Gallery that is outside of the Form (where it will work) in the same position when scrolled.
SO...I would consider the simplicity of this solution over the complexity that will now be needed by placing the Gallery in the Form datacard.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
203 | |
106 | |
56 | |
52 | |
41 |
User | Count |
---|---|
273 | |
160 | |
89 | |
81 | |
56 |