?
Solved

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

Posted on 2009-04-14
1
Medium Priority
?
263 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

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