Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



PreviousPrevious NextNext

Mark XY Brown 23.Aug.12 08:56 AM a Web browser
Domino Designer 6.0.3 Windows XP

Greetings all!

This got longer than I originally thought - apologies for this.

We have an RFC application, built in-house. In the most recent version, I rolled out peer reviewing for change requests. This is controlled (in part) by the originator - they select either a person or a group to review their RFC. There are three fields involved in this:
PeerReview (dialog list that holds "Team" or "Person")
PeerReviewDetails (dialog list that is computed according to contents of PeerReview - either a list of all teams as defined in the application, or a list of all users, excluding the originator)
PeerReviewList (Authors, computed and has its contents driven in PeerReviewDetails' Input Translation event - either the selected name in that field, or the names of all the people in the selected group, less the originator)

Providing peer review is performed by an action button with the following script:

Sub Click(Source As Button)
'Stamp the peer review fields with the current user and date time

Dim ws As New NotesUIWorkspace
Dim sess As New NotesSession
Dim docThis As NotesDocument

On Error Goto SPR_Error

Set docThis = ws.CurrentDocument.Document

docThis.PeerReviewUser = sess.UserName
docThis.PeerReviewDateTime = Now()
docThis.SaveOptions = "1"
Call docThis.Save(True, False, False)

Messagebox "This RFC is now peer certified.", 48, "Peer review complete"

Call ws.CurrentDocument.Close(True)


Exit Sub


Dim booErr As Boolean

booErr = ErrorLog(docThis, Err, Error, "User", "Action.Sign peer review.Click", Erl)

Resume SPR_Exit

End Sub

This action button is only visible in the following circumstances:
Your username appears in PeerReviewList;
PeerReviewUser is null

Occasionally, users have reported receiving an error when they try to peer-review an RFC: "Notes error: You cannot update or delete the document(s) since you are not listed as an allowable Author for this document". According to the error logging, this happens on line 16 of the action script - Call docThis.Save(True, False, False)

This is confusing and frustrating. Most users have Author level access, with the Create Documents privilege. I have set this up so that the only people who can invoke the process must be listed as authors of the document, and yet Notes is convinced that they are not. Has anyone encountered this before? TIA!

Users named in Authors field gettin... (Mark XY Brown 23.Aug.12)
. . RE: Users named in Authors field ge... (Stan Rogers 24.Aug.12)
. . . . RE: Users named in Authors field ge... (Mark XY Brown 28.Aug.12)
. . . . . . RE: Users named in Authors field ge... (Stan Rogers 29.Aug.12)
. . . . . . . . RE: Users named in Authors field ge... (Mark XY Brown 30.Aug.12)
. . . . . . . . Sorted! (Mark XY Brown 30.Aug.12)
. . . . . . . . RE: Users named in Authors field ge... (Mark XY Brown 30.Aug.12)

  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

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


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


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
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
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite