Get field values
Your application can retrieve a list of all field values for each topic, topic
template, or work team by calling the getFieldValues
method
.
This method can be used to browse topics and choose a topic based on
additional information, such as the assigned user, state, or to browse topic templates
or work teams. Set the fieldContext
argument to one of the
enumeration values of FieldContext
: TOPICS, TOPIC_TEMPLATES, or
WORKTEAMS. This method returns the FieldValues
value object with a
list of fields.
- For topics, the values reflect topics that are open and can be either viewed or attached to by the user.
- For work teams, the values reflect work teams associated with topics available to the user.
FieldValues getFieldValues(TopicsServiceContext serviceContext,
FieldContext fieldContext)
throws InvalidArgumentException, TopicsServiceException;
The FieldContext
input parameter is an enumeration for
topics, topic templates, or work team values.
enum FieldContext {
TOPICS, TOPIC_TEMPLATES, WORKTEAMS
}
To retrieve a list of all field values for each topic, topic template, or work team:
- FieldValues value object
TheFieldValues
value class has anids
field, which is an ordered list of identifiers, and avalues
field, which is a list of arrays of field values associated with the ids.
Parent topic: Methods