Hi, what I'm trying to accomplish is having a button "Reset" that when is pressed, it does fill some of the fields in a form, I tried by using a variable in the OnSelect property of the button :
the variable is a boolean of course, and in the DataCardValue Default property I put this :
If(_var = true; "17,00"; _var = false; Parent.Default)
So when the variable is true it will show the 17,00 value, when false it shows the value from the source, which is a SharePoint List at the moment.
But when the 17,00 value is displayed, if I submit the form (with a "Save" button), the value on the list does not change.
With this Reset button I am supposed to put this value(which is always the same) in the field/fields(which will always be the same aswell), then submit the form, and then Refresh the source :
If(_var = true; "17,00"; _var = false; Parent.Default);;
Thanks for any help/suggestions!
Solved! Go to Solution.
Hi @yashag2255 , the Update property of the DataCard is "DataCardValue55.Text" which is the DataCardValue I was talking about previously, the type of data is Text, on the SharePoint list is Single Line Text, on PowerApps also all DataCardValues have the Form property set to "TextFormat.Text".
Also in all fields there will be only numbers with commas.
ok, I tried on a testapp with another sp list and it works for me too.
I guess there is a problem with the SharePoint list in some area of my app.
I'll try to figure out what is preventing the sp list from being updated,
EDIT : nevermind, is just this field which is not being submitted
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications