Hello World
Hello World
Use what is needed, leave away what not.So what's the deal with the auto-generated code?
Disclaimer: I still believe that besides advertising the product itself is in need of more development resources to make it more usable outside of the existing customer base. I still think it is too hard to "get Notes". It will be interesting to follow how this will work.
[...] Recent Lotus wins include The Coca-Cola Company, HSBC, ABB, BASF, Blue Cross Blue Shield, Fidelity Investments, Hyundai, Liberty Mutual, Linde Group, Mass Mutual, Nationwide, State Bank of India, and The Hartford, among others. [...]Now that isn't bad at all.





Trust me - I know what I'm doing!Update: Another three hours and everything is fine. Already upgraded 5 servers(including the first Hotfix). Fix Central works much better than Passport Advantage.

<img width="1" height="1" src="/icons/ecblank.gif" border="0" alt="" />
Well there has been a lot of talk around XPages and other new stuff. Again IBM added a new collar but the face itself remains quite ugly. This is not bad because companies already running Notes and Domino enhance their toolsets but if this should ever attract new customers (and developers) the mess around the Notes core has to be fixed too.
And if you thought Notes 8 is slow then be prepared that the Eclipse Domino Designer beta opens a new level of response times, even on my Dual-Core 4 GB machine (it is beta release so I expect some improvements in this area).20.06.2008 22:28:27 XSP Command Manager initialized - Open for Web2.0!So now I finally own some of Web 2.0. How cool is that?
The following recipe is a solution (or workaround depending on your point of view) to displaying a link icon in a view which, when clicked, opens a document in another database related to the one displayed in the current view. The solution takes advantage of the InViewEdit feature of Notes.
Assumptions:
Icon := 41;
Icon
This value (41) represents the tan dog-eared page icon which is similar to the standard doclink icon. It's important to use the variable assignment rather than a numeric literal because the Editable Column option will be grayed out and unavailable if a literal is used.
Next, bring up column properties and select the checkboxes for "Display values as icons" and "Editable Column"
Finally, open the view's InViewEdit event and add the following LotusScript code and modify as necessary to open your target documents.
Dim ws As New NotesUIWorkspace
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim caret As String
Dim URLparts(4) As String
caret = Source.CaretNoteID
If caret = "0" Then Exit Sub 'check for click on a doc, not a category
Set db = Source.View.Parent
Set doc = db.GetDocumentByID(caret)
'build the url to the link target document
URLparts(0) = "Notes:/" 'Notes protocol for the URL
URLparts(1) = db.Server 'this assumes the target db is on the same server as the current db
URLparts(2) = "my/target/database.nsf" 'your db path goes here
URLparts(3) = "0" 'special view placeholder, don't change
URLparts(4) = doc.LinkUNID(0) 'replace with fieldname containing a UNID for the target doc
Call ws.URLOpen( Join( URLparts, "/") )




