15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

cmdmfuuploadall Command<br />

Automatic Upload<br />

The mediaautoreceive.asp and edit.asp files are installed to <strong>eWebEditPro</strong><br />

path/samples/asp/database.<br />

The cmdmfuuploadall command lets the user manually perform the upload<br />

process. The command displays the Files Waiting for Upload dialog box, which<br />

prompts the user to upload files.<br />

This command is not on a standard toolbar in the default configuration, but can be<br />

added to a toolbar when customization is enabled.<br />

See Also: ”Adding a Toolbar Button” on page 173<br />

The Automatic Upload feature also uses the transport element (see ”Transport<br />

Element” on page 434) and the AutomaticUpload Object (see ”Automatic Upload<br />

Object” on page 499).<br />

Overview of the Automatic Upload Process<br />

The Upload Process<br />

When content containing files and links to files is copied from an application (such<br />

as MS Word) to the editor, the user may want to upload the files and update the<br />

paths before saving the content. The Automatic Upload mechanism provides this<br />

capability.<br />

If the client knows the correct server page and the server contains that page, the<br />

user needs to know nothing about the upload process, except maybe his or her<br />

login. The upload happens automatically.<br />

Automatic Upload allows an application, such as Ektron <strong>eWebEditPro</strong> or<br />

CMS300, to easily upload files to the server. The process starts on the client side<br />

application.<br />

1. One of these events initiates the upload process:<br />

• The user saves the editor content<br />

• The cmdmfuuploadall command is available as a toolbar button, and the user<br />

presses the button<br />

See Also: ”cmdmfuuploadall Command” on page 460<br />

2. The content is scanned, and files that meet these criteria are given to the<br />

eWepMediaTransfer module for uploading.<br />

• The file is specified in the body<br />

• The file path uses an href or src attribute<br />

• The file exists on the local system<br />

See Also: ”Modules that Enable Automatic Upload” on page 459<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 460

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!