Open person document for @UserName

I wanted to help users go directly into their person document in names.nsf to edit their Internet password. I was planning on emailing a hotspot button with a formula that opens their individual person document.

For some reason I’m drawing a blank-- Is there a way to do this with @DBLookup?

Thanks!

Subject: open person document for @UserName

I tried @dblookup against the ($Users) view with the [returnuniquedocid] argument followed by @command(opendocument), and while the dblookup returned the unid all right, the opendocument failed.

You can, of course, always use getdocumentbykey followed by workspace.editdocument.

Subject: RE: open person document for @UserName

The OpenDocument should work if you do a FileOpenDatabase first – but the LS version is more elegant.