Hi,
I have built an app based on a SharePoint list for Project Management with 7 screens which will walk the user through a process.
My trouble is that after saving data in one screen, I have to send the user back to the initial screen which is a list, and then they have to select the same project and go back again to see the updated values.
I have tried to Refresh() after save, without success. I am mostly using the Patch function for saving data.
Is there a way that you could save data and see the updates directly afterwards, without leaving the actual screen?
Regards
Lennart
I have found out that if the same data field (like my Projektfas) is used on another screen, that field is not updated, without going to the list and select the project again. So it seems that you can't bring data between two screens if you don't select the record again.
Does this make sense? How can I get the data updated? Refresh() and ResetForm() doesn't help......
My source is a Sharepoint list.
Regards
Lennart
Thanks for your answer.
My screens are more complicated, they consists of several forms, and some of the controls are built with labels and sliders, and such stuff. I had a lot of trouble to save data in the beginning, but now I am using Patch and UpdateIf rather than SubmitForm, and now almost everything works as expected.
I have attached two pictures. As you can see in the first pic, I have several tabs(screens), and when all data is entered and reviewed a decision is made by a manager before we can go to next tab(screen).
And if the decision is OK, then I Patch the "Projektfas"(Project phase) to next level and allows the User to go to next screen. But my trouble is that the new value of Projektfas doesn't show up. But if I go back to my first screen (second pic, "Project list"), there the "Projektfas" is updated and I can select to project and go to next screen. In the "project list" the projects are sorted by phase, so one can immediately see that it's updated.
I would like the Projektfas value to show up, and pass the User to the next screen directly if possible.
I am not sure that my explanation makes sense, but I would be glad if I could get some help. 🤔
Hi @LennartWalldén ,
Do you mean that your edit form could not update automatically if not navigate back to start screen and then navigate to that item?
Could you show me
1)what controls that use to update data? form or other controls?
2)your formula about the controls to fill in data ,updating and navigating?
Actually, using Refresh function should be enough.
I've made a similar test for your reference:
I use form to fill in data and submitform function to submit data. aaa is my list name.
1)form's Item:
Gallery1.Selected
2)submit button's OnSelect:
SubmitForm(Form1);Refresh(aaa);ResetForm(Form1)
3)back button's OnSelect:
Back()
Then the form will display the latest data after I submit, no need to back to start screen.
Best regards,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.