Solved

Import files count

Posted on 2002-07-29
5
191 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 50 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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