Variable fields in macros | Community
Skip to main content

Variable fields in macros

  • November 15, 2018
  • 5 replies
  • 0 views

Is there a best practice for using variables in Macros to allow auto insert and update of cnaging fields like pricing?

In other words, is there a way to create a Productname_price variable for macros and tickets whose value can be changed without editing each macro in which it is referenced?

This topic has been closed for replies.

5 replies

ZZ55
  • November 15, 2018

If your value is not in a custom field, you can use dynamic content to hold your details. Include your details in the macro as a dynamic content placeholder. When the information changes, update the dynamic content source once and all your macros are instantly updated. 

https://support.zendesk.com/hc/en-us/articles/203663356-Providing-multiple-language-support-with-dynamic-content-Professional-and-Enterprise-

 


  • Author
  • November 15, 2018

do you have a recommned way to do this if we do not have a Professional or Enterprise license?


Dan28
  • November 15, 2018

You could potentially use ticket fields and based on the value of the ticket field, the values could change.  Each ticket field would have a unique placeholder that may be able to act in this way, but you'd have to manually set each ticket field before your macros could use the appropriate values.  If you paired this with liquid markup you could maybe make this happen.


  • Author
  • November 15, 2018

will give it a try


Nicole17
  • February 20, 2020

This thread has been closed for comments by the Zendesk Community Team. If you have a question you'd like to ask the Zendesk Community, please create a new post