Manage Learn to apply best practices and optimize your operations.

Hotspot For Last 5 Document Edits

Create the following 4 fields combined with a hotspot for users to click on to
see the previous 5 edits to the current document.
Field 1 - UpdatedByOnAt

@If(@IsNewDoc; ""; @If(IsDocBeingSaved; @Name([CN]; @UserName) + " on " +
@Text(@Now ; "S0D0") + " at " + @LowerCase(@Text(@Now; "S1T1")); UpdatedByOnAt))

Field 2 - CreatedBy

@Left(@Name([CN]; @UserName);31) + " on " + @Text(@Now; "S0D0") + " at " +
@LowerCase(@Text(@Now; "S1T1" ))

Field 3 - UpdateHistory

Temp := UpdatedByOnAt + ";";
first4 := Temp + @Implode(@Subset(UpdateHistory;4);";");
last4 := Temp + @Implode(@Subset(
UpdateHistory;-4);";");
@If(@IsDocBeingSaved; @Explode(first4;";");UpdateHistory)

HOTSPOT
Hotspot Text = Click to see Edit History (last 5 edits)

"Last 5 edits: " + @NewLine + @Implode(UpdateHistory;@NewLine)

Dig Deeper on Domino Resources - Part 8

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