This tag accesses a Collection of projects that have a specific status and saves that list to a result object named by the var attribute so other tags can interact with its properties.

Attributes

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

Attributes

Description

Required?

var

Names the result object to contain a Collection of project objects.

yes

status

The status that is currently assigned to all projects that are returned. The default value is Active. Other options include: Completed, Suspended, and Error.

For a definition of each status, see the Creating and Managing Projects chapter of the ATG Content Administration Guide for Business Users.

no

sortProperties

The order in which the projects are organized is based on the values for properties included in this comma separated list. Each project is sorted by the chronological, numerical, or alphabetical value held by the specified properties. You can provide as many properties as you like. For example, by supplying two properties, you specify a primary and secondary sort order.

no

index

The number that designates where, in the context of the accessed projects, the list of returned projects should begin. The default value is 0.

no

count

The number of processes to save to the result object.

no

Result Object Property

The following property is defined for the result object produced by the pws:getProjects tag:

Property

Description

projects

Contains a Collection of projects with the specified status.

size

Contains the number of projects in the projects property.