Manage Learn to apply best practices and optimize your operations.

Provide rich-text formatting via the Profile document and Formula

This tip explains a method for providing content to a separate Lotus Notes form while allowing rich-text formatting using the Profile document. Not only will Lotus Notes users be able to edit the form, but using this Formula language code will also eliminate the need to code text inside of the form design.

Related resources from SearchDomino.com:
A Formula language for Lotus Notes introduction -- 7 tips in 7 minutes

Top 10 Formula language tips

This simple method allows rich-text formatting using the Profile document to let Lotus Notes users to contribute or edit forms content without having to modify the design each time. It also eliminates the need to code text inside of a Notes form design.

Follow these four steps to provide rich-text formatting through the Profile document:

Here are the steps you will want to use to accomplish this task:
  1. Create a form with a rich-text field and deselect, "Include In Menu Option."
  2. Create an agent using the following Formula language code:
    @Command
    ([EditProfileDocument]; 
    "DSMessage");  @All
    
  3. Use the newly created agent to produce and edit the Profile document.
  4. Create a "compute for display" field on the content form to pull in rich-text from your Profile document using:
    @GetProfileField
    ("DSMessage"; "AFSMessage")
    

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip library by member Robert Lewis. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes/Domino technical tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

This was last published in December 2008

Dig Deeper on Lotus Notes Domino Formula Language

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

SearchExchange

SearchContentManagement

Close