Home > Contents > Index >
Expanded TOC   |    Purpose TOC   |    Annotated TOC   |    Index

 

ASGetAttributeValues

Returns specified attribute values for all flex assets for the created assetset.

Syntax

Parameters

authusername (required)
(String) Name of the user to log in, as registered in Content Server.

authpassword(required)
(String) Password for the associated user name.

TYPENAME (optional)
(String) Input parameter. The internal asset name for the attribute (either CAttributes for content attribute, or PAttributes for product attribute). CAttribute specifies the content flex asset type. PAttribute indicates the product flex asset type. If you do not specify TYPENAME, a value is supplied from a property in the gator.ini property file: mwb.defaultattributes=PAttributes. The default value, which is PAttributes, may be changed.

ATTRIBUTE (required)
Input parameter. Name of the attribute for which you want to retrieve values.

ORDERING (optional)
Input parameter. Indicates whether the result list should be in ascending or descending order. Value can be either ascending or descending.

ASSETTYPES (Optional)
(String) Input parameter. Name of a list of asset types to include in building the asset count. Comma separated list of flex asset types to match. If null, then all assets in the system are considered. Specify either ASSETTYPESLIST and ASSETS or SEARCHSTATE and ASSETTYPES, but not both.

ASSETTYPESLIST (Optional)
(IList object) Input list containing one assettype column that includes values that restrict the count.

Specify either ASSETTYPESLIST and ASSETS or SEARCHSTATE and ASSETTYPES, but not both. If you specify ASSETTYPESLIST, ASSETS is required. If both parameters are supplied, ASSETTYPESLIST is used by default.

SEARCHSTATE (Optional)
(Searchstate object) Input parameter. Searchstate object that contains the criteria to match. The Searchstate object describes the search constraints, if any.

Specify either SEARCHSTATE and ASSETTYPES or ASSETTYPESLIST and ASSET, but not both. If both parameters are supplied, ASSETTYPESLIST and ASSETS is used by default.

LOCALE (optional)
(String) Language and country specification associated with the asset. Locale ensures that information and figures on a page are presented to users according to accepted conventions in their country. A locale specification comprises two-character language and country codes separated by an underscore character and enclosed in quotes. For example, for English speakers in the United States:"en_us"

ASSETS (Optional)
(IList) Name of a list of assets passed to Content Server that form the asset set. The list of assets is an IList with two columns (assetid and assettype). This operation is required if you are supplying a list of assets to build the asset set instead of a SearchState. Specify either ASSETTYPELIST and ASSETS or ASSETTYPES and SEARCHSTATE, but not both. If both parameters are supplied, ASSETS is used by default.

Returns

List with a column named value that contains values for the specified attribute for all flex assets in the created assetset.

Example

The following code creates a SearchState, passes the SearchState to the GetAttributeValues operation, and returns values of the attributes.

 

  Home > Contents > Index >

FatWire Web Services Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.