Web Editing of Document with File Upload Control

Posted on 2005-02-25
Medium Priority
Last Modified: 2013-12-18
Right now, I have a document which I would like users to edit over the web, and that's working fine. The document also has a file upload contol, though.

When the document goes into edit mode, if there has been an attachment uploaded, the option to "Mark attachment for deletion" appears.

Is there any *simple* way to prevent this option from appearing when the document is in edit mode? (I don't want users to be able to delete attached files, just edit a different part of the document).

Question by:kkiddie
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

sravikiran earned 600 total points
ID: 13408687
Use the HTML Tag <noscript> as passthru HTML on the last row of the form. Everything that follows this tag will be hidden from web clients. This works since V2 Style file attachments always appear at the bottom of the document.

In your case, you just want to hide the attachments only in edit mode. You want to show the attachments in read mode.

So, click anywhere in the row where you typed <noscript> and hide this row in edit mode (using text properties box)

Hope this helps

Author Comment

ID: 13416738
Brilliant, cheers.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

777 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