Solved

Modyifying DB Property User Activity: Record Activity ?

Posted on 2003-11-26
7
757 Views
Last Modified: 2013-12-18
Hi, there!
I'm trying to find a way to get / set the DB property "Record User Activity" - using R5.
I can get/set the "Is User Activity Confidential" option by calling NSFDbGetOptions(), but I cannot figure out how to tell notes to start or stop recoding user activity.
Is this possible? ... probably yes, with undocumented API calls ...
Does anybody know about those?
0
Comment
Question by:Badda
  • 4
  • 3
7 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9824730
Actually, the server shoudl be setting that property on every night, unless either:

a) admin turned off statlog task (very unlikely)

b) admin set a parameter which tells statlog not to turn n usage tracking (somewhat unlikely)

Otherwise, if you still need the API call, let me know.  I can only see using it if either you either are scriptig the creation of DBs that you want to enable tracking on immediately... or have a very obstinate admin.
0
 
LVL 1

Author Comment

by:Badda
ID: 9824854
Actually, this is for an Application Management tool. We dont allow users to have Manager/Designer access to production applications. Users can create / update / modify / delete / ...  applications via this tool only, so corporate standards and guidelines can be enforced.

Now, users were complaining that they cannot modify the User Activity Properties via that tool - they always have to open a call with the corporate help desk for that.

Now what I want to do is to enable this management tool to let the users change the User Activity Properties, just the way they would be able to do via the DBproperties dialog.

Thats what I need those API calls for ...
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9825350
Well, like  I said, it will be enabled for them that night whether they ask for it or not.

I thought I had some undocumented flags listed somewhere, but I can't seem to find it.

I would just do a remote console command run of statlog.  (Unless you have the "no force" INI option on, that will do it.)

0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 1

Author Comment

by:Badda
ID: 9835570
Ok, but I still don't entirely understand ....
In the DB properties dialog -> Info tab -> User Detail, there are two checkboxes (record user activity, is activity confidential). I can check/uncheck them manually and they both stay that way, no matter if statlog is running or not and no matter how long I wait.
That means, this is actually a DB property that can be set/unset by the Notes Client. To modify DB properties, the Notes Client uses the Notes API. Than in turn means, there _must_ be a way to modify this property with the API - is this right or am I missing something?

So, what would be the process for a script to
- check the "record user activity" checkbox
- uncheck the box
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 250 total points
ID: 9837798
Unfortunately, "wrong."

There are TWO core APIs in Notes.  One used by the developers of Notes and Domino.  The other, a subset, is the public API.  Since we do not have access to the internal API, we can define the API as only the pubic API.  And that checkbox used by the Notes client accesses something in the internal API that was not exposed to the external API. hence from our perspective, it is not in the API.

Further, all the checkbox does via the API), is set a flag in the database: record activity/do not record activity.  Statlog does the same thing -- it always turns the flag on when it runs, unl;ess told not to update the flag (a special NOTES.INI variable).  When you turn it off in the client, it will automatically turn on again when statlog runs... if it runs, and if it has not been told not to.  If yuo wait 24 hours, you will know whether or not it is doing this.
0
 
LVL 1

Author Comment

by:Badda
ID: 9837915
Ok, thanks for the info. I will check how I can do that with statlog. Otherwise I'll keep looking for that undocumented API property ... ;-)
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9839379
Well, if you are willing to trash your database a bit, you can try systematically setting all flag values, one at a time, that are not already documented, and see when the DB begins recording activity.  Then document it to us here!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question