Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Entries

photo

DWA Hotfixes for Dom...

Blog:  CrashTestChix
Marie L Scott
Updated 
No RatingsRatings 0     No CommentsComments 0
photo

Folder Unread Marks ...

Blog:  Lotus Nut
Chris Whisonant
Updated 
No RatingsRatings 0     No CommentsComments 0
photo

Wish List Item 1 DWA...

Blog:  CrashTestChix
Marie L Scott
Updated 
No RatingsRatings 0     No CommentsComments 0
photo

All spelling errors ...

Blog:  Uh Clem's Adm...
Chris Mobley
Updated 
No RatingsRatings 0     No CommentsComments 0
photo

RSS Feeds for Domino...

Blog:  Life is too s...
Barbara Skedel
Updated 
No RatingsRatings 0     CommentsComments 3

Life is too short to drink che...

Blog Authors:  Barbara Skedel  

Previous |  Main  | Next

Change DWA Preference defaults

Barbara Skedel  |     |  Tags:  defaults dwa preference  |  Comments (7)
Does anyone know what form(s) I need to modify to change the default setting for all list-type views from show all documents as a scrollable list to show documents one page at a time (faster load time)? This is on the basics tab under preferences. My management is asking that we change this for all mail files, as well as prevent the user from modifiying it.



Comments

1 Chris Whisonant      Permalink I've never looked into modifying this in the templates. From looking at the 8.5 Public Beta and even technotes, there will be a Lotus iNotes tab in the Mail Policy. However, the scrollable list option is not one that's appearing in the policy document (at least not in Public Beta 2).

2 Barbara Skedel      Permalink That's what I was afraid of. Searching the Domino support pages, it appears that if you know the name of the field you can run an agent against the inotes profile document and change the value, so now I'm trying to see if I can find out what the field name is.

3 Chris Whisonant      Permalink You should be able to figure it out using NotesPeek... :)

4 Dale Cole      Permalink I thought about this and this is what came to mind. I haven't tested this so it is "in theory."

1. You manually make the changes through preferences within the database.

2. If that change could be made within the Lotus Notes client, all you would have to do is open the template in the Lotus Notes client and make the change in the template. Then all databases that inherit from the template would have this change. Although the user can change it back, but at 1am when the design task runs on the server it will change it back to what the template has. :) Don't know if you can make the change within the Lotus Notes client.

3. If not, then you can find which view (or form) by looking at the view (or page) properties in the browser - right mouse click on the webpage and choose properties. If that doesn't work then you would have to go through the web views (or web forms or just forms) for the template in the Designer database.

Hope my thoughts were somewhat helpful?

5 Barbara Skedel      Permalink You cannot make the change in the Notes client. I found an agent that I can run against the mail file that will change the field value on the iNotesProfile document:
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim Count As Integer
Set db = session.CurrentDatabase
Set doc = db.GetProfileDocument("inotesprofile")
count = "1"
doc.ListViewType = count
Call doc.save(False,False)

I tested this against one mail file and it works. However, it doesn't prevent the user from changing it back. I have yet to find how this field gets set by default so when new mail files are created it would already be set as we want. I just plan on running the agent once a week against our mail files.

6 Chris Whisonant      Permalink Good to know! Is there an inotesprofile document in the template, by chance?

7 Barbara Skedel      Permalink Chris, I couldn't find it in the mail template; However, I did find information in the Domino Web Access 7 Customization redbook on how to change the default settings for preferences. You modify the s_MailPreferenceEditCode form in inotesX.nsf (where X is the version of Notes you are using, ie inotes8.nsf)

In order to change the default of the option in the profile document, the form s_MailPreferenceEditCode has to be modified. This form contains the code to set the default values in the preferences form.

To modify the default, open the form in Designer and search for the string you want to change the default setting for (ex. ListViewType|0) and change the value (ex. ListViewType|1). Save end exit the document.

This has to be done on your registration server so that when the new mail file is created it picks up the new default setting.


Previous |  Main  | Next
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About

Tags

A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.