Solved

How can I tell if a RTF-lite field contains a PDF file?

Posted on 2009-04-14
1
258 Views
Last Modified: 2013-12-18
I have multiple RTF-lite fields witth various names in Notes documents. I need to put icons in a view to show if these fields contain PDF files loaded to or not.
Previously, I loaded a single PDF to a standard RTF 'body' field, and used @attachments function to determine this, but with the multiple RTF-lite fields this does not seem to work.
My first idea was to test the @length of the RTF-lite field, but I can not get thet to work either.
0
Comment
Question by:trnie
1 Comment
 
LVL 5

Accepted Solution

by:
daj_uk earned 250 total points
ID: 24147009
@AttachmentNames returns that names of any attachments to the document, including those on an RTLite filed.  Using this you could work out if it is a PDF and show an appropriate icon on the view column....

In my example, I created a Column with the following formula

@If(@Contains(@UpperCase(@AttachmentNames) ;".PDF");5;0)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

777 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