Manage Learn to apply best practices and optimize your operations.

RichText objects appearing in UIDoc

Add a doclink and have it appear immediately instead of closing the doc and opening again.

This little tip allows you to add a doclink and have it appear immediately instead of closing the doc and opening again. The method actually works for any type of object added to a rich text field, (e.g. picture, link, attachment etc. etc.)

You can also use it for Computed Subforms for a different type of navigation. That is, change subforms on a document on the fly.

The idea is to set the uidoc.editmode property to false, add the link (or object) to the RTI, save the doc and set the uidoc.editmode property back to true.


'**Set up uidoc, doc and other document to link to, or object to store
'**

uidoc.editmode = false

Set rtf = New NotesRichTextItem(doc,"Link")
rtf.addnewline 1, False
rtf.appenddoclink linkdoc,"Linked Document"

doc.save True,True
uidoc.reload

uidoc.editmode = true

Dig Deeper on Domino Resources - Part 6

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