Problem solve Get help with specific problems with your technologies, process and projects.

Copying a form object using LotusScript

How to copy a form object from one database to another using LotusScript.

Is there a way, in LotusScript, to copy a form object (notesForm) from one Notes database to another?

Yes, you can use the NotesNoteCollection class to locate the form you want to copy and get its Note ID. Use the Note ID to open it as a NotesDocument object. This lets you use the CopyToDatabase method to copy the design note. You will need to use the Sign method to restore the signatures on the document, to prevent ECL warnings to users.

Do you have comments on this Ask the Expert Q&A? Let us know.

Dig Deeper on LotusScript

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...