The code snippet linked below is used to dump all the list fields to a file to enable me to recreate the list when investigating a possible bug in DFFS.
How to use the snippet
Go to the DFFS enabled list you want to copy, and change the URL from …/Lists/ExampleListName/ExampleViewName.aspx to …/Lists/
ExampleListName /NewForm.aspx.
Hit F12 to bring up the developer console and paste the code directly in the console and hit Enter.
This will download the field definition as a file that you can email to me or attach in a forum post.
The file only contains the name and description of the fields, and choices in a choice field so there should not be any compromising information in the file.
I’ve found an error in the code (line 275):
_spPageContextInfo.webServerRelativeUrl.substring(0, _spPageContextInfo.webServerRelativeUrl.lastIndexOf(“/”))
produces in my case “/sites”, but it should produce “/sites/010”.
If I replace the faulty code with “/sites/010” it delivers the text file as promised.
Thanks, I didn’t test it on a managed path root site. Please test the updated version and let me know if it works.
Alexander