[PowerApps QuickTips] I use this NESTED GALLERY in EVERY APP

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • This is a nested gallery setup I frequently use!
    Download "The SVG World"-App here: • [Fun with SVGs] Templa...
    More Power Tips:
    • [PowerApps QuickTips] ... Beautiful toggles in SECONDS
    • [PowerApps QuickTips] ... Vertical Text
    • [PowerApps QuickTips] ... Creating a proper WHILE LOOP
    • [PowerApps QuickTips] ... A smooth bouncing arrow
    • [PowerApps QuickTips] ... Change Language to English
    Outro-music by musicfox.com

Komentáře • 36

  • @oricchannel2811
    @oricchannel2811 Před rokem +1

    Hi, Robin. Saved my life. Thank for sharing. Won my like !!!

  • @roygilboa
    @roygilboa Před rokem +1

    Very nicely implemented. I'd use the GroupBy function to group the countries by Continent.

    • @R2Power
      @R2Power  Před rokem

      You are absolutely right, that would be a better solution in this case!

  • @ronbakker1300
    @ronbakker1300 Před 7 měsíci +1

    Very cool, thank you

    • @R2Power
      @R2Power  Před 7 měsíci

      Thanks, glad you like it!

  • @jray1429
    @jray1429 Před rokem +1

    Good job, thanks

    • @R2Power
      @R2Power  Před rokem

      You are welcome! Go build some awesome galleries!

  • @laurarualah
    @laurarualah Před 2 lety +2

    Hello.Amazing Video! Thank you so much! Is there a way to use an icon to open / close all nested galleries if needed? This way at least one of them stay open right? I'm looking for a way to keep them all closed.

    • @laurarualah
      @laurarualah Před 2 lety +3

      I got It!!! I did the following: On the OnSelect property of the icon I used Set(varShowNestedContainer, !varShowNestedContainer). And on the visible property of the nested container I use varShowNestedContainer && ThisItem.IsSelected.

    • @R2Power
      @R2Power  Před 2 lety +2

      @@laurarualah well done!
      You can also make a collection for the outer gallery and have a field there that you can toggle. This way you can expand multiple categories at the same time.

  • @andieoconnell4922
    @andieoconnell4922 Před 2 lety +1

    Hello! I love your video, and everything you taught is working great on my app! However, I want to search by fields included inside the nested items. How can I do that?

    • @R2Power
      @R2Power  Před 2 lety

      You can still Filter the inner Gallery by a TextInput, that is outside both galleries

  • @EpicBizHero
    @EpicBizHero Před rokem +1

    DANKE!!!

  • @carlw
    @carlw Před rokem +1

    Pretty slick, thanks! Using this technique, can one add, edit delete?

    • @R2Power
      @R2Power  Před rokem

      Yes, sure "Remove(collection, ThisItem)" and so on should work

    • @carlw
      @carlw Před rokem +1

      @@R2Power Ahhhhh yes. Thanks 👍👍

  • @markjacobson9532
    @markjacobson9532 Před 7 měsíci

    Great video. I note the nested gallery is a standard not flexible gallery. However, my use case is that I need a nested flexible gallery. (Making a dynamic form, and some questions will have check box options which need to be in a flexible gallery.
    I am struggling to determine the logic to dynamically set the height of the nested gallery so that it does not have a scroll bar.
    Is this at all possible? ie to set the height of the nested gallery based on some sort of count rows in conjunction with heights of all the controls in each item?
    Confusing yep!

    • @R2Power
      @R2Power  Před 7 měsíci

      I recorded a quick video yesterday to show how that scenario works:
      czcams.com/video/TzSMeAjBqHc/video.htmlsi=248ML-sPyj_1TbWu
      Needs a little workaround, but it's possible 😉

  • @stefanzervos9537
    @stefanzervos9537 Před 2 lety +1

    Jetzt möchte ich noch ein kleines farbiges Rechteck in meine Hauptliste (BrowseGallery1 -> Tabelle1 -> Raumliste) machen, mit zwei Farben, zur Anzeige, ob in diesem Raum Fehler (Nested Gallery -> beide mit Tabelle2 (Fehlertabelle) verbunden) existieren, deren Wert in der Spalte Status „Offen“(Rot) oder „in Arbeit“(Gelb) existieren, wobei Rot überwiegen soll.
    Ich hoffe das es hierfür wieder eine einfachere Lösung gibt, als das woran ich denke (was auch bis jetzt noch nicht funktioniert).

    • @R2Power
      @R2Power  Před 2 lety

      Das wird etwas komplizierter.
      Per AddColumns und CountIf holst du dir die Infos auf die äußere Galerie ob es Fehler im jeweiligen Status gibt und zeigst dann anhand der Info die Farbe des Rechtecks an

  • @gismownr2094
    @gismownr2094 Před 2 lety +1

    Hi, wie kann man die Gallerie so einstellen, dass man die Items wieder zu klappen kann. In deinem Beispiel sieht man ein kleinen Pfeil an der Seite. Ich nehme an, damit klappst du deine Untergallerie wieder zu, oder? Viele Grüße Jacky

    • @R2Power
      @R2Power  Před 2 lety +1

      Das kann man zum Beispiel machen, wenn man für die äußere Galerie eine Collection mit dem Feld "Ausgeklappt" für jeden Datensatz macht. Auf dem Pfeil toggelt man die Eigenschaft dann und die Sichtbarkeit der inneren Galerie ist an das Feld geknüpft

  • @stefanzervos9537
    @stefanzervos9537 Před 2 lety +1

    Kann man sich eigentlich auf dem Desktop eine Verknüpfung erstellen, die gleich die APP im Browser öffnet?

    • @R2Power
      @R2Power  Před 2 lety +1

      Du kannst die App ja über eine URL aufrufen. Also musst du dir einfach nur den Link als Desktop-Symbol speichern

  • @danielavasques5952
    @danielavasques5952 Před rokem +1

    Hi, first of all, thank you for this incredible video! I have a question that you may be able to help me. I have a gallery in power apps and I have a filter in the items property of the gallery in order to filter the gallery by the current user (to only show the relevant information for them). However, I’d also like to add a GroupBy because I want to display the info based on a lookup column that I have. Both formulas work are working perfectly separately, but when I try do combine the filter with the group by to have everything in the items properly simultaneously, I always get errors. What can I do? 🙁

    • @R2Power
      @R2Power  Před rokem +1

      Your formula needs to look something like that:
      GroupBy(Filter(yourTable, CreatedBy.Mail=CurrentUser.Mail), ..., ...)
      Reads like you are probably trying it the other way round.

    • @danielavasques5952
      @danielavasques5952 Před rokem +1

      @@R2Power thank you so much! 😊 Do you happen to know if we can have a group by inside a group by? I’d like to firstly group by a certain column and then by another column

    • @R2Power
      @R2Power  Před rokem

      Should be possible with AddColumns() and write everything to a new collection, but I'd have to try a bit myself to figure it out

  • @stefanzervos9537
    @stefanzervos9537 Před 2 lety +1

    Vielen Dank, dafür!!! 👍

    • @R2Power
      @R2Power  Před 2 lety

      Gerne, witziger Zufall, dass du genau jetzt gefragt hast!
      Dachte mir auch, dass ich das mal im Detail zeigen muss

    • @stefanzervos9537
      @stefanzervos9537 Před 2 lety +1

      Immer gerne. Soweit so gut. Nun hänge ich am Filtern was in der nested gal angezeigt werden soll. Bestimmt ist das auch wieder voll einfach, bin aber noch nicht drauf gekommen. In wie weit darf man hier noch weiterführende Fragen stellen?

    • @R2Power
      @R2Power  Před 2 lety +1

      @@stefanzervos9537 du merkst dann schon, wenn ich nicht mehr antworte :)
      Frag einfach, ist wahrscheinlich schnell gelöst.
      Schreib bitte die Item-Eigenschaft der äußeren und inneren Galerie auf, dann kann ich dir helfen

    • @stefanzervos9537
      @stefanzervos9537 Před 2 lety

      Äußere Gallery:
      SortByColumns(Filter(Tabelle2;Raum=BrowseGallery1.Selected.Raumnummer);"FDatum"; SortOrder.Descending)
      Innere Gallery:
      Noch nichts Sinnvolles :-)
      Ich habe 2 Tabellen (Excel), ist eine Raumliste.
      Tabelle1 Raumname und Raumdaten
      Tabelle2 Fehler im Raum bei Prüfung
      BrowseGallery1 ist verlinkt mit Tabelle 1
      Gallery1 äßere, Gallery4 innere
      Ich möchte aus der Fehlerliste alle Fehlereinträge in der Gallery1 anzeigen (funktioniert)
      Zusätzlich öffnet sich beim auswählen (dynamische Gallery4) und zeigt nähere Informationen
      vom Fehler an. Jedoch zeigt er mir im Moment noch bei jedem Eintrag den selben Fehler, oder gar nichts an.
      Zum Filtern hat die Fehlerliste eine eindeutige ID ('ID'). Ich bekomm es nicht hin.

    • @R2Power
      @R2Power  Před 2 lety +1

      @@stefanzervos9537
      Müsste sowas sein:
      Filter(Tabelle; ID=ID_Fehler)
      ID_Fehler ist das Feld in deiner Tabelle mit den zusätzlichen Infos, das auf den Fehler verweist