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 / Display text from shar...
Power Apps
Answered

Display text from share point.

(0) ShareShare
ReportReport
Posted on by 75

Hi all, how do I display a list from SharePoint to a form. In SharePoint list the column name is Allocated and at PowerApps forms, the visibility is only view. When user enter data to the form, user will be able to enter other field but not Allocated. Allocated column is numbers.

Categories:
  • eka24 Profile Picture
    20,925 on at

    I believe you have connected the list to the form. What remains is how to show what is the list on the form. To change the mode of the form in order to display, insert 2 buttons with the following formula so:

     

    Button2 OnSelect:

    EditForm(YourFormName)

     

    Button1 OnSelect:

    NewForm(YourFormName)

     

    To make that Allocated field only view, in the DisplayMode of the datacard on the form put this formula:

    If(YourFormName.Mode=FormMode.Edit, DisplayMode.View,DisplayMode.Edit)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@HF306,

    Based on the issue that you mentioned, do you want to display SP list in the Form within Power Apps?

    Could you please tell me that if you want to create a new record or just edit the existing record?

    If you just want to edit the existing record, please check as below.

    Not sure how you create this form in the app, there are several ways for you to create an app based on the SP list.

    1). Generate an app directly from the SP list as below:

    2021-03-18-03.png

    You could have an app including three screens:

    Browse Screen- A Gallery to display all the data in your SP list

    Detail Screen- A display form to display the Gallery selected record

    Edit Screen- An edit form to create a new record or edit the Gallery selected record

    If you do like this way, you could easily achieve your needs, you could just set the DisplayMode property as below:

    View

    2). Create an app based on a blank app

    Connect your SP list to your app. 

    Add a Gallery and set the Items as below:

    YourSPListName

    Set the OnSelect of the ">" button as below:

    Navigate(EditForm1, ScreenTransition.None)

    Set the DataSource of the Edit Form1 as below:

    YourSPListName

    Set the Item of the Edit Form1 as below:

    Gallery1.Selected

     Set the DisplayMode property of the Control corresponding to the Allocated column in the data card as below:

     

    View

     

    Hope it could help you.

    Regards,

    Qi

     

  • HF306 Profile Picture
    75 on at

    It works but the result was not as I expected, thanks for the help eka24! ^_^/''

  • HF306 Profile Picture
    75 on at

    It works, thanks for the help Qi! ^_^

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard