Genii Weblog

Planned URL syntax for AppsFidelity Render

Mon 27 Jul 2015, 01:28 PM



by Ben Langhinrichs
AppsFidelity Render is the second part of our AppsFidelity product bundle, and will be part of that license. In other words, if you buy AppsFidelity, you get both the Edit and Render (and soon the Export), but can choose to use one or the other or both. The prices are not going up, at least for now. 
 
We are working on getting this out the door very soon, but I wanted to describe the URL syntax we are supporting. It is important to note that for security reasons, this is intentionally not forgiving.. Any deviation from the rules will simply be thrown into the normal URL processing (and therefore generally raise a standard error). Our primary goal is making sure that no abuse or security breach can happen through this code. No database will be accessible unless it is explicitly opened up for this use, and there will be other ways of locking down the use aside from the Database level (and normal Notes access rights, of course).
 
Simply put, the URL syntax will be as follows  (subject to change prior to release or addition after release):
 
/db.nsf/unid[/file.ext]?AFRenderField[&field=fld][&target=tgt[&nth=n]][fragment=yes/no]
/db.nsf/unid[/file.ext]?AFRenderDoc
 
to be added in a subsequent release)
/db.nsf/unid[/file.ext]?AFRenderView[view-properties-to-be-defined]
 
 
Example 1) Renders the Body field of the specified document as HTML:
 
/Sales/Quarterly.nsf/E06096253C0C925105256595006097F1?AFRenderField
 
 
Example 2) Renders the Description field of the specified document as HTML:
 
/MainDiscussion.nsf/506096553C0C925105256595006097F1?AFRenderField&field=Description
 
 
Example 3) Renders the Description field of the specified document as an EPUB file named results.epub:
 
/Cases/Pro/L3426AG.nsf/716096553C0C925105256595006097F1/results.epub?AFRenderField&field=Description
 
 
Example 4) Renders only the first table from the Body field of the specified document as an MHT (Web archive format) file named First Task.mht:
 
/Main.nsf/506096553C0C925105256595006097F1/First+Task.mht?AFRenderField&target=Table&fragment=yes
 
 
Example 5) Renders the entire specified document with its form as HTML:
 
/Cases/Pro/L3426AG.nsf/716096553C0C925105256595006097F1?AFRenderDoc
 
 
Example 6) Renders the entire specified document with its form as an EPUB file named Download.epub:
 
/Cases/Pro/L3426AG.nsf/716096553C0C925105256595006097F1/Download.epub?AFRenderDoc
 

Copyright © 2015 Genii Software Ltd.

What has been said:

No documents found