EditProfileDocument @Command (Formula Language)

Creates a new or opens an existing profile document in Edit mode.

Note: This @command is new with Release 6.


@Command( [EditProfileDocument] ; 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.


This command executes immediately. Use the EditProfile @command to execute after all @functions. 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 EditProfileDocument are hidden.

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