Skip to main content
FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



Sign in to participate PreviousPrevious NextNext

RE: Form security inherited to documents
Kevin Pettitt 1.Sep.06 04:57 PM a Web browser
Domino Designer 7.0.1 Windows XP

Anytime you change the formula for a computed field on a form, you need to run a refresh agent of some sort on all the documents using that form in order for the new values to appear. In this case, it sounds like you can solve your problem as follows:

1) Create a agent called "Refresh Selected", setting it to run on Selected Documents from the Action Menu with the following formula:


2) Open an appropriate view and select all the documents affected by the form change, then run the agent by choosing it from the Actions Menu.

3) If you want to prevent indiscriminate use of this agent, you may want to change it to an "Agent List selection" type to get it out of the Action Menu. Then call it only from well-placed view action buttons with this code (Parentheses necessary when *calling* this type of agent, but don't put them in the agent name):

@Command([ToolsRunMacro]; "(Refresh Selected)")

One tip: If your form uses "regular" input validation formulas for some fields, your refresh agent will stop if it encounters any validation errors. I recommend avoiding that sort of validation for precisely this reason. I've written up an alternative approach on my blog here:

WARNING: Whatever you do, test this out on *copies* of 1-2 documents (or a copy of the whole db) before running it on all of the real ones...and take a backup then too. Depending on how your form is coded, you may recompute other field values that you don't want to, or in ways not intended.

Good luck,


Form security inherited to document... (D Job 1.Sep.06)
. . RE: Form security inherited to docu... (Kevin Pettitt 1.Sep.06)
. . RE: Form security inherited to docu... (Graham Richards... 5.Sep.06)
. . . . RE: Form security inherited to docu... (Kevin Pettitt 7.Sep.06)

Document Options

  Document options
Print this pagePrint this page

Search this forum

Forum views and search

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite