Hello!
I have a PowerApp screen that shows a summary gallery (share point list) on left side that shows Status/Ticket Description. On the right-hand side of the screen is a detail display form which shows the additional 15 fields. On the startup of the app, no data displays on detail display form (on the right-hand side) as nothing was selected from the gallery.
On start up of app, how can the detail display form be set to show the details for the first gallery item displayed even though it is not selected? The DataSource for the detail display form is the share point list.
Thank you in advance!
Solved! Go to Solution.
Try setting the Item property of the form to
Coalesce(
GalleryLead2.Selected, First(
GalleryLead2.AllItems
)
)
What is the item property of the detail display form?
Hi Jeff!
At first it was blank.
Next I tried using an initializing variable (varFirstTime set to true onStart) but trying to figure out how to display the first record of the gallery without it being selected - this would go in the XXX part. The gallery Items is the share point list:
If(!varFirstTime,galleryLead2.Selected, XXX)
Thoughts?
Try setting the Item property of the form to
Coalesce(
GalleryLead2.Selected, First(
GalleryLead2.AllItems
)
)
@Drrickryp that worked! Learned about Coalesce functionality too so thank you!!
You're welcome!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
177 | |
52 | |
41 | |
36 | |
27 |
User | Count |
---|---|
243 | |
81 | |
71 | |
69 | |
66 |