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.

Element Hierarchy ......................................................................... 445<br />

Attributes ....................................................................................... 446<br />

Setting up an Image Repository.................................... 447<br />

The Image Repository Folder .............................................................. 447<br />

Inserting an Image into a Web Page.................................................... 448<br />

Example......................................................................................... 449<br />

Dynamically Selecting Upload Destinations ................ 450<br />

Setting Up Image Upload..................................................................... 450<br />

Media File Object........................................................................... 451<br />

Modifying the Upload Location ...................................................... 451<br />

Sample HTML Page ...................................................................... 452<br />

User Selection – Changing the Upload Location........................... 453<br />

Full Example.................................................................................. 454<br />

Automatic Upload ........................................................... 457<br />

Automatic Upload of Files and Images from an External Application .. 457<br />

Installing the Automatic Upload Feature .............................................. 459<br />

Modules that Enable Automatic Upload............................................... 459<br />

An Example of Customizing Automatic Upload ............................. 459<br />

cmdmfuuploadall Command ................................................................ 460<br />

Overview of the Automatic Upload Process......................................... 460<br />

The Upload Process ...................................................................... 460<br />

Information Components...................................................................... 462<br />

Concepts ....................................................................................... 462<br />

<strong>eWebEditPro</strong> Fields Sent with Post .................................................... 463<br />

Image Upload Fields...................................................................... 463<br />

Custom Field Set ........................................................................... 466<br />

Example HTML Form .................................................................... 466<br />

Creating an Automatic File Receive Script .......................................... 466<br />

What This Section Covers ............................................................. 467<br />

What This Section Does Not Cover............................................... 467<br />

The Automatic Upload Server-Side Receiving Module ................. 467<br />

Steps to Receiving a File ..................................................................... 467<br />

Step 1 – Act on the Command....................................................... 468<br />

Step 2 – Extract the File Information ............................................. 468<br />

Step 3 – Determine the File Destination ........................................ 468<br />

Step 4 – Extract the File Binary and Save ..................................... 469<br />

Step 5 – Build the Return XML Data.............................................. 469<br />

Step 6 – Respond Back to the Client............................................. 471<br />

Creating the Script......................................................................... 471<br />

Data Island .................................................................................... 471<br />

Steps to Receiving Content.................................................................. 476<br />

Step 1 - Act on the Command ....................................................... 476<br />

Step 2 - Extract the Content .......................................................... 476<br />

Step 3 - Save the Content ............................................................. 476<br />

Step 4 - Return a Response .......................................................... 476<br />

EWepAutoSvr Object API .................................................................... 477<br />

ClientMajorRev .............................................................................. 477<br />

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

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

Saved successfully!

Ooh no, something went wrong!