Integrate Adobe Sign with AEM Forms as a Cloud Service

Adobe Sign enables e-signature workflows for Adaptive Forms. E-signatures improve workflows to process documents for legal, sales, payroll, human resource management, and many more areas.

In a typical Adobe Sign and Adaptive Forms scenario, a user fills an Adaptive Form to apply for a service. For example, a credit card application and a citizen benefits form. When a user fills, submits, and signs the application form, the form is sent to the service provider for further action. Service provider reviews the application and uses Adobe Sign to mark the application approved. To enable similar electronic-signature workflows, you can integrate Adobe Sign with AEM Forms.

To use Adobe Sign with AEM Forms, configure Adobe Sign in AEM Cloud Services:

Prerequisites

You require the following to integrate Adobe Sign with AEM Forms:

Configure Adobe Sign with AEM Forms

After prerequisites are in place, perform the following steps to configure Adobe Sign with AEM Forms on the Author instances.

  1. On AEM Forms author instance, navigate to Tools hammer > General > Configuration Browser.

  2. On the Configuration Browser page, tap Create.

  3. In the Create Configuration dialog, specify a Title for the configuration, enable Cloud Configurations, and tap Create. It creates a configuration container to store Cloud Services. Ensure that the folder name does not contain any space.

  4. Navigate to Tools hammer > Cloud Services > Adobe Sign and open the configuration container you created in the previous step.

    NOTE

    When you create an Adaptive Form, specify the container name in the Configuration Container field.

  5. On the configuration page, tap Create to create Adobe Signconfiguration in AEM Forms.

  6. In the General tab of the Create Adobe Sign Configuration page, specify a Name for the configuration, and tap Next. You can optionally specify a Title and browse to select a Thumbnail for the configuration.

  7. Copy the URL in your current browser window to a notepad. The URL is required to configure Adobe Sign application with AEM Forms in a later step.

  8. Configure OAuth settings for the Adobe Sign application:

    1. Open a browser window and sign in to your Adobe Sign developer account.
    2. Select the application configured for AEM Forms, and tap Configure OAuth for Application.
    3. In the Redirect URL box, add the URL copied in the previous step and click Save.
    4. Enable the following OAuth settings for the Adobe Sign application and click Save.
    • aggrement_read
    • aggrement_write
    • aggrement_send
    • widget_read
    • widget_write
    • workflow_read

    For step-by-step information to configure OAuth settings for an Adobe Sign application and obtain the keys, see Configure oAuth settings for the application developer documentation.

    OAuth Config

  9. Go back to the Create Adobe Sign Configuration page. In the Settings tab, the OAuth URL field mentions the following default URL:

    https://secure.na1.echosign.com/public/oauth

    where:

    na1 refers to the default database shard. You can modify the value for the database shard. Ensure that the Adobe Sign Cloud Configurations point to the correct Shard.

    If you create another Adobe Sign configuration for an Adobe Experience Manager feature or component, ensure that all the Adobe Sign Cloud Configurations point to the same shard.

  10. Specify the Client ID (also referred to as Application ID) and Client Secret. Use the Client ID and Client Secret of Adobe Sign application you created in previous step.

  11. Select the Enable Adobe Sign for attachments option to append files attached to an Adaptive Form to the corresponding Adobe Sign document sent for signing.

  12. Tap Connect to Adobe Sign. When prompted for credentials, provide username and password of the account used while creating Adobe Sign application. When asked to confirm access for your developer account, Click Allow Access. If the credentials are correct and you allow AEM Forms to access your Adobe Sign developer account, a success message similar to the following appears.

    Adobe Sign Cloud Configuration Success

  13. Tap Create to create the Adobe Sign configuration.

  14. Select the configuration and click Publish, select the configuration, and click Publish. It replicates the configuration to corresponding publish environments.

  15. Repeat all the above steps on your developer, stage, and production instances (whichever left) to complete configuring Adobe Sign with AEM Forms for your environment.

Now, you can use add Adobe Sign fields to an Adaptive Form. Ensure that you add the configuration container used for the Cloud Service to all the Adaptive Forms being enabled for Adobe Sign. You can specify a configuration container from the properties of an Adaptive Form.

(For AEM Workflows only) Configure Adobe Sign scheduler to sync the signing status

When you use Adobe Sign Workflow step to Sign an Adaptive Form, the form can be passed across signers one after another or can be sent to all the signers simultaneously, depending on the configuration of workflow step. Adobe Sign enabled Adaptive Forms are submitted to Experience Manager Forms Server only after all the signers complete the signing process.

By default, the Adobe Sign Scheduler services checks (polls) signer response after every 24 hours. You can change the default interval for your environment.

To change the default interval, specify a cron expression for the sign.status.exp property of the Adobe Sign Configuration Service configuration.

For example, to run the configuration service daily at 00:00 am, set the sign.status.exp property of the Adobe Sign Configuration Service configuration to specify 0 0 0 1/1 * ? *. The following JSON file displays the sample to run the configuration service daily at 00:00 am:

{
  "sign.status.exp":"0 0 0 1/1 * ? *"
}

To set values of a configuration, Generate OSGi Configurations using the AEM SDK, and deploy the configuration to your Cloud Service instance.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now