How I can use variables in Adobe OSGI DDX Assembler like we are used in Livecycle ES4 DDX

Avatar

Avatar

Jean-foxfly

Avatar

Jean-foxfly

Jean-foxfly

17-07-2020

We used workflow variables in DDX assembler with Livecycle ES4 JEE. Like this:

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
  <PDF result = "myPDF">
    <Watermark scale="70%" verticalOffset="-85pt" opacity="100%">
        <PDF source = "docLoteDeclaracoes" pages="{$/process_data/@intPagina$}"/>
    </Watermark>
    <PDF source = "docModeloAnexo"/>
  </PDF>
  <?ddx-source-hint name = "docLoteDeclaracoes"?>
  <?ddx-source-hint name = "docModeloAnexo"?>
</DDX>

In this code workflow process put value of page to be extracted from "docLoteDeclaracoes" in variable intPaginas.

I need to do similar thing using AEM Forms OSGI workflow, but this form to reference variables don't working.

Any one know how reference OSGI workflow variables in DDX document?

OBS: I am using AEM Forms 6.5

View Entire Topic

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

17-07-2020

I have created custom OSGI bundle that allows you to set the value in DDX attribute as part of the workflow as shown in the screen shot

workflowuser_0-1595024346779.png

The first parameter is the location of your DDX file. The second is the element and the third is the attribute , and fourth is the value that needs to be set

After the attribute values are set, the DDX is updated in the original location

You can set multiple attributes as shown in the screenshot

The bundle is shared here.

upload your DDX file into AEM DAM

Deploy the bundle and create a simple workflow with the a process step. Set the process step arguments as shown in the screen shot