I can't edit an existing sharepoint list item after customizing form on powerapps

dservin 6 Reputation points
2022-04-22T17:03:26.82+00:00

I have SharePoint list. I used the customize forms feature in PowerApps to have the form look a certain way. When I return to SharePoint to use the form, I am able to add and save new list items using the form but I am NOT able to select an existing list item and click edit (on SharePoint) to have the item be edited in the form format. When I click 'edit' on SharePoint I instead only get a blank form to fill out again.

This is what I have on SharePointIntegration on PowerApps for the OnEdit field:

EditForm(EditForm1);Set(selectedlookupitem, LookUp('INFUSION REIMBURSEMENT FORM', ID=SharePointIntegration.SelectedListItemID))

I'm not knowledgeable on coding at all and I've tried all different combinations on the OnEdit field but nothing is working. Does someone know what should go in this field? Are there other fields on PowerApps that may be affecting the form not auto-populating an exiting file on to a form for editing?

195693-image.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,581 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,616 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,668 questions
{count} vote

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,321 Reputation points
    2022-04-25T03:05:56.573+00:00

    Hi @dservin ,

    You could try to open the SharePoint list in an InPrivate window if the PowerApps list form appears properly please clear the browser cache.Then you may need to clear your browser cache after publishing a change to the PowerApps form every time.

    And you could use "copy link" option at the top. If you copy that link and paste it into a new browser you get to see the form alone in the new window. It seems to work with or without clearing the cache. Not great either, but at least a bit easier.

    For Reference: Powerapp Form Displaying Completely Blank Within SharePoint


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.