Solved

Show documents in a list (view?)

Posted on 2001-08-13
7
188 Views
Last Modified: 2013-12-18
Hello

I need to be able to add documents to a LN database, and I want to show a list of available documents in a list.(hopefully a view?) We would like to have the document selectable immediately from the list though, not select the line and then select the document from the next page. You can't seem to display Rich Text in a view, so has anyone got a technique for what I want to do? We only need to display in a Web Page, so maybe some magic with HTML?

Thanks
0
Comment
Question by:lawrie
7 Comments
 

Expert Comment

by:Moonshadow
ID: 6381682
Hi,

Have you tried setting the "Show Values in this Column as Links" setting?  It's in the column properties, on the little "beanie" tab.  In a web view, this will cause the view data to be clickable as a hyperlink.

You could then use the document name/path as the data of a given column in the view and just click the link to launch the document.

Dave
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 6383800
i guess he is looking for something else since these links will be used to open only one document at a time !
0
 
LVL 1

Author Comment

by:lawrie
ID: 6385076
The option you mention means that the link will go to the document. I want to be able to jump straight to the imbedded document. I discovered I can do exactly what I want by setting the launch option for the form, but only for the Notes version .. I need it to work on the web version.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Expert Comment

by:zvonko
ID: 6399193
Hello lawrie,

If I understud you right, than you like to open the document attachements directly from the view; right?

If so, than add this column formula in a view column where you like to have this AttachementDirectOpen option:
@If(@Attachments;"[<!-- "+@AttachmentNames+" --><A HREF=/"+@Subset(@DbName;-1)+"/AllDocs/"+@Text(@DocumentUniqueID)+"/$FILE/"+@ReplaceSubstring(@AttachmentNames;" ";"+")+" target=new_window>"+@AttachmentNames+" </A>]" ;"[<!-- "+@AttachmentNames+" -->"+@AttachmentNames+"</h7>]")

The first html comment is only to have the attachments in alphabetic oreder (if you like to have it).
Also it is not absolutely necessary, but allways good, to have this "AllDocs" view sorted in first column with DocIDs. It works also without the view :-))
The @ReplaceSubstring is a comfort to allow blank chars in attachment file names.
Change target=new_window according to your preferencies. Other option: target=_top
The string  "</h7>]" is only to have correct ended html passtrou. You can take enything else with ending >]

Try it. <|;-)

Regards,
zvonko
0
 
LVL 10

Accepted Solution

by:
zvonko earned 100 total points
ID: 6399222
Sorry, reading my formula I saw that the ELSE part is absolutely nonsense :-) (...but not causing errors...)
Take this one:
@If(@Attachments;"[<!-- "+@AttachmentNames+" --><A HREF=/"+@Subset(@DbName;-1)+"/AllDocs/"+@Text(@DocumentUniqueID)+"/$FILE/"+@ReplaceSubstring(@AttachmentNames;" ";"+")+" target=new_window>"+@AttachmentNames+" </A>]" ;"[<!--  -->]")

This is when you allways work with cut'n paste; without reading...

Of corse you can reduce the string "[<!--  -->]" to "", but in first column is the nonblank string better...

So long,
zvonko
0
 
LVL 1

Author Comment

by:lawrie
ID: 6406682
Excellent - exactly what I wanted. Best answer I have ever gotten!

Thank You!
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6406710
Thanks for the points and for the feedback <|;-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Encrypted Mail message in a NSF 10 29
Mobile Iron iphone stop receiving new mails 6 1,230
Lotus notes error message 6 94
Add a cc field to email code 6 97
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

864 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now