Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Blogs

photo

Yellow is the...

55 Entries |  Tim Tripcony
Updated 
No Ratings 0     Comments 22
photo

TexasSwede

66 Entries |  Karl-Henry Martinsso...
Updated 
No Ratings 0     Comments 59
photo

Lotus Nut

69 Entries |  Chris Whisonant
Updated 
Ratings 4     Comments 96
photo

Urs Meli

19 Entries |  Urs Meli
Updated 
No Ratings 0     Comments 14
photo

Uh Clem's Adm...

35 Entries |  Chris Mobley
Updated 
Ratings 5     Comments 42

Dogear Bookmarks

.Domino Framework

Blog Authors:  Peter Presnell  

All entries tagged with views

DragDrop To A View

Peter Presnell  |     |  Tags:  views dragdrop folders  |  Comments (0)
By default Notes only supports the dragging/dropping of documents into a folder.  The following is a technique developed for an application allowing the simulation of dragging a collection of documents into a view:-
  • For each view to support drag/drop create a new (dummy) folder.  The design of the folder does not matter as it is never opened/used.
  • Modify any outlines used to link to the dummy folder instead of the original view
  • Place the following code into the QueryOpen event of each dummy folder forcing the associated view (or page with embedded single category view) to open instead of the folder when selected from the outline.
Sub Queryopen(Source As Notesuiview, Continue As Variant)
    Dim UIW As New NotesUIWorkspace
    Continue = False
    Call UIW.SetTargetFrame("NotesView" )
    Call UIW.CurrentDatabase.OpenView("Viewname" )
    or
    Call UIW.OpenPage("Pagename" )
End Sub

  • Modify the database's Postdragdrop event to evaluate continue = false, preventing documents being placed into these dummy folders.
  • Finally, add the code to the Postdragdrop event to perform the  desired task for a collection of documents being "dropped in the view".
 

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.


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.