Folder Contained Asset

A Folder Contained Asset is defined in the following WSDL:



As the WSDL shows, folder-contained-asset extends from named-asset. Additionally, all folder-contained-assets are capable of specifying a parentFolderId or a parentFolderPath for defining the parent folder relationship. Furthermore, the folder-contained-asset defines the other way for identifying an asset in Cascade Server: the Path property. This is used to identify only the asset being edited. To move an asset, you would change the parentFolderId or parentFolderPath property, NOT the path property. For example, to move a page /intranet/default to /intranet/pages/default, the SOAP request would contain, in part:

The first element, Path, defines the Path of the existing asset (where it resides when the request is being made). The second element, parentFolderPath, specifies the destination (where it will reside once the request is completed).

To calculate the Path of any asset in Cascade Server, use the following: path = parentFolderPath + "/" + name.

Now we will come across four things that build on folder-contained-asset: dublin-aware-asset, reference, stylesheet, and template. The first is another "abstract" classification - it does not correspond to any specific Cascade Server asset; instead, it defines more fields that appear in a subset of Assets. The other three - reference, stylesheet, and template - are indeed asset types with which most users are familiar.

Last modified on Mon, 14 Jan 2008 11:13:54 -0500

Comments


Top / Previous / Next / Up / Table of Contents