Odd Behavior - SharePoint Custom PowerApps Forms Loading Problem

%3CLINGO-SUB%20id%3D%22lingo-sub-2595339%22%20slang%3D%22en-US%22%3EOdd%20Behavior%20-%20SharePoint%20Custom%20PowerApps%20Forms%20Loading%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595339%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20posted%20this%20message%20over%20on%20the%20PowerApps%20community%20board%20but%20no%20luck%20so%20far.%26nbsp%3B%20Hoping%20someone%20here%20might%20be%20able%20to%20help%20me%20out%20or%20point%20me%20in%20the%20right%20direction.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EI've%20got%20a%20few%20custom%20SharePoint%20forms%20(i.e.%20using%20PowerApps%20integration)%20in%20use%2C%20some%20for%20lists%20and%20some%20for%20document%20libraries.%26nbsp%3B%20Recently%20I've%20encountered%20some%20odd%20behavior%20on%20initial%20loading%20of%20a%20custom%20form.%26nbsp%3B%20Here's%20what's%20happening%20now%20and%20I%20don't%20know%20why%3A%3C%2FEM%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CEM%3EIf%20I%20click%20the%20list%20item%20(i.e.%20to%20edit%20properties%2Fmetadata)%20the%20form%20opens%20every%20time%20with%20no%20issue.%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3EIf%20I%20select%20the%20item%20first%20and%20open%20the%20details%20pane%2C%20then%20click%20%22Edit%20All%22%2C%20nothing%20seems%20to%20happen.%26nbsp%3B%20But%20as%20soon%20as%20I%20close%20the%20details%20pane%2C%20then%20the%20custom%20form%20will%20appear%20with%20the%20correct%20list%20item%20selected.%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3EThe%20above%20issue%20only%20happens%20the%20first%20time%20I%20try%20to%20initiate%20the%20form%20after%20navigating%20to%20the%20list!%26nbsp%3B%20The%20next%20time%2C%20it%20works%20as%20expected%20and%20the%20form%20opens%20when%20%22Edit%20All%22%20is%20clicked!%26nbsp%3B%20If%20I%20navigate%20to%20another%20list%20or%20library%2C%20then%20navigate%20back%2C%20the%20problem%20starts%20all%20over%20again%20as%20described%20in%20%232%20above.%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3EFor%20document%20libraries%2C%20behavior%20is%20similar%20but%20of%20course%20clicking%20the%20document%20directly%20opens%20the%20document%20itself%20so%20that's%20not%20an%20option%20to%20edit%20metadata.%26nbsp%3B%20For%20documents%2C%20if%20I%20select%20the%20document%20then%20open%20the%20details%20pane%2C%20the%20behavior%20is%20same%20as%20%232%20above%20the%20first%20time%20I%20try%20edit%20document%20properties%2Fmetadata.%26nbsp%3B%20After%20that%2C%20it%20works%20as%20expected%20until%20I%20navigate%20away%20and%20back%20(even%20navigating%20to%20a%20different%20folder%20in%20the%20library%20will%20create%20the%20same%20issue).%3C%2FEM%3E%3C%2FLI%3E%3CLI%3E%3CEM%3EAlso%2C%20for%20document%20libraries%2C%20if%20I%20select%20a%20document%20and%20click%20%22Properties%22%20(which%20should%20open%20the%20form%20in%20view%20mode)%2C%20nothing%26nbsp%3B%20seems%20to%20happen%20on%20the%20first%20one%20I%20try.%26nbsp%3B%20But%20if%20I%20simply%20do%20something%20to%20open%20another%20pane%20-%20for%20example%2C%20clicking%20on%20the%20site%20settings%20(gear)%20icon%20to%20open%20setting%20dialog%20-%20the%20form%20will%20suddenly%20appear!%26nbsp%3B%20I%20can%20also%20reload%20the%20web%20page%20and%20try%20again%20and%20it%20will%20work%20as%20expected%20-%20until%20I%20navigate%20away%20and%20back%20again%20then%20same%20issue%20comes%20back.%3C%2FEM%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CEM%3EI'm%20well%20aware%20of%20cache%20issues%20and%20the%20need%20to%20reload%2Frefresh%20after%20publishing%20the%20app%2C%20but%20this%20seems%20to%20be%20something%20else.%26nbsp%3B%20I've%20tried%20other%20browsers%2C%20flushing%20the%20browswer%20cache%2Fhistory%2C%20incognito%20mode%2C%20you%20name%20it.%26nbsp%3B%20Nothing%20changes%20this%20behavior%20and%20I%20think%20it's%20nuts%20to%20expect%20users%20to%20have%20to%20reload%20the%20web%20page%20every%20time%20they%20navigate%20to%20a%20new%20list%20or%20library%20(or%20folder%20within%20the%20library).%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20idea%20what%20is%20going%20on%20here%20and%20how%20to%20fix%20it%3F%26nbsp%3B%20It%20is%20suddenly%20affecting%20all%20of%20my%20integrated%20custom%20PowerApps%20forms%20and%20I%20don't%20think%20this%20was%20the%20case%20until%20recently.%26nbsp%3B%20Help!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EP.S.%20-%20When%20I%20switch%20back%20to%20the%20standard%20SP%20form%2C%20it%20works%20as%20normal%20of%20course.%26nbsp%3B%20Behavior%20only%20affects%20the%20customized%20form.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20or%20suggestions%20are%20much%20appreciated!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2595339%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hi All,

 

I posted this message over on the PowerApps community board but no luck so far.  Hoping someone here might be able to help me out or point me in the right direction.

 

I've got a few custom SharePoint forms (i.e. using PowerApps integration) in use, some for lists and some for document libraries.  Recently I've encountered some odd behavior on initial loading of a custom form.  Here's what's happening now and I don't know why:

  1. If I click the list item (i.e. to edit properties/metadata) the form opens every time with no issue.
  2. If I select the item first and open the details pane, then click "Edit All", nothing seems to happen.  But as soon as I close the details pane, then the custom form will appear with the correct list item selected.
  3. The above issue only happens the first time I try to initiate the form after navigating to the list!  The next time, it works as expected and the form opens when "Edit All" is clicked!  If I navigate to another list or library, then navigate back, the problem starts all over again as described in #2 above.
  4. For document libraries, behavior is similar but of course clicking the document directly opens the document itself so that's not an option to edit metadata.  For documents, if I select the document then open the details pane, the behavior is same as #2 above the first time I try edit document properties/metadata.  After that, it works as expected until I navigate away and back (even navigating to a different folder in the library will create the same issue).
  5. Also, for document libraries, if I select a document and click "Properties" (which should open the form in view mode), nothing  seems to happen on the first one I try.  But if I simply do something to open another pane - for example, clicking on the site settings (gear) icon to open setting dialog - the form will suddenly appear!  I can also reload the web page and try again and it will work as expected - until I navigate away and back again then same issue comes back.

I'm well aware of cache issues and the need to reload/refresh after publishing the app, but this seems to be something else.  I've tried other browsers, flushing the browswer cache/history, incognito mode, you name it.  Nothing changes this behavior and I think it's nuts to expect users to have to reload the web page every time they navigate to a new list or library (or folder within the library).

 

Any idea what is going on here and how to fix it?  It is suddenly affecting all of my integrated custom PowerApps forms and I don't think this was the case until recently.  Help!

 

P.S. - When I switch back to the standard SP form, it works as normal of course.  Behavior only affects the customized form.

 

Any help or suggestions are much appreciated!

0 Replies