LotusScript to change location document name
I know this is possible but I don't know how its done. I need to run some LotusScript that will allow me to only change the location document name to my company's name on our Lotus Notes client. I already have the script that deletes the location doc. Can anyone offer me any suggestions?

Software/Hardware used:
ASKED: June 26, 2008  7:32 PM
UPDATED: July 8, 2008  2:47 PM

Answer Wiki:
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?
Last Wiki Answer Submitted:  July 8, 2008  2:47 pm  by  CsHardwick   30 pts.
All Answer Wiki Contributors:  CsHardwick   30 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _