Convert a Gallery into an HTML Email in Power Apps

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 25

  • @imran002ali
    @imran002ali Před 2 měsíci +1

    Hi Andrew, you have explained a lot within 12 minutes of video, appreciate it. This method can be applied in may different apps, I have learned many things from your videos and have taken to the next level, thanks again!! 👍👍

  • @DeonVann
    @DeonVann Před měsícem +1

    Great video, I was able to replicate while watching!

    • @andrewhess123
      @andrewhess123  Před měsícem

      Woot woot! Nice! So I wasn't going to fast then?

  • @BikeBallers-vlog
    @BikeBallers-vlog Před 11 měsíci +1

    Wow!! ❤ it so much! Thank you @Andew for answering my query. I will apply it now to my work as improvement. More power on your videos that I am closely monitoring. ❤❤ you man!

    • @andrewhess123
      @andrewhess123  Před 11 měsíci +1

      Thanks for watching Mike! It was a good question. There's actually a 2nd way to do it using Json and power automate too. But I think just using power apps is great option too.

  • @lucasfrancisco3325
    @lucasfrancisco3325 Před 3 měsíci +1

    Thank you so much for this video! It was very helpful.

  • @topeogutuga3517
    @topeogutuga3517 Před 3 měsíci

    Thanks for this video. How do I show an image in the table?
    I tried but nothing got displayed.

  • @bshepj
    @bshepj Před rokem +3

    Good information here

    • @andrewhess123
      @andrewhess123  Před rokem +2

      Thanks for the continuous support Bshep!

    • @bshepj
      @bshepj Před rokem

      @@andrewhess123 No problem, I'm starting to use Power Automate and Power BI for work so this is good stuff.

  • @DataisKing
    @DataisKing Před rokem +2

    I usually would use a JSON function in Power Apps to send the collection to Power Automate. I would them Parse the JSON and create an HTML table and or a csv file

    • @andrewhess123
      @andrewhess123  Před rokem +2

      True that is an option, and I love sending JSON to Power Automate using Power Apps, but trying to cut out the whole Power Automate was my goal here.

    • @andrewhess123
      @andrewhess123  Před rokem +1

      Thanks for the input, maybe that is another video how to do it!

    • @BikeBallers-vlog
      @BikeBallers-vlog Před 11 měsíci

      @@andrewhess123 if time allows 😍

  • @connozac1109
    @connozac1109 Před 9 měsíci +1

    If you have categoires that are the same say two rows with burger, how would you merge them in the HTML table. I've tried rowspan but realised its a concatinated string..

    • @andrewhess123
      @andrewhess123  Před 9 měsíci

      Probably not try to do it on the HTML side, and do it on the Power Apps side during the collection.

  • @markperrah186
    @markperrah186 Před 11 měsíci +1

    Hello Andrew, Got a challenge for you. I have a gallery 186 items from an excel file loaded as a collection. I run some code to add row numbers to the collection. When I filter the list I'd like the showing numbers to start at 1 instead of the range they are in from the 1-186 total item list number. Is that something you have been able to accomplish? For example, I filter to show items 25 to 35: I'd like the display numbers to start at 1 and go to 10.

    • @andrewhess123
      @andrewhess123  Před 11 měsíci +1

      Sounds like it could be possible, but you would have to recollect everytime you filter, and then you display the collection in your gallery.

    • @markperrah186
      @markperrah186 Před 11 měsíci +1

      @@andrewhess123 I pull the raw data from excel file onVisible and make the full collection, then filter on change of a combobox selecedItems. My excel table first column is a category, (its power app function types). The filter shows only the rows with the matching category to the cb.SelectedItems. I'm not sure how to create a collection with just the results of the filter. I suppose put an if statement to check the row to the cb and only if true, add to collection. I'll make a stab at it. Thank you for the quick reply. Keep up the awesome videos. You're super helpful. It's like normal helpful, but with a cape. :)

    • @markperrah186
      @markperrah186 Před 11 měsíci +1

      @@andrewhess123 Kinda took easier route. Since the data is static (just a reference table) I added 2 columns manually, 1 for All Functions (1 to 186) and 1 for Group Functions ( 1 to group length) then use an if statement to display the number column for AllNum if no filters are on and the GroupNum filter number column if the gallery is filtered. I was hoping to use dynamic numbering as I have other apps that the data changes and numbering manually would not be an option, but this works. If you have time to play with building the collection on filter change hit me up. Warm regards.

    • @andrewhess123
      @andrewhess123  Před 11 měsíci

      Very interesting the way you did this, thanks for sharing Mark!@@markperrah186

    • @markperrah186
      @markperrah186 Před 11 měsíci

      @@andrewhess123 Actually made some progress on dynamic numbering.
      start Code:
      With({_myFilter:
      With({_items:
      Filter(WOList,
      Or(
      IsBlank(cbWOList_EMP.SelectedItems),
      IsEmpty(cbWOList_EMP.SelectedItems),
      EMP in cbWOList_EMP.SelectedItems
      &&
      Or(
      IsBlank(tSearch.Text),
      false,
      tSearch.Text in Notes,
      tSearch.Text in System,
      tSearch.Text in WO,
      tSearch.Text in 'Work Instructions'
      )
      )
      )},
      SortByColumns(_items,
      varSortChoice,
      varSortOrder))},
      ForAll(Sequence(CountRows(_myFilter)),
      Patch(Last(FirstN(_myFilter, Value)),
      {RowNum:Value}
      )
      ))
      end code
      new issue is the form datasource is not compatible. Changed from the excel table (WOList) to the variable created when selecting the gallery item (varRecord). this fills the form, but wont submit. I almost got it. At least the numbering works :)