Ben Langhinrichs

April, 2005
SMTWTFS
     01 02
03 04 05 06 07 08 09
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Search the weblog





























Genii Weblog


Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.


Thu 28 Apr 2005, 10:18 AM
If you were to fill out a CoexEdit evaluation request, it wouldn't do you a bit of good this week.  Not a bit.  Of course, it might just be sitting there next week, and who can tell about next week?

Copyright © 2005 Genii Software Ltd.

Wed 27 Apr 2005, 11:19 PM
A question came up tonight about using the AppendResource method from the Midas Rich Text LSX  to include an image resource from a different database into the rich text.  It so happens that this is available, although not documented, because we added it to Midas before Domino Designer allowed this, when the remote db was only identified in the API and was not documented.  I didn't know whether support for this would make it into the final product (this was during ND6 betas), so I didn't document the properties, but ND6 has been out, and has allowed remote image resources, for a long time, so here goes.  I will adjust the documentation, but in case you ever wondered, here is how you do it.  The script in this case adds the connectionwizard.gif image resource from the local address book.  Let me know if you have any questions.

Sub Initialize
   Const IMAGE_RESOURCE_DB = "names.nsf"
   Const REMOTE_IMAGE_RESOURCE = "connectionwizard.gif"
   
   ' *** Domino back-end class objects
   Dim session As New NotesSession
   Dim db As NotesDatabase
   Dim doc As NotesDocument
   Dim remote_db As NotesDatabase
   
   ' *** Midas Rich Text LSX back-end class objects
   Dim rtitem As New GeniiRTItem
   Dim rtchunk  As GeniiRTChunk
   Dim remote_rtitem As New GeniiRTItem
   Dim remote_graphic As GeniiRTChunk
   
   ' *** Miscellaneous processing variables
   Dim fileName As String
   Dim pathName As String
   Dim pos As Integer
   Dim text As String
   Dim image_name As String
   
   Set db = session.CurrentDatabase
   Set doc = session.DocumentContext
   
   Set remote_db = New NotesDatabase("", "")
   Call remote_db.Open("", IMAGE_RESOURCE_DB)
   Call remote_rtitem.ConnectImageResource("", IMAGE_RESOURCE_DB, REMOTE_IMAGE_RESOURCE)
   Set remote_graphic = remote_rtitem.DefineChunk("Graphic 1")
   
   Call rtitem.ConnectBackend(doc.Handle, "Body")
   ' *** Follow model of "imagename" image:
   Set rtchunk = rtitem.DefineChunk("Everything")
   Call rtchunk.AppendResource("Image", REMOTE_IMAGE_RESOURCE, |ReplicaID="|+remote_db.ReplicaID+|" FilePath="|+IMAGE_RESOURCE_DB+|" ImageWidth="|+Cstr(remote_graphic.GraphicWidth)+|"  ImageHeight="|+Cstr(remote_graphic.GraphicHeight)+|"|)
   rtitem.Save
End Sub

Copyright © 2005 Genii Software Ltd.

Mon 25 Apr 2005, 09:48 AM
Blizzard
The snow is starting to melt, showing many, many broken limbs and whole trees down.  The very heavy snow, combined with leaves to provide surface area, have wrecked significant havoc.  Still, the reason I have been quieter has more to do with the many different ducks that all have to get lined up in a neat row before we release CoexEdit and Version 3.50 of the Midas products.  Perhaps I'll have to get a guest blogger to present a case file...

Copyright © 2005 Genii Software Ltd.

Sun 24 Apr 2005, 04:02 PM
I'm a fan of snow and cold weather usually, but at the end of April after the winter with the heaviest snowfall in recorded history in Cleveland, OH, to have more than an additional foot of heavy, wet snow is really a bit much.  On the bright side, the list of world temperatures in our newspaper shows that no major city on the list is as cold as we are.  Yakutsk, Siberia is close, but not quite as cold, and Reykjavik, Iceland is practically balmy in comparison.  Sigh!

They do say it should stop snowing by tomorrow, although it shows no signs of letting up yet.

Copyright © 2005 Genii Software Ltd.

Thu 21 Apr 2005, 11:10 AM
On the Notes 4 & 5 Gold Forum, Carl C;. Levin responded to a post of mine:
I followed your link and just wanted to say i thought you wrote that in a manner that was direct, simple , easy and most of all,understandable.  I printed it out.  thank you

Now I'm curious if you have other articles and tidbits that are available..........??
Once I stopped blushing, I responded, and I thought that perhaps some of my current readers would like to see this list as well, so here it is, in no particular order:

Collections of links to other tips
Rich Text 101 series of articles 
Tips from BP102 - Advanced Notes/Web Coexistence

General reference pages
Domino Limits R5 and ND6
Domino Limits R4
Web Editors

Some assorted ones I thought of as well
Writing better hide-when formulas
Do you want your rich text "Lite"?
Tip: Getting the handle to a doc on an embedded view
Tip: Changing "@Created" time
Tip: Making documents dynamic in read mode with hide-whens
Simplifying hard to read formulas
Tip about 64KB limit in ND6 formula language
Web borders like Notes borders
Hiding a rich text field

and a few related ones about formula language in Notes 6 and above:
Top that, Rocky!
Limits to cleverness
Using @Do as an expression

And, for completely useless but fun posts:
Luck be a lady tonight and other Mike Midas and Crystal Coex posts

For more, you'll just have to read the blog on a regular basis

Copyright © 2005 Genii Software Ltd.

Tue 19 Apr 2005, 10:12 AM
One of the frequent questions we have gotten about our soon-to-be-released new product CoexEdit is whether it will support the Mac, or whether it can be used if the company has iSeries or Linux or Solaris.  The answer to this is Yes and No.  If you have CoexEdit running on your Windows or AIX server, you can use it from the Mac, and if you have CoexEdit running on your Windows client (yes, there is an optional client component), then you can handle databases that are on your iSeries or other server.  (Of course, if you have a Mac running with an iSeries, you will have to wait for a while until we release a CoexEdit for the Mac or for the iSeries.)  

One of the cool things about the CoexEdit implementation is that handles failover very gracefully.  The base assumption is that when you save on the web, the server version of CoexEdit will convert the HTML automatically (and silently) to rich text, but if it doesn't, the client will do it for you when you go to open the document.  The same can be said in reverse.  This means that some early adopters are planning to use both the client and server versions at once, since then the client can then be set to preempt the server, so there is even less load placed on the server than there normally is.  It also means that at least one innovative early adopter is looking at exposing rich text edited with Websphere portal to also be edited by a Notes client, using the Notes client to do its on-the-fly translation.  Too soon to give feedback on that, but it is interesting how quickly people are looking to push the envelope.

All that said, I would like to say that we would strongly like to support a native Mac CoexEdit client, and plan to start that process next fall, and we hope to have a Linux server version even sooner, although no promises.

Copyright © 2005 Genii Software Ltd.