Xerox SmartSend Support & Software Installation Guide
4-44
Site Configuration
Appendix B - External Application Connection
The External Application Connection (EAC) destination is a mechanism enabled by SMARTsend to allow
easy extensions of functionality. By using the EAC as a destination, you can have image files (or OCR’d
files) delivered to an application to perform additional actions. SMARTsend will also pass along any
document attribute information as part of the data sent to the application. The syntax to program an EAC is
very simple, and can be compared to command line execution of an application or a batch/script file. You
simply need to provide the patch to the executable (or script) and tell SMARTsend what parameters/
arguments to pass along to the executable or script. See Configure Service Settings on page 4-29 for
additional information on how to enable the External Application Connection.
easy extensions of functionality. By using the EAC as a destination, you can have image files (or OCR’d
files) delivered to an application to perform additional actions. SMARTsend will also pass along any
document attribute information as part of the data sent to the application. The syntax to program an EAC is
very simple, and can be compared to command line execution of an application or a batch/script file. You
simply need to provide the patch to the executable (or script) and tell SMARTsend what parameters/
arguments to pass along to the executable or script. See Configure Service Settings on page 4-29 for
additional information on how to enable the External Application Connection.
To program an EAC workflow:
1
Open a browser window and launch SMARTsend as an Administrator.
2
Navigate to the User Home Page. Click Add a New Distribution Workflow under the Workflows
heading. The Destinations page will be displayed.
heading. The Destinations page will be displayed.
3
Locate the External Application heading. Click add locations. The External Application Connection
Properties window will be displayed.
Properties window will be displayed.
4
Select a Destination Name to identify the application, process, or filing location that the workflow will
use to process scanned documents.
use to process scanned documents.
5
Enter command line parameters to invoke a third party application. These parameters may invoke a
script or executable program, and can also define parameters that enable SMARTsend to export
metadata. Following are several command line examples:
script or executable program, and can also define parameters that enable SMARTsend to export
metadata. Following are several command line examples:
No Parameters:
myBatch.bat (This will simply execute the batch file. The batch file can perform any required actions
independent of SMARTsend)
independent of SMARTsend)
Static Parameters:
myBatch.bat deleteOldJobs (This will pass the static parameter “deleteOldJobs” to the batch file)
Document Location Parameters:
myBatch {DocumentUrl} (The location of the document will be passed as an argument)
myBatch.bat {DocumentUrls} (If multiple documents are generated, then a list of all the documents
will be passed as arguments)
will be passed as arguments)
Metadata Parameters:
myBatch.bat {DocumentUrl} -title {Field1} -description {Field2} (The document location, and the 1st
and 2nd Document Attributes parameters as programmed in the workflow will be passed along as
parameters)
and 2nd Document Attributes parameters as programmed in the workflow will be passed along as
parameters)
6
Select a Maximum Wait Time for External Application to Complete. This setting enables you to
configure the amount of time that SMARTsend will wait for the external application to complete the
tasks defined in the command line. When this time interval expires, SMARTsend will delete any
documents that are temporarily stored on the computer.
configure the amount of time that SMARTsend will wait for the external application to complete the
tasks defined in the command line. When this time interval expires, SMARTsend will delete any
documents that are temporarily stored on the computer.
7
If applicable, select Send URL link to document (no document attached). Select this option to send the
URL for the document(s) to the External Application Connection. An error will be generated if you
select this option and do not include a URL replacement tag in the command line.
URL for the document(s) to the External Application Connection. An error will be generated if you
select this option and do not include a URL replacement tag in the command line.
8
Click OK.
9
Continue defining the workflow.