Summary of steps

To render a rights-enabled form, perform the following tasks:

  1. Include project files.
  2. Create a Forms Client API object.
  3. Set usage rights run-time options.
  4. Render a rights-enabled form.
  5. Write the rights-enabled form to the client web browser.

Include project files

Include necessary files into your development project. If you are creating a client application using Java, include the necessary JAR files. If you are using web services, ensure that you include the proxy files.

Create a Forms Client API object

Before you can programmatically perform a Forms service Client API operation, you must create a Forms service client.

Set usage rights run-time options

You must set usage rights run-time options to render a rights-enabled form. You must also specify the alias of the credential that is used to apply usage rights to a form. After you specify the alias value, you specify each usage right to apply to the form.

Render a rights-enabled form

To render a rights-enabled form, you use the same application logic as rendering a form without usage rights. The only difference is that you must ensure that the usage rights run-time options are included in your application logic.

NOTE
When rendering a rights-enabled form using the Forms web service API, you cannot attach files to the form.

Write the form data stream to the client web browser

When the Forms service renders a rights-enabled form, it returns a form data stream that you must write to the client web browser. Once written to the client web browser, the form is visible to the user. A user viewing the rights-enabled form in Adobe Reader is able to perform operations that are enabled for that form.

See also

Render rights-enabled forms using the Java API

Render rights-enabled forms using the web service API

Including AEM Forms Java library files

Setting connection properties

Forms Service API Quick Starts

Rendering Interactive PDF Forms

Creating Web Applications that Renders Forms