Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Notes and Domino wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM iNotes 9.0 Social Edition - Administering IBM iNotes 9.0 Social Edition - Using IBM Notes 9.0 Social Edition IBM Notes Traveler 9.0 - Administering IBM Notes Traveler 9.0 - Using Lotus Notes 8.5.3 Documentation Lotus Notes Traveler 8.5.3 Administration Documentation Lotus Notes Traveler 8.5.3 Usage Documentation Custom Search Scope...
Search
Community Articles > Lotus Domino > App dev > Setting missing Names, Readers, Authors fields with Formula Language i.o LotusScript
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Alain H Romedenne
Contribution Summary:
  • Articles authored: 1
  • Articles edited: 1
  • Comments Posted: 0

Recent articles by this author

Setting missing Names, Readers, Authors fields with Formula Language i.o LotusScript

Abstract Administrators and designers alike commonly assume @Formula language does not permit to define Authors, Readers or Names fields within forms or subforms. This document demonstrates such is fa

Community articleSetting missing Names, Readers, Authors fields with Formula Language i.o LotusScript

Added by Alain H Romedenne | Edited by Alain H Romedenne on June 24, 2008 | Version 3
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: @Formula ToolsRefreshSelectedDocs Readers Authors

Abstract

Administrators and designers alike commonly assume @Formula language does not permit to define Authors, Readers or Names fields within forms or subforms. This document demonstrates such is false and documents how you can achieve such.

Context

It happens design misses are discovered during staging or production phases, When such problems occur designers, but sometimes administrators too, generally resort to LotusScript to create Authors, Readers or Names fields in order to quickly fix editor or reader access failures.

Assume a fictitious « Person » form misses a « grantedReaders » field to function properly. First thing is to fix this faulty form with the appropriate field and associated values. While future documents will function appropriately, previously created documents can be fixed as follows :

  1. Create a new form called « fix | Person » simply holding the missing field plus its default/computed values.
  2. Create a « fix » view listing all Person documents but displaying the newly created « fix » aliased form. Make sure that view holds a column detailing « grantedReaders » information, although not required this column will illustrate @Formula magic. 
  3. Create an new agent running @Command([ToolsRefreshSelectedDocs]) on selected documents
    .. and you're almost done

Select Person documents created in the past and run the agent. Once refreshed, « fix » view makes newly created values visible. You can make sure recalculated Person documents hold adequate SUMMARY and READER_NAMES fields selecting document property. 

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (6)
collapsed Versions (6)
Version Comparison     
VersionDateChanged by              Summary of changes
6Jan 13, 2009 6:06:41 PMAmy Smith  IBM contributor
5Jun 24, 2008 4:28:08 PMAmy Smith  IBM contributor
4Jun 24, 2008 9:55:05 AMAlain H Romedenne  
This version (3)Jun 24, 2008 9:54:22 AMAlain H Romedenne  
2Jun 24, 2008 9:53:34 AMAlain H Romedenne  
1Jun 24, 2008 9:51:15 AMAlain H Romedenne  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use