Search Function Definitions
Search function definitions are added by the Reporting Enablement extension.
A search function definition (CmSearchFunctionDefinition) defines a custom SQL search function. In the Reporting Enablement extension, the custom search functions are invoked by the background searches, which are defined in the Reporting Base Class and Subclasses.
You can view search function definitions in the Administration Console for Content Platform Engine, under the object store navigation pane in Data Design > Events, Actions, Processes > Search Function Definitions.
Name | Implemented as | Modifiable | Description |
---|---|---|---|
CmRpt::UserRecord | JavaScript component | Yes | Returns an CmRptUserRecord object reference based on an input string. If a record already exists for the CmRptUser property that equals the input string, then the function returns its reference. Otherwise, it creates a new record and returns a reference to that. |
CmRpt::Name | Java™ component | No | Returns the name of the input ClassDescription object if it is non-null. Otherwise, it returns the Id property as a string. |
CmRpt::FormatDate | Java component | No | Converts an input Date value to a Calendar value returned as a string, using a second input string as the format specifier. The format specifier is the same as documented for java.text.SimpleDateFormat. |