Visitor's counter!

Hi:

How can I measure the readings of a document through the navigator? Like a guest counter?

Thanks for your help.

Daniel

Subject: Visitor’s counter!

Hi,

In Sandbox resource look that http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/01f39a2450fb75ab852567de00712f06?OpenDocument&Highlight=0,web,counter

or

For some Notes web databases, I uses a profile document and a formula agent in WebQueryOpen to update a visitor counter with this code:

REM {Agent run in WebQueryOpen of the form “$$NavigatorTemplate for Navigation”};

REM {Increments the counter field of Profil document};

FIELD ii := ii;

FIELD StartDateCounter := StartDateCounter;

date := @GetProfileField(“FWebCounter”; “StartDateCounter”);

nn := @GetProfileField(“FWebCounter”; “Counter”);

tt := @Text(@TextToNumber(nn) +1);

@SetProfileField(“FWebCounter”; “Counter”; tt);

@SetField(“ii” ; tt);

@SetField(“StartDateCounter” ;date)

Nota : Fields “ii” and “StartDateCounter” are in “$$NavigatorTemplate for Navigation” form

The Field of document profil “StartDateCounter” is fill manually to aditing the document profile from Notes Client

Doc. profile, agent and form must have public access (write/read) to be use by Anonymous users

With an uniqueID it’s possible creat many profile document fin one base (for more informations about Profile document, look Desiger Help)

HTH

Thierry

Subject: RE: Visitor’s counter!

Hi Thierry,

i’m going to try.

Thanks a lot

Daniel