Publishers of technology books, eBooks, and videos for creative people

Home > Articles

This chapter is from the book

Understanding Reader Extensions

As mentioned, some of the interactive and dynamic features in your forms won’t work in Reader until the form has been Reader extended. In this section, you’ll learn about the limitations of Reader and how to transcend these confines with Reader Extensions.

Understanding Adobe Reader Limitations

Although Reader is primarily used to read or view PDF files, you’ll often need your Reader users to do more to effectively participate in your smart form workflow. Fortunately, you can extend the features of Reader by applying Reader Extensions to your PDF forms. In this section, you’ll explore the following two files to understand and transcend Reader’s limitations.

  • notReaderExtended.pdf: This file was created in Designer and saved as a dynamic XFA PDF.
  • readerExtended.pdf: This is the same file created in Designer, but it was also Reader extended with LiveCycle Reader Extensions.

Saving data with the form

Believe it or not, Reader users won’t be able to save a copy of your PDF form with their data until the form has been extended. When a nonextended PDF is opened, Reader displays a message in the document message bar. If you open the notReaderExtended.pdf file in Reader 9 or above, you’ll see a purple document message bar with the following message: Please fill out the following form. You cannot save data typed into this form. Please print your completed form if you would like a copy for your records.

Although it’s helpful to know this before filling in a complex form, it’s hardly in keeping with a smart form workflow to print out the form to retain the data. It’s usually best to store the information digitally; your Reader users will be able to do this after the form is extended. Look at the readerExtended.pdf file, and you’ll see a purple document message bar with the following message: Please fill out the following form. You can save data typed into this form. You’ll also need to Reader extend a form if you want to use Reader to import or export XML data into PDF forms at runtime.

Using digital signatures

Digital signatures play an important role in secure smart form workflows. Just think about the many times you have had to sign paper documents. Digital signatures will replace the tasks in your workflow that previously required a handwritten signature on paper. In many ways, digital signatures are more trustworthy than traditional signatures, and there are various ways that you can use them in your Designer forms.

When you open the notReaderExtended.pdf file in Reader 9 or later, the digital signature field is unresponsive. However, when you open the readerExtended.pdf file, you’re able to sign the document by clicking the digital signature field.

Connecting to data in real time

The two sample files you’ve been working with also contain a connection to a web service. However, you’ll notice that this web service call works only in the Reader extended file. Follow these steps to call a web service from that sample file:

  1. Open the readerExtended.pdf sample file in Adobe Reader 9 or later.
  2. Enter 1001 in the Enter ID field.
  3. Click the Call Web Service button. This will call a web service at the SmartDoc data center to retrieve a record from a Microsoft SQL Server database. Depending on your security settings, you may see Acrobat Security Warning messages like the one in Figure 4.9. You’ll need to trust this document as explained in step 5 to bypass these messages.

    Figure 4.9

    Figure 4.9 The Acrobat Security Warning message.

  4. Deselect the “Remember this action for this site for all PDF documents” option, and click Allow.
  5. Click the Options drop-down list in the Acrobat document message bar, and select “Trust this document one time only.”
  6. Click No if you’re prompted to save changes.
  7. Now that the security questions are answered, you can enter 1001 in the Enter ID field, and click the Call Web Service button.

    The data will automatically flow into the form fields of the PDF. This happens because the form has been Reader extended and the fields are bound to the data connection.

If you try to repeat the preceding steps in Adobe Reader with the notReaderExtended.pdf file, nothing will happen when you click the Call Web Service button.

Submitting electronic forms

Some types of electronic form submission won’t work in Reader until the file has been extended. Reader enables you to submit XML data from a nonextended form, but if you want to submit the form and the data, the form must be Reader extended. Follow these steps with your sample files to see how this works:

  1. Open the readerExtended.pdf sample file in Adobe Reader 9 or later.
  2. Click the Submit Form button. The Send Email dialog box appears (Figure 4.10).

    Figure 4.10

    Figure 4.10 The Send Email dialog box.

  3. If you have Microsoft Outlook, select Default Email Application, and click Continue. Acrobat passes this form to your Outlook program. Note that this functionality doesn’t work with all email programs.

The Outlook screen shows your email message with your attached PDF form (Figure 4.11).

Figure 4.11

Figure 4.11 An Outlook email message with an attached PDF form.

If you’re using Reader and you try to click Submit Form in the notReader Extended.pdf file, nothing will happen. Form submission isn’t supported in Reader until the form has been Reader extended. However, you can submit the XML data. Click the Submit Data button and you’ll be able to complete the process.

The Submit Data button will work with both files. This button will submit your form data as an XML email attachment. Reader supports XML data submission for both extended and nonextended forms.

Using barcodes

You may sometimes need to integrate paper-based tasks in a digital workflow. Barcodes can help you do this. For instance, if you send an interactive PDF form to users and they fill it out with Reader, they may not necessarily submit the form to you electronically. For various reasons, your users may decide to print out the form and submit it via fax or traditional mail.

In these cases, barcodes can encode the users’ form data as they enter it into Reader. You saw an example of this at the end of Chapter 2, “Scripting and Advanced Techniques.” These barcodes on the paper forms can be scanned, and the data they contain will be automatically read into your back-end system. If you open the readerExtended.pdf file in Reader 9 or later, you’ll see the barcode in action. The code is wired to encode the data only in the Name field. As you make changes to this data, the visual appearance of the barcode changes. This barcode is an instance of Adobe’s Paper Forms barcode, which you can add to your forms with Designer. This two-dimensional barcode is read by a barcode scanner, which retrieves the data you entered in the Name field. You can encode most types of form data into a barcode.

Attaching files

Acrobat enables users to attach other files to a PDF. This capability is useful in cases when a user wants to include supporting documents with a form. These files appear in the Attachments panel, which is always available in Acrobat and active in Reader when a PDF has been extended. Follow these steps to see how to add attachments to PDF forms and files:

  1. To open the Attachments panel in Acrobat, select View > Show/Hide > Navigation Panes > Attachments. Alternatively, you can click the paperclip icon in the Navigation pane on the left of the main window.
  2. Click the drop-down list and select Add Attachment (Figure 4.12, left). The Add Files dialog box will open.

    Figure 4.12

    Figure 4.12 The Attachments panel (left) and the Extended Features panel in Reader (right).

  3. Select the file you need to attach to your PDF form and click Open. Your attached file now displays in the Attachments panel.

You won’t see this option in Reader when you open the notReaderExtended.pdf file. However, when you open the readerExtended.pdf file, this feature is enabled. You can also open the Attachments panel in Reader by clicking the icon in the Extended Features panel that displays in Reader when a Reader Extended file is active (Figure 4.12, right).

Using the Comment and Markup tools

The Acrobat Comment and Markup tools aren’t normally a feature of Adobe Reader. However, these tools lie dormant in the program and can be activated when a Reader extended PDF form is opened. Remember, it must be a static XFA PDF in order for you to use these tools. You’ll Reader extend a static form in the next exercise.

Extending a PDF Form with Acrobat

Now that you’ve learned the benefits of Reader extending your form, it’s time to learn how to do so with a hands-on exercise. There are two tools you can use to extend a form:

  • Adobe Acrobat will do a partial Reader extension of your PDF form.
  • LiveCycle Reader Extensions will do a complete extension of your XFA PDF. LiveCycle Reader Extensions is a LiveCycle Server module that needs to be licensed from Adobe separately from Acrobat.

Partial Reader extension with Acrobat Professional

These steps allow you to Reader extend a form using Acrobat Professional:

  1. Open the changeOfBeneficiaryStatic.pdf form in Adobe Reader. Notice that the commenting tools in the upper right are grayed-out and inactive.
  2. Close the changeOfBeneficiaryStatic.pdf form in Adobe Reader.
  3. Open the changeOfBeneficiaryStatic.pdf form in Acrobat Professional.
  4. Select File > Save As Other > Reader Extended PDF > Enable More Tools (includes form fill-in and save).

    Acrobat displays a message box describing the features that will be available for this file when it’s opened in Reader (Figure 4.13).

    Figure 4.13

    Figure 4.13 Enabling Adobe Reader usage rights.

  5. Click Save Now to open the Save As dialog box.
  6. Change the filename to changeOfBeneficiaryStatic_RE.pdf and click Save.

    Your file is now Reader extended, and it supports the following features:

    • Saving data with the form
    • Using the Comment and Markup tools
    • Submitting electronic forms
    • Using digital signatures
  7. Open your new changeOfBeneficiaryStatic_RE.pdf in Adobe Reader. Notice that the commenting tools in the upper right are now active.

Although Reader extending with Acrobat Professional is good for many cases, you’ll have to extend your forms with LiveCycle Reader Extensions if you need Reader users to access any of the following functionality in your XFA PDFs:

  • Connecting to data in real time
  • Using barcodes
  • Attaching files

Complete Reader extension with LiveCycle Reader Extensions

To completely Reader extend your PDF forms, you need to use LiveCycle Reader Extensions. Unlike the previous Acrobat method, Reader Extensions can extend files at design time and at runtime. If you have a license for this LiveCycle Server module, you can extend a file at design time by launching your browser and navigating to the Reader Extensions URL of your LiveCycle Server. The path will follow this format.

http://[Server Address]:[Port Number]/ReaderExtensions

After you log in with your username and password, the main screen appears (Figure 4.14). You can select your PDF file and your usage rights on this screen. After making your choices, click Apply to Reader extend your file.

Figure 4.14

Figure 4.14 The web interface for LiveCycle Reader Extensions. You need this software to enable Reader users to work with barcodes and embed file attachments.

Since this module runs as a LiveCycle service, you can call it at runtime from your LiveCycle, Java, or .NET programs. This is an ideal module to use at runtime to make sure all users of your form will realize its full functionality regardless of whether they are using Acrobat or the free Reader program. As you can see in Figure 4.14, you can even add a custom message that users will see when they open your Reader extended files.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020