Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Entries

photo

Bringing The Power O...

Blog:  Beyond The Ye...
Peter Presnell
Updated 
No RatingsRatings 0     No CommentsComments 0
photo

8.5.1 UNFAIL - Part ...

Blog:  Erik Brooks
Erik Brooks
Updated 
RatingsRatings 2     No CommentsComments 0
photo

8.5.1 FAIL. Your cod...

Blog:  Erik Brooks
Erik Brooks
Updated 
RatingsRatings 6     CommentsComments 29
photo

uidoc.gotoField gotc...

Blog:  Patrick Picar...
Patrick Picard
Updated 
No RatingsRatings 0     No CommentsComments 0
photo

8.5.1 Lotusscript IN...

Blog:  Erik Brooks
Erik Brooks
Updated 
No RatingsRatings 0     CommentsComments 1

Jan Schulz

Blog Authors:  Jan Schulz  

Previous |  Main  | Next

Drag&Drop to the sidebar: calling code at the D&D target?

Jan Schulz  |     |  Tags:  lotusscript drag&drop sidebar  |  Comments (2)
Dear lazyweb: I've some problems with Drag&Drop into the sidebar.

The goal: drop any notes document to a sidebar target and do some LS magic with them (create a new document, call some functions from a LS-lib -> add a eProductivity Action from any NotesDocument).
The Idea: use a Folder and the Drag&Drop/AddToFolder events, add it to a Outline, add the outline to a form, add the form to the sidebar.
The Problem: using the "QueryAddToFolder"-event (and probably "QueryDragDrop" -> couldn't get it to fire...) on a folder will not work, because the event is called on the source folder, not the target :-(

Is there any way to get to the dropped documents in the target design element? And call LS function from there?

I also thought about java sidebar views (example @ SNAPPS), but some functions are in LS and I can't replicate them in java (source is hidden) :-( And I didn't find a way to call LS from Java.

Any Ideas?

Comments

1 Karsten Lehmann      Permalink There is a way to call Lotusscript from Java, at least for Notes 8.5.1.
You can use the NotesUIWorkspace.runAgent() of the new Java UI classes.
See this blog posting for details:
http://blog.mindoo.com/web/blog.nsf/dx/11.10.2009174606KLELHE.htm

For earlier Notes versions, there might be some workarounds like launching a Notes page via Notes URL from the Java sidebar plugin code. In the page you could call the Lotusscript code and pass the URLs of the dropped Notes documents.

2 Jan Schulz      Permalink Just not foregt it: http://lotuseclipsecorner.blogspot.com/2009/11/cool-drag-n-drop-sidebar-widget.html


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.