TopicsFilter value object

An end user might specify a filter, for example, when looking for topics with a drug name in a custom field.

After the end user selects one or more filters, set the filter field in the TopicsServiceContext when using getTopicContexts, getFieldValues, or getProjects.

TopicsFilter is a list of filter field names and the selected filter values. Set the fieldName to the name of the topic, topic template, work team or action field to sort on. The fieldName field must be one of the values in the fieldNames field returned from getFilters and the value must be one of the associated values returned from getFilters.

The field types are always returned as strings. For a type such as ACTION_TYPE, PROJECT, or STATE, the name is used as the string value. Date fields use “mm/dd/yyyy” format.

TopicsFilter JSON


{
           “fieldName” : “string” 
           “value” :
           {
  	    “type” : “string”,
  	    “stringValue” : “string”
            }