Solved

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

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

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


--------
Note:

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 :-(

Ok.
When I want to create a link to the doc, i cannot use
  http://www.experts-exchange.com/lotus_view/lotus_doc/$FILE/myFileName.doc?OpenElement

and I should use
  http://www.experts-exchange.com/lotus_view/lotus_doc/$FILE/lotusInternalFileName/myFileName.doc?OpenElement

instead of that.

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

---

Hope somebody can help me :-)
Thanks!

Aegressy
0
Comment
Question by:aegressy
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 24

Accepted Solution

by:
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 ???

~Hemanth
0
 
LVL 9

Expert Comment

by:Arunkumar
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.
0
 
LVL 9

Expert Comment

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

http://www.notes.net/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/8724afef047f975885256aa2004cf10a?OpenDocument

:-)
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

Expert Comment

by:EricMD
ID: 6931034
Doesn't it say so in the properties filed for the attachment ??? wich is wich I mean.
0
 

Author Comment

by:aegressy
ID: 7068337
HemanthaKumar,

  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.
Regards
Aegressy
0
 
LVL 1

Expert Comment

by:Moondancer
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.

http://www.experts-exchange.com/jsp/memberProfile.jsp?mbr=aegressy&showQHistory=true

Thanks you,
Moondancer - EE Moderator
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 7090589
Notes-resources, No. You have to go with javascript as you said.
0
 
LVL 1

Expert Comment

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

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus notes forward mail problem 5 404
Migration: Lotus Notes to Exchange 2013 10 328
All incoming messages are coming as read 3 38
LotusScript: Merge Data to Word File 22 92
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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