Reading and Writing Files Using the File Utilities service



Similar documents
Sending an Message from a Process

Adobe Acrobat 9 Deployment on Microsoft Systems Management

Adobe Acrobat 9 Deployment on Microsoft Windows Group Policy and the Active Directory service

ELM Server Exchange Edition Virtual Archive Mailbox version 5.5

User Document. Adobe Acrobat 7.0 for Microsoft Windows Group Policy Objects and Active Directory

Sophos Endpoint Security and Control How to deploy through Citrix Receiver 2.0

Installing Cobra 4.7

Flex System Software Installation

Introducing the Adobe Digital Enterprise Platform

EMC Documentum Business Process Suite

ACE: Dreamweaver CC Exam Guide

Configuring IIS 6 to Load Balance a JBoss 4.2 Adobe LiveCycle Enterprise Suite 2 (ES2) Cluster

E-Map Application CHAPTER. The E-Map Editor


CREATING YOUR FIRST ADOBE DIGITAL ENTERPRISE PLATFORM DOCUMENT SERVICES APPLICATION

Global Image Management System For epad-vision. User Manual Version 1.10

Document Management Quick Reference Guide

SAS 9.3 Foundation for Microsoft Windows

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Downloading soft fonts to Zebra printers with Adobe Output Designer / Adobe Central Output Server.

OnDemand. Getting Started Guide

Table of Contents. 1.1 Description of DFM... 5

Business Process Management IBM Business Process Manager V7.5

ContentWatch Auto Deployment Tool

Application Notes: MaxACD Connector For Salesforce

VRC 7900/8900 Avalanche Enabler User s Manual

MINIMIZING DISK SPACE USAGE IN SAAS OR VIRTUAL OFFICE CS

LPR for Windows 95 TCP/IP Printing User s Guide

Using EMC Documentum with Adobe LiveCycle ES

Event Manager. LANDesk Service Desk

Using Entrust certificates with Adobe PDF files and forms

Wavecrest Certificate

File Management Utility User Guide

Getting Started with the Aloha Community Template for Salesforce Identity

bbc Installing Your Development Environment Adobe LiveCycle ES July 2007 Version 8.0

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

Cut a video into multiple short clips

DP-313 Wireless Print Server

Practice Fusion API Client Installation Guide for Windows

Installation Logon Recording Basis. By AD Logon Name AD Logon Name(recommended) By Windows Logon Name IP Address

Using SQL Reporting Services with Amicus

Document Digital Signature

1. Open the License Manager either via the Start Menu or from C:\Keri\DoorsNET directory.

Configuration Manager Error Messages

PC Agent Quick Start. Open the Agent. Autonomy Connected Backup. Version 8.8. Revision 0

Lab 5: Delete What You Won t Need from the Publish Process

4cast Client Specification and Installation

Secure Agent Quick Start for Windows

Cluster Guide. Version: 9.0 Released: March Companion Guides:

SECURE MOBILE ACCESS MODULE USER GUIDE EFT 2013

PageScope Router. Version 1.5. Configuration Guide

Cloud Attached Storage

Creating a High Resolution PDF File with Adobe Acrobat Software

PRODUCT WHITE PAPER LABEL ARCHIVE. Adding and Configuring Active Directory Users in LABEL ARCHIVE

Using Group Policies to Install AutoCAD. CMMU 5405 Nate Bartley 9/22/2005

The cloud server setup program installs the cloud server application, Apache Tomcat, Java Runtime Environment, and PostgreSQL.

QuadraMed Enterprise Scheduling Combined Service Installation Guide. Version 11.0

Synthetic Monitoring Scripting Framework. User Guide

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

Setting Up SSL on IIS6 for MEGA Advisor

SnapLogic Tutorials Document Release: October 2013 SnapLogic, Inc. 2 West 5th Ave, Fourth Floor San Mateo, California U.S.A.

AutoMerge for MS CRM 3

Elixir Schedule Designer User Manual

Universal Management Service 2015

Adobe Certified Expert Program

Feith Dashboard iq Server Version 8.1 Install Guide

Remote Storage Area (RSA) Basics

Secrets of Event Viewer for Active Directory Security Auditing Lepide Software

DocuPrint C3290 FS Features Setup Guide

Olathe District Schools 1 of 11 GroupWise 7

ACTIVE DIRECTORY DEPLOYMENT

Using the Acrobat X Pro Accessibility Checker

DCA. Document Control & Archiving USER S GUIDE

Publishing Geoprocessing Services Tutorial

VERITAS NetBackup 6.0

Distributing SMS v2.0

Acrobat X Pro Accessible Forms and Interactive Documents

Launcher Installation Instructions Code No. LIT Software Release 1.5 Issued June 2016

TestDirector Version Control Add-in Installation Guide

Legal Notes. Regarding Trademarks KYOCERA MITA Corporation

Drobo How-To Guide. What You Will Need. Configure Replication for DR Using Double-Take Availability and Drobo iscsi SAN

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Microsoft Dynamics NAV Connector. User Guide

Backing up and restoring HP Systems Insight Manager 6.0 or greater data files in a Windows environment

EMC SourceOne for Microsoft SharePoint Storage Management Version 7.1

Xerox Global Print Driver. Installation Guide

ThinPrint GPO Configuration for Location-Based Printing

Network Detective Client Connector

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

TIBCO ActiveMatrix Service Bus Getting Started. Software Release 2.3 February 2010

Quick Start Guide. For Thick and/or Thin Client Environments. Released: February 2012

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012

Transcription:

Adobe Enterprise Technical Enablement Reading and Writing Files Using the File Utilities service In this topic, you will learn about the File Utilities services which enable processes to interact with the file system. Objectives After completing this unit, you should be able to Read and write documents from the file system Concepts In this topic, you will learn about the following concepts Reading and writing files using the File Utilities service Copyright 2011 Adobe Systems Incorporated 1

Reading and writing files using the File Utilities service The File Utilities services enable processes to interact with the file system of the Adobe Enterprise server or other file system that the server can access The File Utilities service provides the following operations Table 1: File Utilities operations Delete Exists Find Is Absolute Is Directory Is File Is Hidden Make Directory Make Directory Tree Read Document Read String Read XML Rename To Set Read Only Write Document Write String Write XML Note: In this topic, only the Read Document and Write Document operations will be discussed. 2 Copyright 2011 Adobe Systems Incorporated

Using the Read Document operation The Read Document operation is used to read a document from the file system into a document type variable Located in Foundation > File Utilities - 1.0 Figure 1: Locating the Read Document operation of the File Utilities service Copyright 2011 Adobe Systems Incorporated 3

Setting Read Document operation properties When a Read Document operation is added to a process, the following properties can be defined in the Properties view Filename - the fully qualified name of the file to read from the file system Output Document - the XPath expression or document variable where the content of the read document is saved to Figure 2: Properties view for the Read Document operation Note: If any local paths to files or directories are specified for any operation properties, the paths are interpreted as being on the file system of the server. The user account that is used to run the server must have the required permissions to interact with the files and file locations that the service s operations target. 4 Copyright 2011 Adobe Systems Incorporated

Using the Write Document operation The Write Document operation is used to write a document to the file system Located in Foundation > File Utilities - 1.0 Figure 3: Locating the Write Document operation of the File Utilities service Copyright 2011 Adobe Systems Incorporated 5

Setting Write Document operation properties When a Write Document operation is added to a process, the following properties can be defined in the Properties view Pathname Pattern - fully qualified file name of the file to create Document - contains the content to write to the file Make Unique - specifies whether the filename should be made unique when the file is already present Overwrite the existing file - specifies whether the file should be overwritten if it already exists Figure 4: Properties panel for the Write Document operation 6 Copyright 2011 Adobe Systems Incorporated

Task 1: Reading and writing from the file system In this task, you will perform the following Open a process Configure a Read Document operation Configure a Write Document operation Test the process Setup 1. Import the Reading_And_Writing_Files.lca file. Steps Open a process 1. Login to the Workbench. 2. Open the Reading_and_Writing_Files application. 3. Expand the Processes folder, right-click the ReadingAndWritingFiles process and select Check Out. 4. Double-click the ReadingAndWritingFiles process to open it. 5. From the Variables view, create a new process variable with the following properties. Name: inworddoc Type: document Configure a Read Document operation 6. From the process diagram palette, drag the Activity Picker activity onto your process diagram. 7. In the Define Activity dialog box, expand the Foundation category. 8. From the File Utilities service, select the Read Document operation and click OK. 9. Select the Read Document operation and set the following properties. Name: Read Word Document Input Filename (literal value): C:\AdobeTraining\Doc_Services\Foundation\Reading_And_Writing _Files\Direct Deposit Agreement.doc Output Document (variable): inworddoc Configure a Write Document operation 10. From the process diagram palette, drag the Activity Picker activity onto your process diagram and drop it to the right of the Read Word Document operation. Copyright 2011 Adobe Systems Incorporated 7

11. In the Define Activity dialog box, expand the Foundation category. 12. From the File Utilities service, select the Write Document operation and click OK. 13. Select the Write Document operation and set the following properties. Name: Write Document Pathname Pattern (literal value): C:\AdobeTraining\Doc_Services\Foundation\Reading_And_Writing _Files\Direct Deposit Agreement BACKUP.doc Document (variable): inworddoc 14. Select the Overwrite the existing file option. 15. Connect the two operations with a route. 16. Confirm that the process appears as follows. 17. Save the process and Deploy the application. Test the process 18. Right-click in an empty area of the process diagram and select Invoke Process... 19. A dialog will appear stating that the process has no input variables. Click OK. 20. A dialog will appear stating that the invocation completed successfully. Click OK. 21. Verify that the Direct Deposit Agreement BACKUP.doc file was written to the C:\AdobeTraining\Doc_Services\Foundation\Reading_And_Writing_Files directory. 8 Copyright 2011 Adobe Systems Incorporated

Summary The Read Document operation is used to read a document from the file system into a document type variable The Write Document operation is used to write a document to the file system Copyright 2011 Adobe Systems Incorporated 9

Review 1. When would the Read Document operation be used in a process? 2. When would the Write Document operation be used in a process? Adobe Systems Incorporated 345 Park Avenue San Jose, CA 95110-2704 USA www.adobe.com Adobe, Acrobat, Adobe AIR, AIR, Distiller, Flash, Flash Builder, Flash Catalyst, Flex, Adobe Digital Enterprise Platform, MXML, PostScript, Reader, SiteCatalyst, SearchCenter, Discover, Recommendations, Insight, Test&Target, ReportBuilder, Survey, Search&Promote, and Social Media are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. 2011 Adobe Systems Incorporated. All rights reserved.