Forum Discussion
SharePoint Online - Form for a List
Hi JFM_12
you can get the "New" form of every list by replacing the view aspx name with "NewForm.aspx" like
https://<tenant>.sharepoint.com/sites/<site>/Lists/<List>/NewForm.aspx
You can embed that into a page using the "Embed Webpart". But that form redirects you back to the list after you created an element. But you can use the "Source" parameter to force the form to redirect the user somewhere else.
I assume that you want to build something like custom list experience on a page (let's call it "CustomListPage") where you customized the list view. Now you want to give your users the possibility to add a new item.
You could just add a button on that "CustomListPage" page instead of embedding a form.
The button then redirects the user to
https://<tenant>.sharepoint.com/sites/<site>/Lists/<List>/NewForm.aspx?Source=https://<tenant>.sharepoint.com/sites/<site>/SitePages/CustomListPage.aspx
The effect would be that the user will be first redirected to the list form. After pressing "Save" or "Cancel" the user will then be redirected back to your site where your list webparts displays the updated data.
Best Regards,
Sven
Thank you very much.
That let's the user jump between 2 screens Think would be more direct instead of changing screens.
I guess to have to stick to forms.
Regards and have a great day
JFM_12