none
PowerApps command issues RRS feed

  • Question

  • Hi.

    I really need som help w my App.

    I've built a 5 screen app and can't figure out how to submit my basic user data and after that in the same button (command) return after submitting the data to the Editform. The data saves ok to the register but returns to the wrong post. I need something like (I'm soo bad at the formulas):
    SubmitForm(EditForm1);; Navigate(EditForm1)

    "want to navigate back to the same screen and same EditForm from where I saved my data"


    I’ll try ty explain my problem a little bit better.

    I have this StartScreen (BrowseScreen1) w the register linked to a Sharepoint list.

    It goes to DetailScreen1 where I can see the data in the object

    When I push the Newobject button it opens 5 different forms for the 5 different input screens.
    and navigates to the first EditScreen1 and in to the Editmode for the form (FylliForm1)

    The formula:

    NewForm(FylliForm1);;NewForm(FylliForm1B);;NewForm(FylliForm2);;NewForm(FylliForm3);;NewForm(FylliForm4);;NewForm(FylliForm5);; Navigate(FylliForm1; ScreenTransition.None)

    Here I put in the basic data like user, title, date etc..

    I’m now in Editmode of my first form FylliForm1;

    How can I from here save/submit the data into the register and after this successful save navigate

    directly back into this particular FylliForm1 on EditScreen1?

    When I use this command: SubmitForm(FylliForm1) and use

    OnSuccess: Navigate(FylliForm1;ScreenTransition.None)

    It saves the data successfully but takes me back to a different register post’s FylliForm1
    (one that has been saved a long time before)
    I need a formula that takes me back to the one I submitted data from w the Navigate command..

    I don’t know how to combine my command so it finds the BrowseGallery1.Selected I’m currently working with.

    Does this make sense to you guys?

    Please advice..

    Best regards Michael

    Saturday, November 3, 2018 1:15 PM

All replies