Contact Information

Chris Toohey

Like what you see? Help feed-the-beast by donating to the site and its humbly thankful author!

My Twitpic Updates
    Site Resources

    RSS Site Content
    Syndicate This Site!
    DG Banner Logo
    Advertisements
    Sorting Hat - Embedded File Browser in the Lotus Notes Client UI - Flash Preview

    06/11/2008 11:33:31 AM | Chris Toohey | Bethlehem, PA

    So last night I played around with the Embedded Windows Explorer stuff that I mentioned yesterday and came up with the following - which I'm calling Sorting Hat:

    View demo in full screen.

    In this first really simple demo - we can see the embedded Microsoft Web Browser control, which is "activated" in the PostOpen event on the UI Form Design Element and uses the value stored in the url NotesItem of the NotesDocument. This allows us to not only access remotely-accessible file stores directly from a Lotus Notes client UI, but also allows drag-and-drop from this "widget" into the UI document - pretty slick!

    a

    View demo in full screen.

    In this (yet again really simple) demo - we can see two embedded Microsoft Web Browser controls, again "activated" in the PostOpen event on the UI Form Design Element and that each use their own NotesItem from the NotesDocument for it's control (url and url2 respectively). The big difference in this example, you can drag-and-drop from one "widget" to another "widget" to move files across remote file stores - really slick!

    Now, there are some issues with this approach that I'll get into in the next few days - the biggest being that the UI Document needs to be in Edit mode from what I can tell to run the Microsoft Web Browser control. I'm working around that stuff now and expect to have this example database available for download pretty soon!

    Comment here with suggestions, thoughts, comments, and things that you want to see!


    Like what you see? Help feed-the-beast by donating to the site and its humbly thankful author!

    Comments

    John Coolidge
    06/11/2008 12:45:20 PM

    I posted a few comments on this that have not made it, but you can run it in read mode. there is a property of the control cann RunReadObly, Set it t true.

    John


    Chris Toohey
    http://www.dominoguru.com
    06/12/2008 08:56:08 PM

    @John:
    That worked like a charm! Thanks for the info - updated Sorting Hat and will be playing around with a few of the other options to see just how far I can take this...

    I posted a few comments on this that have not made it [...]
    - on here? Did you comment and it not show, or am I taking that wrong? I tend to publish all comments now and have only ever removed those that were blatantly spam. Did you have problems leaving a comment here or on another post on this site?


    John Coolidge
    06/13/2008 11:01:08 AM

    on the first post, I actually double posted

    I have a lot of related code to this as I have been using it myself for a few years, code to have the share locked down to one user, and you log into it on doc open and out on doc close, also if you get a script warning trying to work on the file in the embedded control I have code to add it to the trusted sights registry entry.


    Scott
    04/09/2009 03:02:16 PM

    Question about Read Mode: If the user is set in the ACL as a Reader with "Write Public Documents" is not checked, I get "Note Item not found". I hate it when that happens, don't you? Anyway, If I check that option it works. I hae the RunReadOnly set as True in the Properties of the Web Browser object. I know some ACL tricks to get around it (more development time), but I am hoping there is a simple setting on the object, that will solve this. Any help will be appreciated..



    Add a New Comment


    (Not Published/Public)
    Remember my Information!

    (Enter the text from the image to proceed)

    (Full markup allowed in the comment field below; play nice!)

    Live Comments Preview