RATE THIS ANSWER
0
Click to Vote:
0
0
Last Answered:
Jul 8 2008 2:47 PM GMT
by CsHardwick
What are you trying to accomplish exactly? The location document is just a document, like any other document. If you "already have the script that deleted the location doc", then you clearly know how to get a handle on the doc in question. If you just want to rename it, your can look at the document properties and see what field contains the name (look for "title" or "Name"--or examine the design of the form to get the fieldname. Then it's just a simple doc.fielname="newname" and doc.save(true,false,false).
But I gather there is more to it than that and I'm just not getting it from the question. Can you elaborate?