Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
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



PreviousPrevious NextNext

RE: How To ADD any name in Author Field by Formula
Harkpabst Meliantrop 7.Aug.18 08:23 AM a Web browser
Notes Client 7.0.3 Windows Vista

First, your Authors field must be set to "allow multiple values" for this to work properly.

The formula is simple enough. In Formula language everything is a list (containing one or more elements). All you have to do is to add one list element to the list that is already in the field. It is always a good idea to use @Trim to remove empty values and @Unique to remove duplicate values.

How you do this depends on how you enter the new value. If this is a Notes client application and there is a button to populate the Authors field, you would write something like this:
FIELD Authors := @Unique(@Trim(Authors : "The New Name"))

If the The New Name was in an names field called "NewAuthor", this would translate to:
FIELD Authors := @Unique(@Trim(Authors : NewAuthor))

If the Authors field is a computed field, that should get the new value when saving the document, your Value formula would simply be:
@Unique(@Trim(Authors : NewAuthor))
@Unique(@Trim(@ThisValue : NewAuthor))

How To ADD any name in Author Field... (amar ku das 7.Aug.18)
. . RE: How To ADD any name in Author F... (Harkpabst Melia... 7.Aug.18)
. . . . RE: How To ADD any name in Author F... (amar ku das 8.Aug.18)
. . . . . . The answer is in the previous answe... (Carl Tyler 8.Aug.18)
. . . . . . . . RE: The answer is in the previous a... (amar ku das 9.Aug.18)
. . . . . . . . RE: The answer is in the previous a... (Rich Schwartz 13.Aug.18)

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

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