Power Apps UI Tip 💡: Auto Select an Item in a Gallery

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 20

  • @AdiCristea
    @AdiCristea 2 роки тому +2

    Wow, that Select statement, first time I'm seeing it used for a control into a gallery, nice one, Brian! Thank you.

  • @eylownuh
    @eylownuh Рік тому

    Straightforward and clear! Thank you for this!

  • @nicolneal
    @nicolneal Рік тому

    Thank you Brian!

  • @juandavila4035
    @juandavila4035 2 роки тому +1

    Great video, thanks

  • @nazeerrahmed
    @nazeerrahmed Рік тому

    Wonderful video

  • @ronbakker1300
    @ronbakker1300 10 місяців тому

    Thank you Brian

  • @Cv18_RTX
    @Cv18_RTX 2 роки тому

    Hi ,
    Can you Please tell me , How to Use this same technique , When a gallery and form are in a different Screen.

    • @PragmaticWorks
      @PragmaticWorks  2 роки тому

      Hi there, you'll just need to add a Navigation in front of the Select code and you're ready to rock! - Brian

  • @briankgarland
    @briankgarland Рік тому

    How do you do this if you are not using a form, but patch? There is no OnSuccess.

    • @PragmaticWorks
      @PragmaticWorks  Рік тому +1

      If you're using a Patch, you would just have to place your variable setting around the patch syntax and then do an IfEmpty check to ensure it received a value.

    • @briankgarland
      @briankgarland Рік тому

      @@PragmaticWorks Thanks!

    • @topeogutuga3517
      @topeogutuga3517 5 місяців тому

      Please I need more help on this

    • @topeogutuga3517
      @topeogutuga3517 5 місяців тому

      Couldn’t get the code right

  • @donjultchi-ngoma751
    @donjultchi-ngoma751 2 роки тому

    Hello!
    Please kindly help me.
    I would like from a data table (DataTable1), select a row from the gallery (gallery1) corresponding to the row of data to select on my table knowing that I am using the same sharepoint list which points to the two elements which are on different screens.
    I've been stuck for several days.

    • @PragmaticWorks
      @PragmaticWorks  2 роки тому

      You would do a Filter command to connect those two table. So something like in Gallery2
      Filter(DataTable2, YourPrimaryKeyColumn = Gallery1.Selected.ForeignKeyColumn)

  • @gkbradshaw
    @gkbradshaw Рік тому

    I'm not sure why yet, but this didn't work for me.

    • @jmusoke
      @jmusoke Рік тому

      Me too! And yet my galery has only one item. I get the error: "Row or column passed to the Select function is outside the bounds of the gallery items."

  • @nivekkled
    @nivekkled 2 роки тому +1

    Slick!