[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2009-04-14
1
Medium Priority
?
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
daj_uk earned 1000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

649 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