cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Edit screen not updating on opening first time

Hi

I have SharePoint list on which I am customising the powerapps. I have created powerapps only by controls and no forms.

 

Now all works.. saving works.. editing works.. viewing works.. 

THE ONLY AND MAJOR ISSUE IS - when I open SharePoint list view and click one of the item to view it does not load the content in fields.. while it loads all of it when I try reopening the same list item. 

 

Any pointers would be helpful. 

4 REPLIES 4
Highlighted
Super User
Super User

Re: Edit screen not updating on opening first time

Hi ST,
I don't have the exact answer but I think you will need to look in the default property of each control. It will need to reference a selected record.
Highlighted
Helper I
Helper I

Re: Edit screen not updating on opening first time

Well, my PowerApp does not have the form (Edit or View form), but yeah, Default property is assigned the value of a collection that I am populating onVisible of a screen. So essentially it is like below-

 

OnVisible (of Screen) :

ClearCollect(TestCollection = SharepointIntegration.Selected)

 

Then on each control we have the default property set to - First(TestCollection).EmployeeId and Reset field to RField.

At the end in OnVisible property, I am also doing a Reset => UpdateContext({RField,true});UpdateContext({RField,false})

 

Still not working.

Highlighted
Frequent Visitor

Re: Edit screen not updating on opening first time

Same problem,
reset on first sharepoint forms load doesnt work correctly...Smiley Sad


@shrinkTech wrote:

Hi

I have SharePoint list on which I am customising the powerapps. I have created powerapps only by controls and no forms.

 

Now all works.. saving works.. editing works.. viewing works.. 

THE ONLY AND MAJOR ISSUE IS - when I open SharePoint list view and click one of the item to view it does not load the content in fields.. while it loads all of it when I try reopening the same list item. 

 

Any pointers would be helpful. 


Highlighted
Helper I
Helper I

Re: Edit screen not updating on opening first time

Hi chema

This is a known issues with Microsoft. then confirmed that the data being loaded by 'SharePointIntegration' is async and there is no delegate yet to determine if the data from 'SharePointIntegration' is loaded or not.

I was trying to avoid item level permission for sharepoint list items by implementing screen switch based on field value once 'SharePointIntegration' loads the data but it seems it was not possible.

 

I had to move to canvas app and that resolved the issue

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,702)