Implementing Offline Capability In Your Power Apps - Power Platform User Group

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

КОМЕНТАРІ • 7

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

    Can this app be uploaded to github so we can check things from our side

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

    How would you do this with an attachment control

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

    In the future use teams share screen feature on your phone

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

      Unfortunately to fully demonstrate the offline functionality I need to put the device into airplane mode which will also cut the teams connection.

  • @carlw
    @carlw 3 роки тому

    I'm a little confused about the offline-online capability.
    When you submitted the offline record you had previously set the button's on select to "Clear(myOffliceRecords);" then saved it locally. Now if you reopen the app in offline mode there should be nothing loaded correct?
    Why are you clearing the collection? If you want to use the app offline now, you have no data to draw upon. Why not save the updated collection then you'd have data when you open the app offline?
    I'm still working on learning how to piece together an offline mode app so I'm purely asking out of naivety not expert point of view.

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

      Hi Carl, great question! The Clear is used after the data is uploaded from the mobile device to the online data source. At that point it is no longer needed on the device, and if I didn't clear the collection it would create a duplicate record next time data was uploaded. After the clear, I SaveData from the empty collection to the device storage to fully remove the old data it from the device.

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

      @@brentmason2634 thanks for the clarification. I guess I was just seeing the process in a slightly different order.