Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Domino Document Manager (Domino.Doc) Forum

Lotus Domino Document Manager (Domino.Doc) Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Ekkehard J Koch 17.Mar.10 05:38 PM a Web browser
Applications development/customization 7.0 All Platforms


This issue happens inf the filecab.ntf template for people that are in multiple groups that are listed in the view "(MappedGroupMembersCache)". In the stock version of Domino.Doc 7.0 there are a few places where a lookup into the view "(MappedGroupMembersCache)" needs to be surrounded by an @Unique like it is done in most places to work correctly. Another issue is created once the MappedDocAuthor Fields have multiple values in them some display fields need the @Unique around them as well. For a permanent fix to this issue do the following:

The permanent resolution of this issue is as follows:

1. Write an agent that Removes Duplicates in the already existing computed fields:
Form AccessTemplate - MappedDocAuthor
Form Document - MappedDocAuthor
Form Binder - MappedDocAuthor
Form ReviewCopy - MappedRvwCurrent, HeaderText
2. Fix Bug #1 - #6 in filecab.ntf

List of bugs to fix below:

#1 AccessTemplateWeb - Field MappedDocAuthor
#2 BinderWeb - Field CreatedBy, CheckOutUserDisplay
#3 DocumentWeb - Field CreatedBy, CheckOutUserDisplay
#4 NewBinderWeb - Field MappedDocAuthor
#5 NewDocumentWeb - Field MappedDocAuthor
#6 ReviewCopy - Field MappedRvwCurrent, HeaderText

-------------------------------------------------------------------

#1 AccessTemplateWeb - Field MappedDocAuthor

MappedDocAuthor - Computed - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2);
@If(@IsError(temp);"";temp)

After
temp := @Unique(@DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2));
@If(@IsError(temp);"";temp)

-------------------------------------------------------------------

#2 BinderWeb - Field CheckOutUserDisplay

CreatedBy - Computed For Display - Value Fromula

Before
@If(MappedDocAuthor!="";@Name([Abbreviate] ; MappedDocAuthor);@Name([Abbreviate] ; DocAuthor))

After
@If(MappedDocAuthor!="";@Name([Abbreviate] ; @Unique(MappedDocAuthor));@Name([Abbreviate] ; DocAuthor))

---

CheckOutUserDisplay - Computed For Display - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; CheckOutUser; 2);
@If(@IsError(temp);@Name([Abbreviate] ; CheckOutUser);@Name([Abbreviate] ; temp))

After
temp := @Unique(@DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; CheckOutUser; 2));
@If(@IsError(temp);@Name([Abbreviate] ; CheckOutUser);@Name([Abbreviate] ; temp))

-------------------------------------------------------------------

#3 DocumentWeb - Field CreatedBy, CheckOutUserDisplay

CreatedBy - Computed For Display - Value Fromula

Before
@If(MappedDocAuthor!="";@Name([Abbreviate] ; MappedDocAuthor);@Name([Abbreviate] ; DocAuthor))

After
@If(MappedDocAuthor!="";@Name([Abbreviate] ; @Unique(MappedDocAuthor));@Name([Abbreviate] ; DocAuthor))

---

CheckOutUserDisplay - Computed For Display - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; CheckOutUser; 2);
@If(@IsError(temp);@Name([Abbreviate] ; CheckOutUser);@Name([Abbreviate] ; temp))

After
temp := @Unique(@DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; CheckOutUser; 2));
@If(@IsError(temp);@Name([Abbreviate] ; CheckOutUser);@Name([Abbreviate] ; temp))

-------------------------------------------------------------------

#4 NewBinderWeb - Field MappedDocAuthor

MappedDocAuthor - Computed - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2);
@If(@IsError(temp);"";temp)

After
temp := @Unique(@DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2));
@If(@IsError(temp);"";temp)

-------------------------------------------------------------------

#5 NewDocumentWeb - Field MappedDocAuthor

MappedDocAuthor - Computed - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2);
@If(@IsError(temp);"";temp)

After
temp := @Unique(@DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2));
@If(@IsError(temp);"";temp)

-------------------------------------------------------------------

#6 ReviewCopy - Field MappedRvwCurrent, HeaderText

MappedRvwCurrent - Computed - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; RvwCurrent; 2);
@If(@IsError(temp);@Name([Abbreviate] ; CheckOutUser);@Name([Abbreviate] ; temp))

After
temp := @Unique(@DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; RvwCurrent; 2));
@If(@IsError(temp);@Name([Abbreviate] ; CheckOutUser);@Name([Abbreviate] ; temp))

---

HeaderText - Computed - Value Fromula

Before
temp := @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2);
@Text(@Now) + " " + @If(@IsError(temp);@Name([Abbreviate] ; @UserName);@Name([Abbreviate];temp))

After
temp := @Unique( @DbLookup("":"NoCache";""; "(MappedGroupMembersCache)"; @UserName; 2));
@Text(@Now) + " " + @If(@IsError(temp);@Name([Abbreviate] ; @UserName);@Name([Abbreviate];temp))






Multiple Name Display For CreatedBy... (Ekkehard J Koch... 17.Mar.10)
. . RE: Multiple Name Display For Creat... (Ekkehard J Koch... 7.May.10)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
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

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
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
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow