Advanced PDF workflows with ColdFusion



Similar documents
DocuSign Connect Guide

bbc PDF/A-1 in Acrobat 9 and LiveCycle ES PDF/A-1 PDF/A Generation and validation principles APPLIES TO CONTENTS Update March 2009

COM_2006_023_02.xsd <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs=" elementformdefault="qualified">

Introducing the Adobe Digital Enterprise Platform

<xs:restriction base="xs:string">

+ <xs:element name="productsubtype" type="xs:string" minoccurs="0"/>

Adobe Acrobat 9 Pro Accessibility Guide: PDF Accessibility Overview

Schema XSD opisująca typy dokumentów obsługiwane w Systemie invooclip

Adobe LiveCycle Enterprise Suite 4

SAP" Interactive Forms by Adobe*

Adobe Acrobat 9 Pro Accessibility Guide: Using the Accessibility Checker

Service Description: NIH GovTrip - NBS Web Service

[MS-FSDAP]: Forms Services Design and Activation Web Service Protocol

Adobe Acrobat X Pro Creating & Working with PDF Documents

Using ADOBE LIVECYCLE ES4 Connector for MICROSOFT SHAREPOINT

How to use Adobe Acrobat Pro 9 for Plan Review

Create a PDF File. Tip. In this lesson, you will learn how to:

CA ERwin Data Modeler

An Empirical Study on XML Schema Idiosyncrasies in Big Data Processing

Archivio Sp. z o.o. Schema XSD opisująca typy dokumentów obsługiwane w Systemie Invo24

Software Application Tutorial

<xs:complextype name="trescdokumentu_typ">

CORRESPONDENCE MANAGEMENT 11 SOLUTION GUIDE

ADOBE LIVECYCLE ES4 OVERVIEW

Making the Case for PDF/A and Adobe LiveCycle

Archiving digital documents and s in PDF/A

PDF Primer PDF. White Paper

Streamlining the drug development lifecycle with Adobe LiveCycle enterprise solutions

User manual for e-line DNB: the XML import file. User manual for e-line DNB: the XML import file

Adobe Acrobat X Pro Forms

Gplus Adapter 8.0. for Siebel CRM. Developer s Guide

Adobe Developer Workshop Series

PDF Forms Advantages and application possibilities of electronic forms in PDF format

Navigate your workflow

Interactive Forms based on Adobe software

JPX-LEI User Guide 2014/8/1. Japan Exchange Group, Inc. / Tokyo Stock Exchange, Inc. Copyright 2014 Tokyo Stock Exchange, Inc. All rights reserved.

PDFSealer User s Guide. ITEKSOFT Corporation Copyright All rights reserved

Lessons from document archiving PDF/A Dave McAllister, Director, Open Source and Standards Adobe Systems Incorporated. All Rights Reserved.

How To Use Pdf Files On A Pc Or Mac Or Mac With A Pdf File Manager On A Microsoft Powerbook Or Powerbook On A Pdf (Powerbook) On A Mac Or Powerintosh On A Powerbook With A Powerpoint 3D

Getting Started with ADOBE elearning SUITE 6

Integrating Adobe LiveCycle ES and Microsoft Office SharePoint

Adobe ColdFusion 11 Enterprise Edition

Installing and Configuring Adobe LiveCycle 9.5 Connector for Microsoft SharePoint

The Need for an Alternative PDF Solution Create, Collaborate, Edit, and Secure PDF Documents with Foxit PhantomPDF PhantomPDF Express...

1. What is Long-Term Docs... 5

Accessing Data with ADOBE FLEX 4.6

ADOBE PRODUCT DESCRIPTIONS AND METRICS ( PDM ) FOR ADOBE LIVECYCLE ES 3.5. Page 1 of 11

The Direct Project. Implementation Guide for Direct Project Trust Bundle Distribution. Version March 2013

General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support

Generating lesson plans with. Adobe Acrobat

A-PDF Password Security Change pdf file password security. User Documentation

Data Export User Guide

Creating Accessible PDF Documents with Adobe Acrobat 7.0 A Guide for Publishing PDF Documents for Use by People with Disabilities

PDF Accessibility Overview

Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible PDF from Microsoft Word

Security for industrial automation and control systems: Patch compatibility information

Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax

Creating Form Rendering ASP.NET Applications

Installation and Administration Guide

BI Publisher in Oracle EBS R12: What it is, its evolution, and how to use it. Presented by: Bob Bullman, BizTech

PLM integration with Adobe LiveCycle ES (Enterprise Suite)

BFMA Presentation: Why use one form format over another?

Introducing Oracle BI / XML Publisher

Adobe LiveCycle ES2 Output Solutions

Agency to System Infrastructure Provider Interface Specification

Using the Acrobat X Pro Accessibility Checker

CommonSpot Content Server Version 6.2 Release Notes

Electronic Records Management Guidelines - File Formats

Adobe LiveCycle : Release overview and migration planning for business managers

6.2 Reporting BIPublisher Improvements

Top 10 PDF Tips. Top Ten Functions In ecopy PDF Pro Office

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

CAS Protocol 3.0 specification

Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible Forms

Document Exporter for Outlook

Framework as a master tool in modern web development

keyon Luna SA Monitor Service Administration Guide 1 P a g e Version Autor Date Comment

INF O R M A T IO N AB O UT websignatureoffice

Quick Guide for Accessible PDF July 2013 Training:

SAP Interactive Forms by Adobe

bbc Developer FAQ Adobe Acrobat SDK November 2006 Version 8.0

SAP Solution in Detail SAP Interactive Forms by Adobe SAP INTERACTIVE FORMS BY ADOBE

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

ENVISION TM WEB HOSTING CHECKLIST

[MS-DVRD]: Device Registration Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

FileMaker Server 9. Custom Web Publishing with PHP

INFOPATH FORMS FOR OUTLOOK, SHAREPOINT, OR THE WEB

Getting Started Guide. Chapter 10 Printing, Exporting, and ing

AonLine System Requirements - Updated 8th June 2015

Transcription:

Advanced PDF workflows with ColdFusion and LiveCycle

Outline About PDF Generating PDF from ColdFusion Working with PDF forms in ColdFusion Workflows with XFA forms Designing XFA forms with LC Designer Submitting form data from a PDF to ColdFusion

Before PDF PostScript Document language from Adobe Contains complex instructions (loops, conditionals etc.) Complex Heavy

Portable Document Format Developed by Adobe in 1993 Alternative for PostScript Lightweight Format fidelity Consists of: PostScript page description system Fonts Packaging format in a single file

PDF versions (1) 1993 version 1 1996 version 1.1 passwords 1996 version 1.2 AcroForms 2000 version 1.3 Signatures Javascript

PDF versions (2) 2001 version 1.4 Forms Data Format 2003 version 1.5 XML Forms Architecture 2004 version 1.6 3D 2006 version 1.7 (ISO 32000 1:2008) collections

PDF versions (3) 2008 version 1.7 Extension Level 3 2009 version 1.7 Extension Level 5 20?? ISO 32000 2

Generating PDF from ColdFusion CF reports cfdocument cfpdf

CF reports CF Reports are build using the ReportBuilder Output formats include: PDF RTF Excel.cfr files can be called directly from the browser Cfreport tag for executing Crystal Reports or CF reports

cfdocument Generates PDF (or FlashPaper) Does HTML conversion natively through itext But al the interactive elements are removed Conversion of Office documents through OpenOffice

cfpdf Tag for manipulating PDFs: Merge (append) Delete pages Watermark Password protect Optimize Add/remove headers/footers Read/change metadata

cfpdf operation <cfpdf action="merge source="c:\pdfdocs\mybook\chap1.pdf, c:\pdfdocs\mybook\chap2.pdf, c:\pdfdocs\mybook\chap3,pdf" destination="mybook.pdf" overwrite="yes">

DDX sample <DDX xmlns="http://ns.adobe.com/ddx/1.0/" xmlns:xsi="http://www.w3.org/2001/xmlschemainstance" xsi:schemalocation="http://ns.adobe.com/ddx/1.0 / coldfusion_ddx.xsd"> <PDF result="out1"> <PDF source="title"/> <TableOfContents/> <PDF source="doc1"/> <PDF source="doc2"/> <PDF source="doc3"/> </PDF> </DDX>

But all of these are noninteractive

cfpdfform Tag to read/update data in PDF forms Requires existing PDF template with form fields in definition Supports AcroForms XFA forms

AcroForms Introduced in PDF 1.1 Support fixed layout forms Supported by most third party PDF readers / libraries Build them with Adobe Acrobat

XML Forms Architecture (XFA) Originally developed by JetForms Submitted and accepted as W3C standard Supported by Adobe PDF applications: Acrobat Reader LiveCycle ColdFusion Limited support by itext (fill only) Created in LiveCycle Designer (part of Acrobat)

XFA lifecycle XFA template from PDF container XFA data from PDF container or from PDF application Form fields data PDF background from PDF container Layout pages displayed to user

Demo 1 Developing a form in LiveCycle Designer Using form objects Events Flowed layout

Workflows Business process workflow: A business process or business method is a collection of related, structured activities or tasks that produce a specific service or product (serve a particular goal) for a particular customer or customers. From http://en.wikipedia.org/wiki/business_process Architect Designer Developer workflow

Business process workflow Workflow for an expenses process: Employee fills out expenses form Employee sends expenses form to manager Manager approves expenses Manager sends form to accounting Accounting pays expenses Accounting files expenses form

Architect Designer Developer workflow Architect defines data model for form Employee information Expenses information Workflow information Designer designs form interface Developer develops backend workflow

Form Data Model Data model created by architect / business analyst Many ways to express a data model UML XSD Sample data For this we prefer to use an XSD due to support in CF and LiveCycle Designer

Sample XSD <xs:element name="expenses"> <xs:complextype> <xs:sequence> <xs:element ref="form:expenseline" maxoccurs="unbounded"/> </xs:sequence> </xs:complextype> </xs:element> <xs:element name="expenseline"> <xs:complextype> <xs:sequence> <xs:element name="date" type="xs:date"/> <xs:element name="amount" type="xs:decimal"/> <xs:element name="description" type="xs:string"/> </xs:sequence> </xs:complextype> </xs:element> <xs:simpletype name="typejn"> <xs:restriction base="xs:string"> <xs:enumeration value="j"></xs:enumeration> <xs:enumeration value="n"></xs:enumeration> </xs:restriction> </xs:simpletype>

Demo 2 Developing a LiveCycle form based on an XSD Form field definitions Repeating data Form validation rules

Submitting data from a PDF to ColdFusion Add a button to the PDF Make the type Submit Destination: http URL mailto URL

PDF data type XML Data Package PDF (needs reader extensions) XML Data URL Encoded data

Reading form data cfpop the mailbox with the emails Loop over the attachments Check for the.xml extension Validate the schema with XMLValidate()

Reading form data Use cfpdfform Read / write all data at once in XML format from the pdf scope (or the PDF variable): <cfpdfform action="read" source="#pdf.content#" result="stdata" />

Writing form data Use cfpdfform to populate a form with data Always use overwritedata to prevent errors <cfpdfform action="populate" source="#pdftemplate#" xmldata="#xmltemplate#" overwritedata="yes" />

Demo 3 Building a workflow for a PDF in ColdFusion: Prefill form for process Different datasets Different look and feel Receive form submission Validate Process

Extending with LiveCycle ES LiveCycle ES is the Enterpise PDF solution It can do much more with XFA forms Merge Flatten Assemble Convert to HTML forms Convert to Flex forms

cfpdfform & XFA benefits

cfpdfform & XFA benefits People think PDF looks respectable Validation all around: Form is bound to schema Process is bound to schema Separation of responsibilities Data generation is separate from PDF fill Clear development workflow

Risks PDF reader support If non Adobe clients need to be supported it is a no go Charsets cfpdfform is much more picky as XMLValidate() Client can not save form data Need to extend the PDF for Reader Mind the licensing