
Make sure all the above correspond to your actual exact Status value choices and that use use those same exact values for the Update properties of your Edit forms. "Management Review", SubmitForm( FormManagmentReview), //Note: assuming this status as an example "Marketing Review", SubmitForm( FormMarketingReview), //Note: assuming there is such a form for marketing review "New", SubmitForm( FormCoordinatorReview), //Note, this form would have the above formula for the status No Patching needed.Īlso, you would do this on each EditForm you have for different stages of your record.which you will want to base off of a different check box for that stage.Īs for your OnSave, I'm not sure of all your status values and form names, so I will improvise a little, and that would still simply be the following: When the form is submitted, if the box is checked, then the Status column value will change/update to the value above.

In this case, you can have in your Update property for the datacard for the Status column the following formula: So, let's say you have a CheckBox on your Screen for "Complete, Send to Marketing" called chkCompleteForMarketing Then, for the Update property for the datacard, you will want to set the value based on your conditions. This is easily done by setting the Visibleproperty of the datacard to false. What I would recommend is to instead look at the Default and/or Update properties of the Status column DataCard in your EditForm.įirst, you indicate you don't want it to be displayed. In PowerApps controls and fields and such all "derive" their values from other places rather than through assignment (like if it was a development language). You need to look at it from another perspective. Or something else? Or not trying to set a field like that is not allowed. Or do I need to add some hidden control on my form that says eg: CurrentStep, then grab this value in OnSave? Is there a variable for the current screen or form I can pull through? eg: If(This.Screen = "ScreenCoordinatorReview", SubmitForm(FormCoordinatorReview), do something else) OnSave If(SharePointFormMode="CreateForm", SubmitForm(FormNewSubmit), If(SharePointFormMode="EditForm", SubmitForm(FormMasterEdit))) Now I want to be able to save the correct form based on the current screen or form, whatever works. OnEdit If( = "New", EditForm(FormCoordinatorReview) Navigate(ScreenCoordinatorReview,ScreenTransition.None), EditForm(FormMasterEdit) Navigate(ScreenMasterEdit, ScreenTransition.None))
#CODE ON TIME SPECIFY DIFFERENT EDIT FORM HOW TO#
I have figured out how to get the different Edit form to show based on the Status value, no problems! I actually have several different edit screens and forms as we move through the approval process. This is to move through an approval process. I am customising sharepoint list forms with powerapps, and have different new, edit and view screens and forms set up.
