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.