Solved

Linking a file

Posted on 2001-08-08
12
182 Views
Last Modified: 2013-12-18
I want to have a button that adds a linked file to a richtext field. This button should display a "Open file" dialogue box and nothing else and should display the file as an icon.

Can anyone help me out?

0
Comment
Question by:Pennywisdom
  • 5
  • 5
  • 2
12 Comments
 
LVL 4

Expert Comment

by:sloeber
ID: 6364114
What do you really want ????????????????????
Attachments ????????
Can you give us else an example, because I don't know what you really want ?
Do you want in a rich text field icons(attachments) ?
You can just copy-past the file and he place an icon for you.
Or do you want a dialog list with several files, and if you choose one, he add that in to your rich text field ?
If you do that than all the icons are the same.

Greets,
Sloeber
0
 

Author Comment

by:Pennywisdom
ID: 6364171
What I realy want is a field that displays all the attachements but that the user can't edit. I want a button that would add attachements to this field always in the same way. Because right now the user can add files as icons or the contents and that's a problem. I don't want the user to be able to display the contents of a file in the documents.

So if the user wants to add a file I want to follow these steps:
1) Click on the button
2) Choose a file from an open file diologue box
3) the file is added (as an icon) automaticly to the field
0
 
LVL 4

Expert Comment

by:sloeber
ID: 6364274
What you want is how the attachments work on the web.
If your databse is a webdatabase, just choose create ==> embedded element ==> file upload control
Else if it's a db for the client, you must use Lotusscript for doing the same thing. But that isn't so easy.
So, is it for notes or for the web  


Greets,
Sloeber
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

Author Comment

by:Pennywisdom
ID: 6364365
Right now it's for notes but I have to consider that eventualy it will be for the web also
0
 
LVL 9

Accepted Solution

by:
Arunkumar earned 100 total points
ID: 6365468
For now,

Use the
@Command([EditGotoField];"FIELDNAME") along with
@Command( [EditInsertFileAttachment] )

Web information will follow if you insist.

:-)
Arun
0
 

Author Comment

by:Pennywisdom
ID: 6365714
I insist

:)
0
 
LVL 4

Expert Comment

by:sloeber
ID: 6367008
Arun,

Then your field is still editable.
And you can add also other information, and I thought that he don't want to have the possibility to add other things as attachments.
For the web, just add the embedded element =>Upload Control
It does what you want

PS: Arun, did you've a look to my question


Greets,
Sloeber
0
 

Author Comment

by:Pennywisdom
ID: 6367747
Thanks Arun, it works great.

Now if I can just find a way to make it uneditable, i'll be all set
0
 
LVL 4

Expert Comment

by:sloeber
ID: 6367791
There are a couple of ways to insert an attachment.
But they need all an editable field.

Greets,
Sloeber
0
 

Author Comment

by:Pennywisdom
ID: 6367810
Thanks for your help, Sloeber too
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 6368142
Hey sloeber!

Which question you are talking about ?  Can you send the link to that ?
0
 
LVL 4

Expert Comment

by:sloeber
ID: 6368164
0

Featured Post

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.

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 and VMWare require a double-click 22 1,397
Querying received e-mails from an agent 7 205
IBM Notes 9 crashed when open any attachment file 16 487
attaching a file lotus notes 4 110
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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