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 / Script to edit text la...
Power Apps
Unanswered

Script to edit text label in a SharePoint form in Power Apps

(0) ShareShare
ReportReport
Posted on by 2

I'm looking for a powershell script to edit a text label in a SharePoint form in Power Apps. I have some verbiage in the text that needs to be changed periodically and hoping I can do this through power shell instead of using the web interface in Power Apps. 

 

Categories:
I have the same question (0)
  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    What I would do, is have a definition list in SharePoint for "Settings" or something. And then define a label mapping to it there. And have your labels in the app use LookUp()'s to this list to get their value for the label. Then you can set the values in that list, and you can do this via powershell easy as well. 

     

    Make sure the setting list gives permissions to everyone using the app etc. or you'll have blank labels :). 

  • ckovac2455 Profile Picture
    2 on at

    Would you have a Powershell script that can do this or a template I may use?

  • Mike2500 Profile Picture
    1,247 Super User 2024 Season 1 on at

    Did you understand cwebb365's answer? No powershell needed to get the main part up and running. Once you have the main part up and running, you could then write power shell if there is a need to update the sharepoint config list. 

     

    Again, I'd suggest getting the main part up and running first (the config list, the label that uses the value from the config list instead of a hard-coded value). After that, look into the set-pnplistitem cmdlet.

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 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard