Edit default homepage by formula

Hi, can anybody tell me how to access the default homepage document in the bookmark.nsf?What I have done so far is to make a Custom Welcome database, and set up a default homepage designed as a personal page with layout C.

This is pushed to the users by a desktop setting, and that works Ok.

But we would like for the top field called CompanyName to show the current users name.

It seems very troublesome to make changes in the design of the local bookmark.nsf, so I’d rather not get into that.

What I was thinking of, was to make a formula button that captured the current user’s name and inserted it into the CompanyName field of the default welcome page document.

But I have been through all views and folders in the bookmark.nsf without finding the document. And if I can’t address the document, I can’t make any changes to it.

Does anybody know where it is hiding?

Thanks in advance

Karen

Subject: you need to first locate the home page document

The current home page is a document stored in the bookmark.nsf database, not a design element.

Try this formula:

@GetProfileField( “CurrentLayout”; “CurrentLayoutKey”);

where CurrentLayout is a profile note in the bookmark.nsf database.

CurrentLayoutKey is the UNID of the current home page.

Subject: Found a solution

Hi Debbie, I found out that I could just use a FileOpenDatabase command followed by an EditDocument command, since the bookmark.nsf opens the homepage doc by default. That seemed to be the easiest for me.Thanks for taking your time

Karen