Solved

Import files count

Posted on 2002-07-29
5
187 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
  • 4
5 Comments
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
Comment Utility
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
Comment Utility
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
Comment Utility
No they are not attachments.They are imported using @Command([fileImport])
0
 
LVL 8

Accepted Solution

by:
Jean Marie Geeraerts earned 50 total points
Comment Utility
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
Comment Utility
Sorry, I couldn't be of more help to you with this one.
Thanks for the points anyway :-)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

  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…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

8 Experts available now in Live!

Get 1:1 Help Now