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

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.

ChemaMateos
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,460)