=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= SEARCHDOMINO.COM | Developer Tip December 9, 2002 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= FROM OUR SPONSOR: Do you use Microsoft Office? http://searchDomino.com/r/0,,8228,00.htm?swingsoftware
******************************************************************** IN THIS ISSUE | Table of Contents 1. DEVELOPER TIPS - Featured tip: Check for encryption key - Recently posted developer tips 2. IMPORTANT ANNOUNCEMENTS AND LINKS - Submit questions for upcoming AdminP webcast - Take our new poll: Have you ever thought of switching to Exchange? - Gadgets, gizmos and more - Developer Forum - SearchDomino.com Search Engine _____________________________________________________________________ ***************>>> SPONSORED BY SWING SOFTWARE <<<****************** Do you use Microsoft Office? If so, you need SWING Integrator 3 - the leading MS Office integration tool for Notes/Domino. Ever wondering how to: edit attachments on Notes or Web forms; transfer Notes data to/from Word or Excel; share MS Office templates; create mail merge and labels; create Excel reports and charts? It seamlessly integrates with your applications. OEM royalty-free! http://searchDomino.com/r/0,,8228,00.htm?swingsoftware =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= CHECK FOR ENCRYPTION KEY | David Malterre Does a user have a specific encryption key attached to his/her ID file? Use this script function to find out. The example displays a dialogbox showing if the current user owns encryption key "SampleKey". This could also be used to send an e-mail report on which users have a given key, or to set field values and display customized content based on whether or not the user owns the encryption key. Code: 'CALLING THE FUNCTION Sub Click(Source As Button) Const keyname = "SampleKey" If UserOwnsEncryptionKey(keyname) Then Msgbox "Key " & keyname & " is attached to your ID file." Else Msgbox "Key " & keyname & " is not attached to your ID file." End If End Sub 'FUNCTION ITSELF %INCLUDE "lserr.lss" Function UserOwnsEncryptionKey(keyname As String) 'Error 4000 occurs when calling testdoc.Encrypt if the user does not have the key whose name is passed to the function On Error 4000 Goto processError Dim ss As New NotesSession Dim db As NotesDatabase Dim testdoc As NotesDocument Dim item1 As NotesItem Set db = ss.CurrentDatabase Set testdoc = New NotesDocument(db) Set item1 = testdoc.AppendItemValue( "Test", "abc" ) item1.IsEncrypted = True testdoc.EncryptionKeys = keyname Call testdoc.Encrypt UserOwnsEncryptionKey = True Exit Function processError: UserOwnsEncryptionKey = False Exit Function End Function =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= RECENTLY POSTED DEVELOPER TIPS | SearchDomino Tips Agent category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283834_alpD_idx0,00.html [1] Run selected agent on server [2] Agent to purge user mail [3] Agent to replace Date field values Formula category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283836_alpD_idx0,00.html [1] Spotting late dates in a view JavaScript category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283840_alpD_idx0,00.html [1] Show single category view, the next stage [2] @replace function for JavaScript [3] Checking for Edit Mode on the web Other category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283842_alpD_idx0,00.html [1] If Lotus Notes crashes, you don't have to restart your PC anymore! Script category: http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283841,00.html [1] Force a timed delay in your script code >>See all SearchDomino Developer Tips here: http://searchdomino.techtarget.com/tips/0,289484,sid4_tax283833,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ::::::::::: DON'T MISS THESE IMPORTANT MESSAGES AND LINKS ::::::::: _____________________________________________________________________ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= SUBMIT QUESTIONS FOR UPCOMING ADMINP WEBCAST | SearchDomino.com Thanks to all those who have sent questions so far. If you haven't sent a question yet, now's your chance. So put your thinking cap on and send in a question for our next webcast on exploiting the capabilities of AdminP (administration process) with consultant Carilyn Daniels. Carilyn will explore the key components and variables used with server management in single and multi-domain Notes infrastructures. She'll discuss which AdminP tasks require administrator intervention and why. >> SEND questions in early to: mailto:[EMAIL PROTECTED]; subject line: AdminP question. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= TAKE OUR NEW POLL | SearchDomino.com Have you ever thought of switching from Domino to Exchange? >> VOTE here: http://searchdomino.techtarget.com/poll =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= GADGETS, GIZMOS AND MORE | SearchWin200.com TechTarget's editors and IT staff have launched their first annual look at some of the latest gadgets and gizmos that can help an IT professional get through the day. The reviewers share their thoughts on more than 40 personal this products that they tested, ranging from games to cameras and high-powered Web development tools. Highlights include IBM's powerful and slick T30 notebook, which won the heart of one of our project managers,Macromedia's latest release of Studio MX, and Sony's interactive U.S. Navy SEALs game. Start your tech-toy tour by clicking here: http://searchwin2000.techtarget.com/gadgets_gizmos_and_more/0,294153,sid1,00.html =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= DEVELOPER FORUM | SearchDomino.com One user writes, "Hi all, we have encountered a strange problem. The problem is as below: We have some documents with hotspot links. These are created by "Copy as link" method.When i click on the hotspot through browser, a url like is displayed- "http://hyd01/F2000/HBSv2_5.nsf/796fd3ad87ee52c6652568800031a26a/e6664f87209ea48865256c780034efde?OpenDocument" In the above url when the viewid is replaced with other view id or if we replace with a name(suffix "view" for eg:"aaview")it is still displaying the same document.Even if we delete that particular view from the database, the document is still displaying with same view UID. We looked for documentation in designer help. But there was not much support. I would thank in advance if anybody could clarify me on this." >> HELP solve this problem: http://searchdomino.discussions.techtarget.com/WebX?[EMAIL PROTECTED]@.ee7740b/15506!viewtype=threadDate&skip=&expand= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= DOMINO/NOTES SEARCH ENGINE | SearchDomino.com Find Domino information fast. Is Google one of your favorite search tools? We've partnered with Google to make our Domino/Notes-specific search engine even better. Why waste time slogging through irrelevant search results? Try our newly tweaked search engine for the most targeted Domino/Notes results. >>Click here to access our advanced search: http://searchdomino.techtarget.com/integratedSearchAdvanced/0,289518,sid4,00.html ____________________________________________________________________ :::::::::::::::::::: SEARCHDOMINO CONTACTS :::::::::::::::::::::: JOYCE CHUTCHIAN, Site Editor (mailto:[EMAIL PROTECTED]) >> Send your comments, opinions, best practices and ideas. ____________________________________________________________________ KURT RINGLEBEN, Asst. Editor (mailto:[EMAIL PROTECTED]) >> Send your white papers and best Web links, and tips. (Please submit your tips via SearchDomino.com) ____________________________________________________________________ DAVID SPENARD, Asst. Editor (mailto:[EMAIL PROTECTED]) >> Send your Ask the Experts questions. (Please submit your Ask the Experts questions via SearchDomino.com.) ____________________________________________________________________ JON PANKER, News Editor (mailto:[EMAIL PROTECTED]) >> Send in your news, product announcements and poll ideas. ____________________________________________________________________ DAVID DRISCOLL, Account Executive (mailto:[EMAIL PROTECTED]) >> Sponsor this or any other TechTarget newsletter. ___________________________________________________________________ ___________________________________________________________________ :::::::::::::::::::: ABOUT THIS NEWSLETTER ::::::::::::::::::::: Published by TechTarget (http://www.techtarget.com) TechTarget - The Most Targeted IT Media Copyright 2002, All Rights Reserved. Unsubscribe from 'Lotus 411 Developer Tips' - Simply Reply to this Email with REMOVE within the Body or Subject > or - Go to: http://searchDomino.techtarget.com/register - Log in to edit your profile. - Click on the link to Edit email subscriptions. - Uncheck the box next to the newsletter you wish to unsubscribe from. - When finished, click "Save Changes to My Profile."
