web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : AT+PQwDgT/InPrWDiJ3vbK
Power Apps - Building Power Apps
Answered

EditForm Data with SharePoint on PowerApps

Like (0) ShareShare
ReportReport
Posted on 10 Dec 2023 19:19:44 by 438

I am trying to figure out how to connect data through SharePoint using the EditForm. The initial screen displays the names on the list, and to edit a name, you need to click on the edit icon.

 

Screenshot 2023-12-10 at 1.58.37 PM.png

 

Preview the app; upon clicking, a popup screen appears, but it still shows 'no item to display.'

Screenshot 2023-12-10 at 1.58.49 PM.png

 

When not in preview, the app is still able to display content from the SharePoint list.

Screenshot 2023-12-10 at 1.58.57 PM.png

 

I need to ensure that each text-input field in SharePoint is labeled with a corresponding name, allowing users to edit these names. Saving the changes will then update the corresponding items across SharePoint, ensuring that the user's matched name is currently displayed for their 'Class of 20XX'.

Screenshot 2023-12-10 at 1.59.15 PM.png

 

That's what I using for formulas for lookup: LookUp('Class of 20XX (Officers)','L-Grade'.Value = LookUp('Class of 20XX (Officers)','Head Sponsor' = User().FullName,'L-Grade').Value,'Class of 20XX Groups' that will be show as "Class of 2024" in the screen.

  • dylandavis09 Profile Picture
    438 on 11 Dec 2023 at 17:53:30
    Re: EditForm Data with SharePoint on PowerApps

    Perfect! Thank you! It's working well. Now, regarding the submission form for updating SharePoint, which formulas are we supposed to use? 

  • Verified answer
    v-yueyun-msft Profile Picture
    on 11 Dec 2023 at 09:28:31
    Re: EditForm Data with SharePoint on PowerApps

    Hi , @dylandavis09 

    Thanks for your quick response! If you want to show the default value in your Control in the Form , you need to check the DataCard-Default Value and the Control-Default:

    vyueyunmsft_0-1702286801226.png

    And in this Expression "ThisItem.fieldName" , the "ThisItem" is your Form Item property.

    vyueyunmsft_1-1702286857514.png

    So you need to check if your item return the correct record in your side and contains this field value. And also you can also custom the default value in your need to update the Default property.

     

    Best Regards,

    Yueyun Zhang

     

     

     



  • dylandavis09 Profile Picture
    438 on 11 Dec 2023 at 09:18:09
    Re: EditForm Data with SharePoint on PowerApps

    Yes!! But I have problem with that there no showing on text input it still blank when connected with ‘Class of 20XX (Officers)’. I trying to finding it out how it is fix it to showing on text input with each column. I’ll get you back in touch. I’m so tried. Haha

  • v-yueyun-msft Profile Picture
    on 11 Dec 2023 at 08:55:26
    Re: EditForm Data with SharePoint on PowerApps

    HI , @dylandavis09 

    Oh! Glad to hear you made it! Yeah~!

    You can mark the reply for this case which can help more people in this forum!

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    438 on 11 Dec 2023 at 08:49:11
    Re: EditForm Data with SharePoint on PowerApps

    I found it, and solved it. I have bit mistake with property, oops. But I was put it in item property using:

     

    Coalesce( LookUp('Class of 20XX (Officers)', 'L-Grade'.Value = LookUp('Class of 20XX (Officers)', 'Head Sponsor' = User().FullName, 'L-Grade').Value, 'Class of 20XX Groups' ), LookUp('Class of 20XX (Officers)', 'L-Grade'.Value = LookUp('Class of 20XX (Officers)', 'Sponsor 1' = User().FullName, 'L-Grade').Value, 'Class of 20XX Groups' ), LookUp('Class of 20XX (Officers)', 'L-Grade'.Value = LookUp('Class of 20XX (Officers)', 'Sponsor 2' = User().FullName, 'L-Grade').Value, 'Class of 20XX Groups' ) )

     

    It's worked with items is show displayed!!!!

  • v-yueyun-msft Profile Picture
    on 11 Dec 2023 at 08:36:01
    Re: EditForm Data with SharePoint on PowerApps

    Hi , @dylandavis09 

    What is this code you put ?

    vyueyunmsft_0-1702283704128.png

    Do you put the Form-Item property? In your screenshot , you are clicking the DataCard in your Form.

    vyueyunmsft_2-1702283872418.png

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    438 on 11 Dec 2023 at 08:33:15
    Re: EditForm Data with SharePoint on PowerApps

    @v-yueyun-msft Ahh! Thank you. Am I correct?

    Screenshot 2023-12-11 at 3.29.03 AM.pngScreenshot 2023-12-11 at 3.30.59 AM.png

     

    After that I have test with preview the app, but it's still show. 🙂

    Screenshot 2023-12-11 at 3.32.24 AM.png

  • v-yueyun-msft Profile Picture
    on 11 Dec 2023 at 08:06:03
    Re: EditForm Data with SharePoint on PowerApps

    Hi , @dylandavis09 

    Thanks for your quick response! 

    Sure , you need to use the LookUp() function to get the one of the item you need to edit. 

    vyueyunmsft_0-1702281936238.png

    And for your above description, you click the edit icon to pop this Form , i think you can just use the same code in your first screen's Form-Item.

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    438 on 11 Dec 2023 at 07:51:48
    Re: EditForm Data with SharePoint on PowerApps

    Hi @v-yueyun-msft, okay, thank you. I'm currently experimenting with formulas involving LookUp. The idea is to use LookUp('Class of 20XX (Officers)' for all items in a row based on L-Grade to match, and then display the names based on the condition LookUp('Class of 20XX (Officers)','L-Grade'.Value = LookUp('Class of 20XX (Officers)','Sponsor 2' = User().FullName, 'L-Grade').Value).

     

    Screenshot 2023-12-10 at 1.59.15 PM.png

    this data will forward to (see below)

    Screenshot 2023-12-10 at 1.58.57 PM.png

  • v-yueyun-msft Profile Picture
    on 11 Dec 2023 at 05:14:02
    Re: EditForm Data with SharePoint on PowerApps

    Hi , @dylandavis09 

    The item property need to put which item in your Datasource you need to update.

    You can use the Lookup() function to get the item.

     

    Best Regards,

    Yueyun Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete