Solved

Prevent editing in preview pane?

Posted on 2002-03-15
2
380 Views
Last Modified: 2013-12-18
Is it possible to prevent a user from opening a document for edit in the preview pane?

Something that comes to mind is a javascript that I've seen on web pages that says if a page is opened into a frame, it reopens itself without the frame. If you can't prevent editing in the preview pane, could something like that be done so when you open in edit mode it opens it as the whole document rather than as the preview pane?

-- b.r.t.
0
Comment
Question by:BarryTice
[X]
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
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 50 total points
ID: 6868958
Use this inpreviewpane property to block the user from edit, Eg:

Sub Postopen(Source As Notesuidocument)
     If Not source.InPreviewPane Then
          source.EditMode = False
' Or open the document in edit mode fully by using EditDocument prop of NotesUIWorkspace
     End If
End Sub

~Hemanth
0
 
LVL 7

Author Comment

by:BarryTice
ID: 6869194
Hello again, HemanthaKumar.

This has pointed me in the right direction. I've actually put this in my query mode change, where I was doing some other checking.

Thanks for the help! -- b.r.t.
0

Featured Post

Independent Software Vendors: 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…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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