• Browse Blogs
  • My Blog
  • My Updates

+Tags Get help with tags?

  • View as cloud  | list

+ Bookmarks

+ Blog Authors  

Improving the Mark Private feature in discussion template

Chad Scott |   | Comments (0)  |  Visits (444)
I recently worked on a customer issue where documents marked private in a Discussion database would disappear from other replicas. Why? Because only the current user is added to the readers field, causing other servers to delete the document during replication. The workaround is quite simple. Change the Mark Private button's code to this:

FIELD readers:=@Trim(@Unique(From : @UserName)) : "LocalDomainServers";
@PostedCommand([RefreshHideFormulas]);@Command([ViewRefreshFields])

You can substitute any other server group or list of individual servers if you don't want to use LocalDomainServers. Now documents marked private on one replica will not be deleted from other replicas. SPR NMDL7KXQAN was created to look at changing the default behavior in a future release.
No RatingsRatings 0

Comments (0)

There are no comments to display Add a Comment Add a Comment

Previous |  Main  | Next
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About