[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.7

Get values from view entries

Asked by shuboarder in Lotus Notes, Lotus Domino Email Server

Tags: Lotus Notes, lotusscript

Hi,

I've got an idea that I am struggling to develop.
We have a self developed database catalog that has information on each of our databases.
We have 5 fields in our database documents where we can add "related databases" i.e. dbs we link to etc.

What I would like to do is create a portal type of linking system so that from within any of our databases we can link to the related databases based on our catalog information.

So far I have come up with the idea of creating a view in our catalog that displays database name in first column and related databases in second column.

i.e.

Database Name       Related Databases
HR Database
                                HR News
                                HR Statistics

etc.

I would then like to embed this view into a page in any database showing single category based on current database name (@dbname)

So far so good...

Now the tricky part!

I would like it so that whenever someone clicks one of these documents in the embedded outline it takes them to that database and not the document in our catalog.

In the example above in our HR Database users would see the page with the embedded view and the 2 related databases. If they click the line that says HR News, then the HR News database will open etc.

The code below is a mess and will not work I know, but hopelly it will sort of give an idea of what I am trying to do.

I'm open to suggestions on better ways of achieving this etc. and appreciate any help you can provide.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
Sub Queryopendocument(Source As Notesuiview, Continue As Variant)
	Dim sess As New NotesSession	
	Dim ws As NotesUIWorkspace
	Dim db As NotesDatabase
	Dim CurrentServer As String
	Dim doc As Notesdocument
	Dim folder As String
	Dim dbname As String
	
	Dim uidoc As NotesDocument
	Dim uiview As NotesUIView
	
	Continue = False ' Don't open the document
	
	Set ws = New NotesUIWorkspace
	Set db = sess.CurrentDatabase
	
	' Need to now get the selected view entry, take whatever is displayed in column 2 and then perform a lookup on this value
	' When we find the database in our catalog we can open by replicaID or folder / filepath
	
	folder = uidoc.FieldGetText("Folder")
	dbname = uidoc.FieldGetText("DatabaseName")
	
	CurrentServer = db.Server
	
	Call ws.OpenDatabase(CurrentServer, folder & "/" & dbname)
End Sub
[+][-]06/18/09 05:16 AM, ID: 24656609Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Lotus Notes, Lotus Domino Email Server
Tags: Lotus Notes, lotusscript
Sign Up Now!
Solution Provided By: tomsparrow
Participating Experts: 2
Solution Grade: A
 
[+][-]06/18/09 06:45 AM, ID: 24657311Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/18/09 07:05 AM, ID: 24657468Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/18/09 07:43 AM, ID: 24657925Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/18/09 07:58 AM, ID: 24658095Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/18/09 08:33 AM, ID: 24658474Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/18/09 08:36 AM, ID: 24658505Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/18/09 08:39 AM, ID: 24658534Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/18/09 08:39 AM, ID: 24658538Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/19/09 03:30 AM, ID: 24665121Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07/02/09 08:51 AM, ID: 24764670Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/02/09 08:57 AM, ID: 24764736Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/02/09 08:58 AM, ID: 24764754Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/02/09 09:01 AM, ID: 24764780Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/02/09 09:02 AM, ID: 24764785Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/02/09 09:03 AM, ID: 24764808Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/02/09 09:20 AM, ID: 24764961Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/02/09 09:22 AM, ID: 24764990Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/02/09 10:30 AM, ID: 24765602Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/15/09 05:57 AM, ID: 24858750Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/15/09 06:09 AM, ID: 24858854Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625