Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Entries

photo

Question: Limitatio...

Blog:  Lotus Neophyt...
Jocylyn Sy
Updated 
No Ratings 0     Comments 4
photo

Should Private Views...

Blog:  A Coder From ...
John Jardin
Updated 
No Ratings 0     Comments 1
photo

DominoDatabase.HasRo...

Blog:  .Domino Frame...
Peter Presnell
Updated 
No Ratings 0     No Comments 0
photo

@GetFile & @GetFileC...

Blog:  .Domino Frame...
Peter Presnell
Updated 
No Ratings 0     No Comments 0
photo

DominoDocument.XML

Blog:  .Domino Frame...
Peter Presnell
Updated 
No Ratings 0     No Comments 0

Dogear Bookmarks

.Domino Framework

Blog Authors:  Peter Presnell  

Previous |  Main  | Next

Modifying View Selection Formulae

Peter Presnell  |     |  Tags:  views .dominoframework reflection  |  Comments (1)

An application I am working on has the need to change view selection formuale from time to time and we wanted to avoid the need to deploy a new version of the application each and every time such a change was needed due to the high cost of the change control/release process (man I love SDLCs....)

 

Given the NotesView class has a read/write SelectionFormula property I have been able to develop an extension Domino.Reflection namespace to coordinate the activities associated with modifying the view selection formulae at run time.  A special Admin form is provided in the application which allows an administrator/developer to select a view and then change the view selection formulae directly.  I have developed a demo of this functionality that will be included in the .Domino Framework database when it is posted on the OpenNTF Web site.

Comments

1 Randy Davison      Permalink We use a view action button which builds the desired selection formula in a string (called "formula") based on responses to ws.Prompt(s). We then use the view.SelectionFormula property like so:

Set uiview = ws.CurrentView
Set view = uiview.View
view.SelectionFormula = formula

We just tell the few users who are able to change the selection criteria to close and reopen the view and voila!

Hope this helps.


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.