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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connecting an edited f...
Power Apps
Unanswered

Connecting an edited form to sharepoint list data

(0) ShareShare
ReportReport
Posted on by 68

Hi all,

 

So I've connected a PowerApp form to a SharePoint list. On the PowerApp form I've changed some of the DataCardValue to a dropdown (the SharePoint list isn't dropdown but contains the same values), by deleting the datacardvalue and replacing it with a dropdown with manual item values (["yes", "no"]). When I open the form by clicking on a gallery item I want it to prefill all the data, but the DateCardValues that I've changed to dropdown don't get prefilled. Is it possible to do this?

Categories:
I have the same question (0)
  • AndrewR1 Profile Picture
    1,572 Moderator on at

    Hi @KL007 can you please tell me the datatype of the field in SharePoint and I may be able to help you understand what to do? 

    Thanks 

    Andrew 

  • AndrewR1 Profile Picture
    1,572 Moderator on at

    Here is an example for you I have created a Text Field in a SP List called YesNoText I have added this to my gallery and set the default to:

    If(ThisItem.'Yes No Text' = "Yes","Yes","No")

    If you can tell me the data type of your field then I can make this more specific for your use case

    Canvas App:

    AndrewR1_0-1695369444869.png
    SP List:

    AndrewR1_1-1695369550039.png

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.


    Thanks
    Andrew

  • KL007 Profile Picture
    68 on at

    Hi Andrew,

     

    I should've explained a bit clearer, when a user clicks on the item in the gallery, PowerApps sends them to a new screen with a form. This form includes dropdown fields with columns from the SharePoint list. I want these fields in the PowerApps form to be filled in already with the values form the SharePoint list. 

    KL007_0-1695372603739.pngKL007_1-1695372669381.png

     

    Do you need some more context?

  • AndrewR1 Profile Picture
    1,572 Moderator on at

    Hi @KL007 Ok no problems then you can do something like this: 

    Your form Should be connected to the SP List as its Data Source:

    AndrewR1_0-1695373224287.png
    The Item Property set to the Gallery that you have selected:

    AndrewR1_1-1695373270885.png

     

    And then the Dropdown box in the field you wish to display should default to: 

    ThisItem.FieldName

    You need to replace FieldName with your Field:

    AndrewR1_2-1695373354654.png

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.


    Thanks
    Andrew

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard