Forum Discussion
Americo Perez
Jun 03, 2019Iron Contributor
How to render a link to the newform.aspx in SPFx?
Hi, I have created a webpart that render the content of a list using the DetailList component. Now I want to create a link to the NewForm.aspx so when a user click on it get sended to the new item ...
- Jun 12, 2019
You can build the link like this:
https://<tenant>.sharepoint.com/sites/<site>/_layouts/15/listform.aspx?PageType=8&ListId=<listID>&RootFolder=/sites/<site>/<list name>&Source=<url to redirect after submit>
Thomas Berman
Jun 12, 2019Iron Contributor
You can build the link like this:
https://<tenant>.sharepoint.com/sites/<site>/_layouts/15/listform.aspx?PageType=8&ListId=<listID>&RootFolder=/sites/<site>/<list name>&Source=<url to redirect after submit>