I have customized sharepoint list and saved it and published it, when the list item is opened in edit mode , then the form displays the first item present in list, how to solve it?
1)i have used refresh (datasource) but it does not work
What code is being used in the Item property of your Form? Does it look similar to mine? Please share your code.
If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First(your_SP_list_name),SharePointIntegration.Selected)
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
written following code on item property of sharepoint form
If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First([@testlist]),SharePointIntegration.Selected)
Is it possible you have not made any selection and that is why you are getting the FIRST record? How does the user browse to your form? Through a link or by clicking on the item in the SP list and then clicking edit?
You'll notice that when this condition is True...
IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected)
...then this is the result
Did you have a previous working version of the form? If yes, can you roll-back?
Link To Relevant Forum Post
sharepoint integration datasource property: [@testlist]
On cancel :ResetForm(SharePointForm1)
sharepoint form datasource property:
sharepoint form item property:[@testlist]
If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First(testlist),SharePointIntegration.Selected)
Check out these cool Power Apps & vote on your favorite!
Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!