CustomElement.createTaxonomyFilterStatement (Method)
Returns a string describing a filter statement for 'taxonomy' based statements. A 'taxonomy' statement is in the form {field} {operator} {value} {includeChildTerms}, where the value is either a single term or a list of terms, and includeChildTerms is Yes or No. Note the returned string is an internal string format so only use this method to create the statement string. One or more filter statements can then be combined to create a full QueryEngineFilter.
Returns:
FilterStatement (string)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
customElementID | CustomElementID | Required | The custom element's ID against which to filter. |
fieldIDorName | PlainText_NonNull | Required | The unique ID or name of the custom element field the filter compares against. |
operator | QueryEngineListOperator | Required | The operator to use in the filter statement (i.e. Equals, Not Equals, etc). |
termList | List | Required | A comma delimited list on one or more taxonomy terms. This is the term's name, not the unique ID of the term. |
Context:
License Requirements | (none) |
Permission Requirements | (none) |
Deny Context | (none) |
Require Context | (none) |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
9014 | The specified field ID '$1' does not exist for this custom element. |
9019 | The command only supports $1 field types. |
Notes:
None