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
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 Gajjar
Mar 07, 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