Forum Discussion
SharePoint Modern List - Open New Item from a Modern Page
Thanks Deleted That worked well, only problem I had was getting the user to go back to where they originated. So for example, I have general feedback link on all pages. Once a person leaves feedback they shouldn't go to the list, they should return/stay on the page they were on.
I can change the ?source value in the URL, just don't know how to get them back to the page they originated on.
Mike Dumka wrote:"only problem I had was getting the user to go back to where they originated. So for example, I have general feedback link on all pages. Once a person leaves feedback they shouldn't go to the list, they should return/stay on the page they were on.
I can change the ?source value in the URL, just don't know how to get them back to the page they originated on."
I believe the easiest way is to edit the URL of your general feedback links.
Example URL of a "leave feedback button":
https://yoursite.sharepoint.com/sites/MainSite/Lists/ListName/NewForm.aspx?Source=https%3a//yoursite.sharepoint.com/sites/MainSite&RootFolder=/sites/MainSite/Lists/ListName
Locate the source string and swap out "MainSite" with where you want to redirect the users. This will of course have to be done seperately for each feedback link/button you have on your site.
- FabvEMay 10, 2022Brass ContributorIs it possible to populate fields in the new item Form with predefined values? For example add the name of an application in the Title field?