Home Server

How can I select a folder

edited March 2004 in Server
Hi Nard,

can you tell me a easy way to select a folder.
The Explorer starts the first time with a closed tree.
And I must click in my tree every Folder manual.
Now I want that my Explorer start for example on the last Folder,
exist a way to do this.
I see that you use a function in JavaScript.
JavaScript: SelectFolder('v0d0d0d0d0d6',true);

Regards
Beach

Comments

  • edited March 2004

    If you run the webtier demo, you will notice that when you preview a report
    and subsequently use the explorer button to return the report explorer the
    current folder is restored. This happens via a URL parameter such as

    ?content=explorer&folder=v0d0

    Where vX is the volume number starting with 0 (i.e. 0 is the first parent
    folder)

    And dX is the directory or child folder path starting with 0. So d2d0 whould
    be the third child folder which itself has a child folder. If that makes
    sense.

    Play with the live demo and not the URL displayed in the previewer and you
    will see what I mean. Or look at the Javascript.

    The above works for an existing session. However, for a new session you
    would need to modify the TreeView.htm file that is generated and specify a
    different value for the gCurrentFolder variable declared in the Javascript.
    It is initialized to

    gCurrentFolder = 'v0';

    Timing wise you would probably use the techniques shown in the WebTier
    custom parameters demo.




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.