-----BEGIN PGP SIGNED MESSAGE-----

Thanks-you one and all:)

On Thu, 14 Jun 2001, you wrote:
> There are some really cool tags in Spectra 1.5+ for this.
>
> <cfa_contentObjectExport>, <cfa_contentObjectImport>,
> <cfa_metadataObjectExport>, <cfa_workflowObjectExport>, <cfa_objectPackPLP>,
> <cfa_objectPackCOAPI>.
>
> To export a type  through the Webtop go to the type designer and click the
> package icon in the upper right hand corner. PLPs can moved in this manner.
>
> An example of copying all active objects
>
>       <cfa_contentObjectGetMultiple
>               datasource="#request.cfa.objectStore.dsn#"
>               typeId="IDGoesHere"
>               bActiveOnly="1"
>               r_stObjects="stObjects"
>       >
>
>       <cfa_contentObjectExport
>               datasource="#request.cfa.objectStore.dsn#"
>               filepath="#filePath#"
>               fileName="typeName.objects.wddx"
>               lObjectIDs="#structKeyList(stObjects)#"
>               bOverWrite="true"
>               r_bSuccess="bHappy"
>       >
>
>
> An example of copying a type:
>
>       <cfa_objectPackCOAPI
>           typeID ="#stTEx[typeId]#"
>           dataSource="#request.cfa.objectStore.dsn#"
>           r_wstObject="wStObject"
>       >
>       <cfset file = filePath & typeId & ".types.wddx">
>       <cffile action="WRITE" file="#file#" output="#wStObject#">
>
>
>
> Since site-layout elements are implimented as objects you just use the
> <cfa_contentObjectExport> and <cfa_contentObjectImport> tags.
>
> Ben
> Macromedia Spectra Product Evangelist
>
>
> -----Original Message-----
> From: Rion D'Luz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 14, 2001 12:36 PM
> To: Spectra-Talk
> Subject: Copying Application elements to another application
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Hi all:
>       Is there a way to easily copy types, properties, site-layout elements,
> etc..  from one application to another; either programmatically or using the
> webtop?
>       Also thanks to those who've responed to my inquiries w/helpful tips
> and ideas.
>
> Rion
>
>
>
>  --  ----------------------------------
> Level9
> 5 State Street
> Montpelier, VT
>
> 1 (802) 229 2005
>
> E-Mail: [EMAIL PROTECTED]
> E-Mail2: [EMAIL PROTECTED]
>
> ----------------------------------
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to