Pennywisdom
asked on
Linking a file
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?
Can anyone help me out?
ASKER
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
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
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
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
ASKER
Right now it's for notes but I have to consider that eventualy it will be for the web also
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I insist
:)
:)
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
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
ASKER
Thanks Arun, it works great.
Now if I can just find a way to make it uneditable, i'll be all set
Now if I can just find a way to make it uneditable, i'll be all set
There are a couple of ways to insert an attachment.
But they need all an editable field.
Greets,
Sloeber
But they need all an editable field.
Greets,
Sloeber
ASKER
Thanks for your help, Sloeber too
Hey sloeber!
Which question you are talking about ? Can you send the link to that ?
Which question you are talking about ? Can you send the link to that ?
Here's the link
https://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=lotusnotes&qid=20163818
Thanks in advance
greets,
sloeber
https://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=lotusnotes&qid=20163818
Thanks in advance
greets,
sloeber
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