3 different images as signature | Community
Skip to main content

3 different images as signature

  • June 7, 2018
  • 2 replies
  • 0 views

Dear all,

 

As far I found out, it seems not to be possible to do so, however maybe 1 of you has an idea.  We're using 3 different images as signature: an image in Dutch, another in French and a last one in English.

Also we've plenty of macro's where we want to use this signatures: also in Dutch, French and English.

What i would like to do sounds simple: I want to put the Signature on 1 place (but not linked to a particular agent) and refer to that place in the othe macro.  All ideas I had, turned out of nothing:

- Placeholders: no existing placeholders to refer to other macro's

- Liquid markup seems not to have a solution for it neither.

- I tried to create a signature (a link to the image) in Dynamic Content.  However when I do copy the placeholder in the macro, when using the macro, all I receive is a copy of what has been written in the DC.  (<img src=...>)

Any more ideas, or just impossible what I want?

 

Kind regards,

Merijn

 

This topic has been closed for replies.

2 replies

Jacob20
  • June 14, 2018

Hi Merijn,

If I'm understanding you correctly you want one macro with variations of image signatures, variations being based on the requester language. Possibly with the ability to reuse the signature in the multiple macros.

You should be able to use Dynamic content for images in the language variations you want, but you have to use Markdown instead of HTML for it to work in the macro.

For example:

![](https://i.gyazo.com/79bba68bbfc09af0544b974cdf5a0300.png)

Will give you this (when executed from the use of macro):

You can then reuse the Dynamic Content signature in multiple macros or maybe in the common agent signature.

Hope that helps you out!


Jacob20
  • June 14, 2018

Alternatively, if you have Rich text enabled, you could also copy/paste your images into a single macro comment and use Liquid Markup to select which variant should be used, based on the requester language.

{% case ticket.requester.language %}

{% when 'français (France)' %}

--- INSERT FRENCH IMAGE HERE ---

{% when 'Nederlands (Dutch)' %}

--- INSERT DUTCH IMAGE HERE ---

{% when 'English' %}

That's all from us at Channel 4.
Stay classy San Diego!



{% else %}

--- INSERT FALLBACK IMAGE HERE ---

{% endcase %}


This method is not as easy to reuse(in other macros) as the one above, so I favor the original.