Search DominoPower's 11,443 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
DOMINO WEB COMPONENTS
Managing database ACLs from a browser
By Daniel Koffler

This is the fourth installment in a series of articles designed to make the task of developing Web applications for Domino a more pleasant and efficient experience. I've already shown you how to create a pure Domino Web popup calendar to assist users in selecting dates on the Web and I've show you how to create both global and user profile forms suitable for use on the Web. Now we get serious.

Often when you are developing serious Web applications in Domino you need to provide your Web users with the ability to change database ACLs (Access Control Lists). You will need aspects of an ACL Web interface any time you want to be able to delegate management functions to users of your Web application. These are people who may not have a Notes client or Notes ID, such as a forum moderator or membership area administrator. This article will walk you through the creation of an ACL Web interface, like shown in Figure A, which can be used in any Domino database.

FIGURE A


A full featured Web based ACL management interface. Roll over picture for a larger image.

Create the ACL form
To achieve your desired result, create one form to hold and display all the ACL data, then use a series of buttons and LotusScript agents to manipulate the database ACL. First, open up the database ACL and navigate to the Advanced tab. Here set the "Maximum Internet user access" to Manager. Settings lower than this are not allowed to change the database ACL.

Create a new form named "ACL" then create a computed text field named "SaveOptions". Set the formula for this field to "0". This setting tells Domino not to save any documents with this form, we only want it to hold our interface, not create new documents. You can see an example in Figure B below.

FIGURE B


After creating and testing the ACL Form, make the first row of fields hidden on the Web. Roll over picture for a larger image.

Next, you should create a computed text field called "name" and give it the formula:

@URLDecode("Domino";@UrlQueryString("name"))

This formula will search the URL that's used to open this form, and try to find a parameter in the URL query string (the part after the "?") called "name". This would appear as something like http://mydomino.com/DP.nsf/ACL?OpenForm&;name=Daniel. When you open this form, and want to edit the ACL settings for an existing user, we'll pass that user name to this form through the URL query string. This will become clear later.


1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  Next »
Other articles you might like
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Syncing Notes with Android phones
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login