You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you scaffold up an SPFx Form Customizer extension it comes with a the following private methods:
private_onSave=(): void=>{// You MUST call this.formSaved() after you save the form.this.formSaved();};private_onClose=(): void=>{// You MUST call this.formClosed() after you close the form.this.formClosed();};
The comments indicate that we MUST call these functions when the form is save or closed. I was wondering if anyone knew or Microsoft could provide clarity on what these functions actually and why we must call. From what I can gather from their minified code is that it logs engagement and then navigates the user back to the sourceUrl which is pulled from the Source query parameter and stored in context upon form load and if no param is found it is the webs relative site url.
The business reason behind the initial question is we have a need to route users to another page upon a successful entry that isn't the page they came from. To be able to do that we will need to for go calling these method.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When you scaffold up an SPFx Form Customizer extension it comes with a the following private methods:
The comments indicate that we MUST call these functions when the form is save or closed. I was wondering if anyone knew or Microsoft could provide clarity on what these functions actually and why we must call. From what I can gather from their minified code is that it logs engagement and then navigates the user back to the sourceUrl which is pulled from the Source query parameter and stored in context upon form load and if no param is found it is the webs relative site url.
The business reason behind the initial question is we have a need to route users to another page upon a successful entry that isn't the page they came from. To be able to do that we will need to for go calling these method.
Beta Was this translation helpful? Give feedback.
All reactions