I have attached image in rich text field.
rich text field is hidden from brower.
I am displaying thumbnail image & want to open the attached image in rich text field by clicking on thumbnail using javascript.
any help welcome.
Please help.
Thanks in Advance.
Subject: opening image attached in Rich text field using Javascript
You can access a file attachment from a url by using the openElement url command. I usually use a computed field to generate the url so i can access it from javascript or reference it in html easily later.
From the designer help db: the url is formatted like this:
http://Host/Database/View/Document/$File/Filename?OpenElement
I use the following formula to generate the url
“0/”+@Text(@DocumentUniqueID)+“/$File/Image.jpg?OpenElement”
hope this helps
Subject: RE: opening image attached in Rich text field using Javascript
thank you very much 