Solved

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

Posted on 2009-04-14
1
255 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

14 Experts available now in Live!

Get 1:1 Help Now