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 III
Super User III

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

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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,571)