?
Solved

Import files count

Posted on 2002-07-29
5
Medium Priority
?
193 Views
Last Modified: 2013-12-18
Is there any way to count the number of files imported into a richtext field.I have a employee form which should display the employee's photograph.I need to keep a check of the number of files imported and the type of files.
Is there any way to do this.
0
Comment
Question by:sampa
[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
  • 4
5 Comments
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 7187388
Are the files attachments in the rich text field ?
Is it okay if the info is displayed in a view ?

If you answer yes to both of above questions here's a possible solution:

In a view insert the following two columns:
1. Display the number of attachments
Formula : @Attachments
2. Display the file types
Formula : @Unique(@RightBack(@AttachmentNames; "."));
Indicate the seperator to display multiple values in this column (if you use new line, don't forget to make sure that the view can display multiple lines per row). @Unique makes sure that multiple attachments with the same file extension only show up once as a file type. If you really want to see all file types, leave out this part of the formula, so it's just : @RightBack(@AttachmentNames; ".");

If this is not what you want, please comment and tell us what exactly it is you want to do.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 7187394
To count the attachments, just add a total to the column with the @Attachments formula and you will see in the total the total number of attachments.
0
 

Author Comment

by:sampa
ID: 7188238
No they are not attachments.They are imported using @Command([fileImport])
0
 
LVL 8

Accepted Solution

by:
Jean Marie Geeraerts earned 150 total points
ID: 7190085
Once they are imported the files become part of the rich text field and are no longer recognized as a seperate item in your notes document.
During import the files are translated to an embedded picture, regardless of the format they were originally in.

If you for example import an excel spreadsheet, this will automatically be converted to a table in your rich text field.

You can only check for the availability of attachments, so I'm afraid it can't be done.
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 7208320
Sorry, I couldn't be of more help to you with this one.
Thanks for the points anyway :-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
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 …
Suggested Courses

801 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