Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Under review by Community Managers

Under review

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

Customized form linked to a sharepoint list

Posted on by
Hello dear community,
I'm starting to customize an Edit form linked to a sharepoint List.
I have a problem with a choice field.
 
So, first, my Sharepoint List contains lot of people pickers columns and an ApprovalStatus column which is a Choice field (values: New, Aprroved, Under Review, Rejected)
I customized the Edit form with Power Apps because I need to set the value in ApprovalStatus column to 'New' when an item in the Sharepoint list is modified (a Power automate approval flow runs when a 'New' status is detected)
For that, I built my custom form
 
Please find here the formula for 'ApprovalStatus':
Items: Choices([@LocationsList].ApprovalStatus)
DefaultSelectedItems: If(SharePointForm1.Mode=FormMode.Edit,{Value:"New"} ,ThisItem.ApprovalStatus)
 
It seems working because, for test, I created a Text field (at the bottom Left of the form) with the formula: DataCardValue14.Selected.Value which show me 'New' as value
When I click on my form button 'Save' (OnSelect: SubmitForm(SharePointForm1)) or on the Sharepoint Button 'Save' unfortunately, I obtain an empty value in Sharepoint List.
 
 
When I check the Version history in the sharepointList, I can see my change date and time but without any change included concerning the ApprovalStatus
 
Please can you help me?
 
Categories:

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard