Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Static SharePoint list for info gathering

(0) ShareShare
ReportReport
Posted on by

Working on building an app that is connected to a list in SharePoint, the list will have the House column be the same items every week the Capacity Column will be update periodically . I started building a basic Gallery  from SharePoint but would like the layout to be as shown in power app picture. I also included the SharePoint list for further clarification. I want to be able to update the capacity column once a week directly from the text input control to the right of the location in power apps by pressing the Update button. I know the basic create an app allows you to do this but would like to avoid all the navigation to detail screen and edit screen. if there is a tutorial for this that would help, also if there is a Flow (power automate) for this that would also work.

 

 

Powerapp.PNG

 

SP.PNG

 

Categories:
  • RandyHayes Profile Picture
    RandyHayes 76,287 on at
    Re: Static SharePoint list for info gathering

    @PCesarRT26 

    Always best to be specific on your data actions - ThisItem can sometimes be ambiguous and lead to issues.  So use it with knowledge and not with an "everywhere" solution!

  • Verified answer
    PowerRanger Profile Picture
    PowerRanger 3,458 on at
    Re: Static SharePoint list for info gathering

    @PCesarRT26 

    On the Update button use this for the OnSelect Property

    Patch(SampleList,ThisItem,{Capacity:txtUpdateField.Text})
    Patch(<DataSource>,ThisItem,{Capacity:<textcontrol>.Text})

     

    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.

  • PCesarRT26 Profile Picture
    PCesarRT26 on at
    Re: Static SharePoint list for info gathering

    @RandyHayes I attempted this but was getting an error, I updated my post for further clarification. The Power app is a gallery connected to the SharePoint list ( I included the image of it).

  • RandyHayes Profile Picture
    RandyHayes 76,287 on at
    Re: Static SharePoint list for info gathering

    @PCesarRT26 

    I assume the photo you show is a Gallery!!??

     

    If so, you can simply change your Update button OnSelect to the following:

    Update(yourDatasource, Location = ThisItem.Location, {Capacity: Value(yourTextInput.Text)})

     

    I hope this is helpful for you.

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard