How to determine internal names for attachments?? (web)

Posted on 2002-04-09
Last Modified: 2013-12-18
Dear sirs,

  how can I determine the internal name of an attachment, that was attached from the Web?


The reason, why I am asking is the following: if I attach to files (into two file upload controls) with the same names or, if I attach a file that contains some characters, that are "not allowed", then

  Domino creates an internal filename for the attachment :-(

When I want to create a link to the doc, i cannot use$FILE/myFileName.doc?OpenElement

and I should use$FILE/lotusInternalFileName/myFileName.doc?OpenElement

instead of that.

But how to determine the internal filename from forula, lotusscript or whatever???


Hope somebody can help me :-)

Question by:aegressy
  • 2
  • 2
  • 2
  • +2
LVL 24

Accepted Solution

HemanthaKumar earned 150 total points
ID: 6928119
Create a computed Field Called AttNames (MultiValued), and default value set to @AttachmentNames. This will store all the internal names of the attachments.

Is this what you are looking for ???


Expert Comment

ID: 6928351
The Help Document says,

Note  If more than one attached file has the same name, the URL includes both the "internal" file name as well as the external name. Since the internal file name is not easily determined, make sure all attached files have unique names.

Well... are you facing this problem ?  If you have unique filenames then you probably wont need the internal file name at all.

Expert Comment

ID: 6928370
This guy did something by re-attaching the files.  You may try them...


Expert Comment

ID: 6931034
Doesn't it say so in the properties filed for the attachment ??? wich is wich I mean.
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline


Author Comment

ID: 7068337

  I'm sorry for answering so late - that problem wasn't the highes priority in the last few weeks and I forget this question...

  Your answer is correct, You are right, the @AttachmentNames returns the internal names for the files and I'm going to accept your proposal.

  I only would like to ask You, how can I determine actually the 'User friendly' name of the file, that Domino is attaching to the document? I need it to create links for the files and the user should be able to see, what was the original name of the file he attached.

  I think this is not a critical problem, because I can copy them from the file upload controls using a JavaScript, but I would like to know if it is possibble somehow purely with 'Notes-resources'?

Thanks for your patience.

Expert Comment

ID: 7082433
aegressy, I've spent time posting follow up requests to your open and "forgotten" questions here and taking closing actions when no response.  PLEASE remain active in your open questions here and respond to the Experts who help you with results when you get our Email Notifications.

It'll help to keep this link handy to navigate through your open and locked questions here to manage them.  Perhaps add to Browser's link toolbar, Favorites or Bookmarks.

Thanks you,
Moondancer - EE Moderator
LVL 24

Expert Comment

ID: 7090589
Notes-resources, No. You have to go with javascript as you said.

Expert Comment

ID: 7114034
Your response and finalization of this, aegressy is very much appreciated.  Big smile...from
:) Moondancer - EE Moderator

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

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…
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

19 Experts available now in Live!

Get 1:1 Help Now