Forum Discussion
SharePoint Modern List - Open New Item from a Modern Page
Hi There,
I am trying to figure out how to get users to add a new list item (Modern Experience/Sliding Panel) from a link on a Modern Page.
I am looking for the same experience that a user would have if they were actually viewing the list. I know there must be a way to do this, I just have no idea!
Thanks!
14 Replies
- Wagner CoxCopper Contributor
Mike Dumka I had the same requirement and did a work around using the "Embed" modern web part. This way, I kept the existing experience from the form list. The only catch with that is your new item form will load inside the Embed web part, so you have to work with the space in the page to display properly.
I hope that will help you.
-Wagner
- UmangSoniCopper Contributor
You can double click on New button for opening full screen from
Same applies for edit button as well
- DeletedSo you can't particularly make the new item fly out of the right side of the screen, however you can give them modern UI form to fill out from a link.
Just go to the list where you want the form from. Click on New. then when it slides out from the right side Along the top you will see a copy link button. Click that and use that link, and it'll get you to the new modern form, just won't be along the side like it does from the list itself.- Mike DumkaIron Contributor
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.
- TormodSCopper Contributor
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.
- Noel LeeCopper ContributorHi, when I click on "New", there isnt a panel that slides out on the right, instead clicking new redirects me immediately to another page. Is there a way to get that panel on the right back?
- Mike DumkaIron Contributor
Noel Lee You would go into ...
List Settings > Advanced Settings > Open Forms in Dialogs (Yes)
That should help you out :)