Expand my Community achievements bar.

Inline PDF in DDX

Avatar

Former Community Member

I need to send PDF Base64 encoded inline with the DDX that I'm sending to Assembler.  Any idea how to accomplish that ?

I have tried the following, but I get the following error

  The input BLOB object should have attachmentID, remoteURL, or binaryData field specified.

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

    <PDF result="File:///\\share\readonly_2.pdf" encryption="limit">

        <PDF>

            <ser:binaryData>

                PENvcnJlc3BvbmRhbmNlPg0KCTxEb2N1bWVudFBhcmFtcz4NCgkJPExhbmd1YWdlPjE8L0xhbmd1YWdlPg0KCQk8Q2FzZU5vPjc4LzM0MDQyMzY8L0Nhc2V

                snip...

            </ser:binaryData>

        </PDF>

    </PDF>

    <PasswordEncryptionProfile name="limit" compatibilityLevel="Acrobat5">

        <Permissions copy="No" edit="No" print="No" screenReading="No">

            <MasterPassword>mySecret</MasterPassword>

        </Permissions>

    </PasswordEncryptionProfile>

</DDX>

1 Reply

Avatar

Employee Advisor

Not sure why/how you specify the source PDF content along the DDX, may be you should have  a look at this example : 4D+Flex+LiveCycle: Using LiveCycle Assembler to Create a PDF Portfolio via Webservices

-Wasil