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

Blackberry Folders –...

Blog:  Uh Clem's Adm...
Chris Mobley
Updated 
No Ratings 0     Comments 1
photo

Modifying View Selec...

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

Dogear Bookmarks

.Domino Framework

Blog Authors:  Peter Presnell  

Previous |  Main  | Next

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".
 

Comments

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.