This tag locates all assets for a given project that meet the criteria you specify. After the tag is executed, the collection of assets is stored in a result object that’s named by the var attribute. Other tags can access the result object’s properties.

Attributes

The following attributes are defined for the pws:getProjectAssets tag:

Attribute

Description

Required?

var

Names the result object to contain the project’s assets and each asset’s size.

yes

projectId

The ID for the project that you want to access.

yes

showExpert

Indicates whether assets designated as expert-level should be included in the result set. The default value is false.

no

checkedIn

Indicates whether only checked-in assets should be included in the result set. The default value is false.

no

Result Object Properties

The following properties are defined for the result object produced by the pws:getProjectAssets tag:

Property

Description

assets

A collection of assets associated to the specified project.

size

An integer that indicates the assets size in bytes.