EditProfile @Command (Formula Language)

Opens a new or existing profile document in Edit mode.


@Command( [EditProfile] ; formname ; uniqueKey )



Text. The form upon which the profile is based. Must exist in the database.


Text. Optional. The unique key that identifies the profile document.


This command executes after all functions. Use @Command([EditProfileDocument]) to execute immediately. See the "Order of evaluation for formula statements" topic for more details.

You can access profile documents quickly and use them to store information that you don't want in user documents and to share information across scripts within a database.

Only one profile of a given form can exist per database per key. If you create a profile without a key, Notes® assumes it's the only profile document of that form in the database. You need at least author access to create a profile document.

Documents saved with EditProfile are hidden.

This function does not work in Web applications. Use @SetProfileField to create a profile document in a Web application.


  1. This formula opens Mary Tsen's Interest Profile in a discussion database.
    @Command([EditProfile];"Interest Profile";"Mary Tsen/Worksavers/US")
  2. This formula creates a Calendar Profile document for the current user or opens the user's existing Calendar Profile.
  3. This formula creates a new Archive Profile document for the current database or opens the Archive Profile in Edit mode if it already exists.
    @Command([EditProfile];"Archive Profile")
  4. This formula when used in the Domino® Directory opens the Server\Setup Profile document.