Domino 7: I didn't know that!
One of my favorite Domino blogs, 'CodeStore', written by Jack Howlett, published not so long ago new R7 features I was completely unaware of: Four Reasons To Upgrade to Domino 7.0.2. This made me decide to browse a little more through his posts, and here's the new R7 features I found very useful:
?ReadViewEntries&OutputFormat=JSON
This URL command allows you to retrieve view information in JSON format. Extremely useful when you do cross domain scripting, as I did to collect data from a page on an external server in my previous post: Bookmark web pages in a Notes database. Using JSON, this script could call a view to see if an entry for this page already existed. This seems to be promised for R8, but already available in R7, without support.
$$HTMLFrontMatter field
This special field allows you to change the doctype in forms rendered with content type 'Notes'. You could set the correct HTML4 type to make the browsers render CSS in standard mode, and the pages will even validate. Don't set it to XHTML, because Notes will continue to spit out HTML 4, causing validation to fail.
The $$Return... forms for error messages didn't respond to the new field. They seem to have been completely forgotten: you also can not change the content type. In fact, you can not get rid of any Notes HTML here. And maybe this is the same with the search results form.
$$HTMLTagAttributes field
This special field allows you to add attributes to the html tag. Not very useful, but still worth mentioning.
Quick Escape Quotes with { }
This comes out of another post on 'CodeStore': Tip: Quick Escape Quotes and it's a real time saver!
LotusScript: extra error info with Lsi_info
This was another feature I didn't know about: the Lsi_info object with extra information on LotusScript errors. Read the information on: Lotus Notes on Web 2.0: Lsi_info. I didn't know that.
Comments
29/08/2007 20:41:21, Fabian Robok
Finally, after a couple of months, I find the time to add this one comment: The only attributes allowed for the html tag (in 4.01) are version, lang and dir. So, that's all, $$HTMLTagAttributes might be used for. Not taking into account, what it might be abused for ... :-)
To add a comment, log in or register as new user. It's free and safe.