Renaming an object, subprogram, or class

For Formula, JavaScript, LotusScript, and Simple action(s) you can rename an object by changing its name in its Properties box. The programming attached to that object will automatically be associated with its new name. An agent may be renamed without affecting the Java in it. You must change any references to the object; for example, calls to methods that reference the name of the object.

To rename a subroutine or function, edit the script that defines it. If you change the name of a Domino-defined subprogram such as Initialize or Click, a new user-defined subprogram with the revised name is created and automatically added to the Info List. The script from the original event is moved to the newly-created subprogram, and the original script becomes empty.