I'm creating an App in Teams. When selecting the Preview option, I get "No Item to Display". The default for the form is set to "New" (see below). I have the form within a Container. I'm just beginning to learn this so I'm new!
TIA !
I suggest you just use Back() on your success screen and then use ResetForm on your screen's OnDisplay. That way when the screen loads from the success screen, it will automatically reset the form, whichever your user went "Back" from.
I'm not sure I follow your question about the RunOnStart. That looks like a collection used for navigation. How is it related to your form?
I'm in MSApps for Teams - At the top of the Tree View- there is "App" and when you right click you have the "Run OnStart" which I believe loads the variables setup when you would run the app.
I don't see the OnDisplay but do see OnVisible - is this the same?
Thanks,
Jim
So App OnStart triggers when you start the App. My suggestion is to put the ResetForm on the Screen's OnVisible (... is what I meant, sorry). Add this to each screen that has a form and ensure you are Resetting that screen's form. This will cause the form to reset whenever you switch to that screen from wherever.
User | Count |
---|---|
255 | |
106 | |
85 | |
51 | |
43 |