Forum Discussion
Dhiran Gajjar
Oct 06, 2021Iron Contributor
Copy Link not working
Hi, I have customised a SharePoint list form and I cannot get the url from the "Copy Link" button. Is this something anyone else is seeing? Dhiran
Dhiran Gajjar
Oct 06, 2021Iron Contributor
Hi,
The copy link button when the new form is opened is supposed to give you a link to the new form so that you can link it to a button on a page if you want. I have used this before for other sites but when I try it now the copy link doesn't return anything.
The copy link button when the new form is opened is supposed to give you a link to the new form so that you can link it to a button on a page if you want. I have used this before for other sites but when I try it now the copy link doesn't return anything.
AngelaJ1s
Mar 07, 2023Copper Contributor
Hi, has anyone found a way to get the copy link to work on a new form. I haven't had a problem on other custom forms, but I do now.
- Dhiran GajjarMar 08, 2023Iron Contributor
Hi AngelaJ1s,
The only way I have managed to do this is to modify other links I have been able to get. So for you, you would need to modify this link to suit your environment,
.
https://<SITEURL>/_layouts/15/listform.aspx?PageType=8&ListId=%7b<LIST ID>%7d&RootFolder=<ROOTFOLDER>&Source=<RETURN LOCATION>
LIST ID - If you go to your list settings, you can get the guid from the URL on the settings page.
ROOT FOLDER - This will be the location of your list, for example, /sites/mysite/Lists/Listname
RETURN LOCATION - Where do you want to return the user once they complete the form action
Hope this helps