Problem solve Get help with specific problems with your technologies, process and projects.

Restricting Composition Of Documents To One View

Create a form called "dontcomposeform" that simply displays some static text
such as "Please do not compose documents from this view. Close this document
and switch to the Compose View, then compose your document".

In those views in which you do not want people to compose documents, create a
Form Formula with the following syntax:
@if(@isnewdoc;"dontcomposeform";form). When a user attempts to compose a
document in any one of the restricted views, a non-editable form is displayed
with a message and instructions. If a user attempts to read any of the
existing documents in any of the restricted views, the document will display
using its native form.

This will work even if some of the forms in the database store the form with
the document.
An alternative method is:

1. Remove the check mark from "Include in Compose Menu."
2. Create a button labeled "Compose FormName" on the face of the form that can
be seen from within the desired view.
3. Use the following button formula: @Command([Compose]; ""; "FormName");
4. Using the menu command Text, Paragraph...,Hide when; select "Editing."
This prevents "nested composing," and prevents the user from getting too many
documents open.

Dig Deeper on Domino Resources - Part 5

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close