Configure Azure storage configure-azure-storage

data-integeration

Experience Manager Forms Data Integration provides an Azure storage configuration to integrate forms with Azure storage services. The Form Data Model can be used to create Adaptive Forms that interact with Azure server to enable business workflows. For example:

  • Write data into Azure on Adaptive Form submission.
  • Write data in Azure through custom entities defined in Form Data Model and conversely.
  • Query Azure server for data and prepopulate Adaptive Forms.
  • Read data from Azure server.

Create Azure storage configuration create-azure-storage-configuration

Before executing these steps, ensure that you have an Azure storage account and an access key to authorize the access to the Azure storage account.

  1. Navigate to Tools > Cloud Services > Azure Storage.
  2. Select a folder to create the configuration and select Create.
  3. Specify a title for the configuration in the Title field.
  4. Specify the name of the Azure storage account in the Azure Storage Account field.
  5. Specify the key to access Azure storage account in the Azure Access Key field and select Save.

Create Form Data Model create-azure-form-data-model

After creating the Azure storage configuration, you can create the Form Data Model. Specify the folder that contains the Azure configuration in the Data Source Configuration field while creating the Form Data Model. You can then select the configuration from the list of configurations that exist in the specified folder name.

Add Azure services to the Form Data Model add-azure-services

After creating the Form Data Model and data model objects, you can add Azure services to the Form Data Model.

To add Azure services:

  1. In the Edit mode, select the services from the Services section in the left pane and select Add Selected. The selected services display in the Services tab of the Form Data Model.

    Add Selected Services

  2. In the Services tab, select the service and Edit Properties. Based on the service, define the input or output model objects for the service.

  3. Select Save to save the form data model.

    The following table describes the available Azure services:

    table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 html-authored
    Service Name Description
    Get Blob from Azure Retrieve data stored as a Blob in Azure storage using an ID or a name
    Get Blob with binaries URL from Azure Retrieve data stored as a Blob with URL for binaries in Azure storage using an ID or a name
    Save Blob in Azure Use a Blob ID to save data in Azure storage
    Update Blob in Azure Use a Blob ID to update data in Azure storage
    Retrieve list of Blob IDs from Azure Retrieve a list of Blob IDs from Azure based on the number defined in the input request.
    Retrieve SAS URLs for Blobs from Azure Retrieve SAS URLs for Blobs from Azure based on Blob IDs in the input request.
    Delete Blob from Azure Use a Blob ID to delete data from Azure storage

Define a data model object property as a search key define-data-model-object-as-metadata

To define a data model object property as a search key:

  1. In the Model tab, select the data model object property and select Edit Properties.
  2. Switch the Search Key toggle option to the ON state. This option is available only for primary data types.
  3. Select Done and then select Save to save the Form Data Model.

After defining data model object properties as search keys, the hash values are stored in Azure index tags and Base64 encoded values are stored in the Azure metadata.

NOTE
Only 10 search keys are allowed per Azure entity since Azure only allows 10 tags per Blob and properties value marked as search keys are stored in Azure index tags after hashing.
recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab