{module_caseresults}

Description

Display the Case Search Results displayed after the case search form submission.

Syntax

{module_caseresults render="item|collection" collection="my_custom_collection_name" template="/folder/template.tpl"}

Note: When using named parameters always wrap the individual parameters in double quotes. Also, do note that modules using named parameters do not work for campaigns just yet.

Parameters

  • render - possible values are item or collection (the default is item). The render parameter indicates whether the template content is used to render a collection or to render a single item. Take a look at the render parameter's article for more details on how to use it
  • collection - use this if you need to access the module's Liquid output tags
  • template - render the module using a custom template. You can leave the value of the template parameter blank to suppress the original output and use Liquid output tags instead

Layouts

This module can be rendered using:

  • the list layout - on this layout you can use either the legacy tags or Liquid output tags. Here is a list of all the tags you can use the Case layout reference page
  • your own custom layout - take a look at the custom templates article for more details
  • Liquid collections - here are the Liquid output tags you can use:
Liquid tag Description
{{assignedto}} Customer service representatives the case is assigned to e.g. John Smith
{{casenumber}} Case number
{{createdate}} Date and time the case was first created e.g. 25-Mar-2013 01:46 PM
{{lastupdatedate}} Date and time the last message was received e.g. 25-Mar-2013 01:46 PM)
{{ownernam}} Fullname of the owner of the case e.g. John Smith
{{description}} Description of the case
{{filelist}} List of files attached to a case (can be downloaded)
{{status}} Status of the case, possible values are: New, Open, Escalated, Closed, Re-Opened
{{subject}} Subject of the case

Syntax

{module_caseresults}

Layouts

  • This module is rendered with the List Layout
  • This module supports custom templates
  • User must be logged in in order for the module to render