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.
Tags: Lotus Notes Domino