Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Fri 3 Sep 2021

When Notes table data doesn't play nicely with others



Mon 21 Jun 2021

Custom Domino Extensions presentation



Thu 10 Jun 2021

Notes 12 without all the blue


June, 2022
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

A power user should be able to do powerful things

Fri 26 Jul 2013, 04:47 PM



by Ben Langhinrichs
It may be that the day may has passed when "power users" could easily create applications in IBM Notes/Domino. The advanced developer is in the ascendency. I get it.

Still, I think a power user should be able to create a button to ePublish the documents in the current view (rendering the whole form, of course) without getting a degree in computer science. Therefore, even if makes me old-fashioned, this is the LotusScript code it would take to export the main view of the Curb Appeal sample database. It uses the Midas Rich Text LSX V5.0, of course.

Option Public
Option Declare
UseLSX "*lsxrtc"

Sub Initialize
   Dim gcoll As New GeniiCollection("""CurbAppeal.nsf""Listings")
   Call gcoll.ExportToEPub("c:\demo\CurbAppeal.epub""RenderWithForm='Yes' ")  
End Sub

Of course, if that is still beyond them, they could also use the following in formula language with @Midas Exports (but don't tell, as it is a secret):

@DbCommand("Midas""ExportToEPub""":"CurbAppeal.nsf""Listings""c:\\demo\\CurbAppeal.epub""RenderWithForm="Yes");

Easy enough for your power users?

Copyright 2013 Genii Software Ltd.

What has been said:

No documents found