cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

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.

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.

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. 


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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (103,048)