OTRS 3.3 - Show a dynamic content in text using dynamic field

777 views Asked by At

I want to show a "recipient address" in ticket overview small using dynamic field but not able to understand what should be the "Name" in dynamic field as it is not static it will be dynamic depending on the articles?

1

There are 1 answers

3
Maurice On

Here's what I think you want to do:

You're trying to add a dynamic field that can be filled with a recipient address which is show in the TicketOverviewSmall Template.

Here's how you can do that

  1. Read the chapter about Dynamic Fields in the Admin Manual and pay attention to Example 4.26
  2. Add a dynamic text field in the ticket scope
    • Name: Unique Name for this field, only letters and numbers allowed - e.g. RecipientAddress
    • Label: The name that will be displayed for this dynamic field - e.g. Recipient Address
    • Type: Text
    • Field Order: Shouldn't really matter in your case, pick a high number
    • Validity: Set it to valid for the field to be displayed
  3. Add the dynamic field to the TicketOverviewSmall Template in the Sysconfig, see Example 4.26 from the Documentation above