Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs






April, 2016
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.


Wed 13 Apr 2016, 11:11 AM
A customer wanted to know what it would take to enhance an XPages template with AppsFidelity so that the rich text content looked better on the web but also in Notes. They have lots of apps built on this same template. (I have changed one small point about the request to make it more generic.)
 
The answer in this case was, it would take five lines. Not code, but lines in the NOTES.INI on the servers where the apps lived.
 
 
1) A line to load AppsFidelity into a 32 bit Domino system (the appropriate software DLLs and license file are assumed to have been put in the Domino executable directory first)
 
extmgr_addins=AppsFidelityEdit32
 
 
2) A line to turn on AppsFidelity's XPage processing. Classic processing would take another line.
 
AppsFidelityXPagesEnabled=1
 
 
3) A line to allow all dbs with the "MegaMarketing43" template to use AppsFidelity (a single db could be specified as <dbname> or by replica as [repid])
 
AppsFidelityXPage1=Marketing43
 
 
4) A line to turn on processing when the "Research Policies" form is used
 
AppsFidelityXPage1Form1=Research Policies
 
 
5) A line to turn on processing specifically for the "Description" and "Justification" fields from the "Research Policies" form
 
AppsFidelityXPage1Fields1=Description,Justification
 
 
and that's it. Basically, you need one line per template, db or replica, and then two lines per form, though if the only rich text field on the form is "Body", you can skip the Fields line for that form. Of course, this not only allows rendering for viewing, but also editing on either the Notes client or web client.
 
Inline JPEG image
 
So, would you like to try for yourself? Request an evaluation license today.
 
 

Copyright © 2016 Genii Software Ltd.

Wed 13 Apr 2016, 06:22 AM
I gave two sessions at EntwicklerCamp 2016, and have created a page with slides for both and some of the samples (a couple more will be added later).
 

 
 

Copyright © 2016 Genii Software Ltd.