SharePoint Asked by Scott Davis on January 2, 2022
I have a SharePoint list with a choice field. I’m customizing the list form with PowerApps, and I want to have the value of the choice field set via buttons on the form (ie clicking "Submit" will set the choice field to "Submitted", clicking the "Reject" button will set the choice field to "Rejected", etc). I want to use a choice field so that if someone gets to the back-end of the list, they don’t change the field value to something like "Bob" or whatever they accidentally type in to a text field.
When I try to put a formula into the Default on the PowerApps form, it keeps throwing errors:
CurrStatus is defined in the OnVisible of my FormScreen1.
What am I doing wrong/missing here?
When you set CurrStatus
you need to set it as a record type. So, something like this:
UpdateContext({CurrStatus:{Value:"Your Choice Here"})
Alternatively, you could update the above formula like this:
If(IsBlank(CurrStatus),ThisItem.Request_Status,{Value:CurrStatus})
Answered by theChrisKent on January 2, 2022
2 Asked on January 29, 2021 by tejas-thite
approval process flow microsoft flow power automate sharepoint online
2 Asked on January 27, 2021 by antra-sharma
1 Asked on January 26, 2021 by mark-l
2 Asked on January 26, 2021 by jackie
1 Asked on January 26, 2021
1 Asked on January 25, 2021 by user7268
1 Asked on January 24, 2021 by fmh
0 Asked on January 23, 2021 by sandy-hanna
0 Asked on January 22, 2021 by pepozzo
asset library document library modern experience sharepoint online
1 Asked on January 22, 2021 by user31823
sharepoint enterprise sharepoint foundation sharepoint server
2 Asked on January 21, 2021 by maurizio
4 Asked on January 19, 2021 by extractor
1 Asked on January 17, 2021 by shahid
1 Asked on January 12, 2021 by aquen
3 Asked on January 11, 2021
calculated column calculated column formula sharepoint online
1 Asked on January 11, 2021 by leroy
1 Asked on January 11, 2021
development post sharepoint rest api sharepoint search sharepoint server
2 Asked on January 8, 2021 by user43231
2 Asked on January 8, 2021 by whatsup
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir