Download "user manual"

Transcript
Attention: Using text parsing to interact with the form is a very powerful method, because
there are nearly no restrictions to the available operations like having appropriate
navigation / data access methods offered by API or setting up right namespaces to access
specific data. Nevertheless, there are some considerations to make before using text
parsing:
򐂰 Be aware about the compression state of the form. You might have to uncompress the
form before you can access it. XFDL uses base64-gzip encoded compression. The
Forms API would do compressing/uncompressing in a transparent mode.
򐂰 It is quite easy to break a form using text parsing when inserting restricted characters.
򐂰 It is easy to break signatures written back to the form. Using the API would not allow a
change to signed data or structures.
򐂰 It is really difficult to verify signatures when not using the Forms API.
Next, after setting up the system, we will discuss the development tasks.
9.4 Setting up the Domino environment
Domino environment is set up in a standard way. We will not describe these steps in detail.
Make sure the following environment is available:
򐂰
򐂰
򐂰
򐂰
򐂰
Domino Server version 7.0 or later
Servlet support enabled (Domino Servlet Manager) in Domino Directory/server document
Tasks running: HTTP, Indexer
Workplace Forms API installed
Basic authentication enabled on the server (not session authentication)
Make sure that you have registered the deployed Workplace Forms API jar files in server
notes.ini like this:
JavaUserClasses=[System32]\PureEdge\65\java\classes\pe_api.jar;[System32]\PureEdge
\65\java\classes\uwi_api.jar
Using complete databases from the redpaper repository, deploy both databases to the server
in the redpaper directory. Sign both databases with an administration ID able to run
unrestricted agents and Web services on the server. The ID should have manager rights in
the ACL of both databases.
Building the application up, create two new databases in the path, redpaper/WPForms.nsf
(Title WPForms Templates) and redpaper/WPFormsRep.nsf (Title Repository DB).
Apply the following ACL settings to the databases (Table 9-1).
Table 9-1 ACL settings for Domino integration
Database
User / Group
ACL-Settings
Template Database
Default
Author
Anonymous
No Access (this will require user
authentication)
Default
Reader
Anonymous
Reader (necessary for Web
service access)
Repository Database
278
IBM Workplace Forms: Guide to Building and Integrating a Sample Workplace Forms Application