PowerApps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
Expand all | Collapse all

Customized Form in SharePoint - View Item reverts back to previous item viewed for a few seconds

  • 1.  Customized Form in SharePoint - View Item reverts back to previous item viewed for a few seconds

    Posted Apr 15, 2019 07:32 AM
    Good Day Everyone. I have an issue with a Customized PowerApp form in SharePoint, where if I view one form after another ( or one item after another) in the SharePoint list, the Customized PowerApp form displays data from the previous item I had selected. This sometimes displays long enough that the user can actually edit the incorrect form. Is this a common problem, or is there something I have missed when creating the form? I created the form initially by selecting 'Customize Form' from the SharePoint list.

    ------------------------------
    Michelle Barker
    Consultant
    +27718728657
    ------------------------------


  • 2.  RE: Customized Form in SharePoint - View Item reverts back to previous item viewed for a few seconds

    Silver Contributor
    Posted Apr 15, 2019 08:13 AM
    The sad/odd thing about SharePoint integrated forms is that events such as OnHidden / OnVisible don't get triggered when you focus in/out of the form within SharePoint so it's not like you'd have the possibility of issuing a ResetForm() of some kind :(

    ------------------------------
    Eric Sauve
    aka PowerDiver
    XRM Vision
    Montreal QC
    ------------------------------



  • 3.  RE: Customized Form in SharePoint - View Item reverts back to previous item viewed for a few seconds

    Posted Apr 16, 2019 04:48 AM
    ​​I think I found a solution for now. I added a button to the customised form called 'Close Form', then in the ONSELECT option i added : Launch("URL");Exit(true). This then redirects the user to the list, but refreshes the SharePoint view, so the issue of the previous item becoming visible when the next item is selected, is no longer experienced. (We just need to ensure users are training correctly to use this button and not the 'X' to close the form.

    ------------------------------
    Michelle Barker
    SharePoint Consultant
    +27718728657
    ------------------------------