Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 562693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:34:53+00:00 2026-05-13T12:34:53+00:00

My team has a template (XDP) that we’ve created with the Adobe LiveCycle designer.

  • 0

My team has a template (XDP) that we’ve created with the Adobe LiveCycle designer.

The situation:

  • We are replacing an old Acrobat form
    (XFDF format) with this LiveCycle
    form as part of a much larger upgrade

  • The current Acrobat form is
    dynamically populated with basic data
    and delivered to the user as a PDF
    (the user clicks a link and a PDF
    opens on their machine pre-populated
    with basic demographic details)

  • The current process looks something like: user clicks, .NET app retrieves data, .NET app retrieves PDF from file system, .NET app serializes data into template in XFDF form, ASP.NET app sends an HTTP response back to the user in XFDF format, the user views the PDF in Adobe Reader

We would like to maintain a roughly analogous process with the new XDP format.

For the record, we DO have access to the LiveCycle services that do this type of work (e.g. the Render service). That said, we would like to create this type of serialization in .NET for a few reasons: we have limited LiveCycle licenses and will struggle to access the LiveCycle services due to their location in the enterprise.

Any thoughts (even “stop doing that, you’re insane”) are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:34:54+00:00Added an answer on May 13, 2026 at 12:34 pm

    Hey, sorry for the slow reply, didn’t see this.

    Create the PDF. Encode it as base64.

    Create a text file, foo.xdp:

    <?xml version='1.0' encoding='UTF-8'?>
    <?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>
    <xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>
        <xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>
            <xfa:data>
    

    Insert the XML here that is your dynamic data, matching the dynamic fields in the PDF.

            </xfa:data>
        </xfa:datasets>
        <pdf xmlns=\"http://ns.adobe.com/xdp/pdf/\"><document>
           <chunk>
    

    Without putting any characters after the tag, insert the base64 encoded PDF.

            </chunk>
        </document></pdf>
    </xdp:xdp>
    

    And, lo and behold, you have a valid XDP. Adobe Reader will accept this and display the PDF with your values in it.

    In Java, if you have a Properties with the connection details in it, the following code can use Livecycle to turn an XDP to a PDF, although your mileage might vary in C#.

            // Create a ServiceClientFactory object
            ServiceClientFactory myFactory = ServiceClientFactory
                    .createInstance(connectionProperties);
    
            // Create a PDF Utility client
            PDFUtilityServiceClient pdfClient = new PDFUtilityServiceClient(myFactory);
    
            // Specify an XDP file to convert to a PDF document
            ByteArrayInputStream bais = new ByteArrayInputStream(xdp.getBytes("ASCII"));
            Document inDoc = new Document(bais);
    
            // Convert the XDP file to a PDF document
            Document pdf = pdfClient.convertXDPtoPDF(inDoc);
    
            // Return the PDF as an InputStream.
            return pdf.getInputStream();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this Visual Studio solution that includes a project that has a template
My team has been tasked with designing a web application that is workflow driven.
Our team has been experiencing a recurring problem with velocity templates. Upon rendering, some
Ok, my team has been having issues with the ajaxToolkit Tabs control, it doesn't
We are currently using TFS 2008 with the Scrum for Team System template from
I have created an Item Template using the Export Template wizard. I opened up
My team has been working with creating dashboards and drill-through reports. We've moved past
My team has a new Asp.net MVC intranet app. I have been doing some
Our team has recently migrated to git. We have production web application server with
I'm looking for a way to determine what process template was used for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.