Solved

How to use "LocalBrowse" on servers?

Posted on 2003-11-11
5
311 Views
Last Modified: 2013-12-18
Hi at all,
with @Prompt([LocalBrowse];"Title";"1") i open the file dialog on local. But i want the user to select a server, then select on this server a database. I need server/path/filename of his selection.

thanks for answer
bkib

0
Comment
Question by:bkib
  • 3
5 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 9721146
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9722672
That doesn't answer the question: How do you browse on a SERVER?

If you mean "fle server," then he regular LOCALBROWSE will work (go to My Network Places).

If you mean, "Browse a Domno server for ANY kind of file (databases, templates, NOTES.INI, OS file, etc.), I'm afraid you are out of luck. There's no direct way to do this.  Even the Domino Administrator client can at best do this in the Domino data directory, and that interface is not exposed anywhere, so far as I know.

If you mean databases files within the Domino directory... that is possible.  I think there might even be an undocumented command for it, but I can't remember what it is.  At worst, you make use of NotesDbDirectory to do this, and find a display interface for it.  This example on Notes.Net does exactly that...

http://notes.net/46dom.nsf/2/63d3135759664e3a852569340037df06

However, it uses a terruble interface.  Yo could instead have teh form contain a listbox that you populate with all the NotesDDirectory values, and allow he user to pick.  If you are really nice, you sort it first.  If you are really, really, really nice, you break it up by directory, only show one directory at a time, and offer options to sort by title or filename within directory.  Practicaly angelic, that.
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 500 total points
ID: 9722715
Got it!


@Prompt([OK];"";@Implode(@Prompt( [ChooseDatabase]; ""; ""; ""; "");@Char(13)))
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9722852
ChooseDatabase exists in R5, was not documented until R6.  You should put @Text(...) around it, becase if the user hits cancel, it returns a numberic value 1.  Otherwise, it returns a 3-value text list: server : filepath : title.  The paraneters are all blank; what you put in there is ignored.  You can't present a particular server... the user has to do so.  the SELECT and OPEN buttons do the same thing, except that OPEN tries to access the database before retruning the value to your formula (if the user does not have access, the user will get an access error message, and be returned to the dialog box).  If the user clicks SELECT, no check is performed, and even if the user has no access, the db values are returned to your formula.
0
 

Author Comment

by:bkib
ID: 9729840
hi qwaletee,
it works well, thank you very much

bkib
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question