Anmari
October 16, 2018, 11:20am
#1
Hi Community,
is it possible to fill in values from custom objekts into to a text template ?
Example:
Ticket includes customobject = Internalnumberwhatever with the value 42
Texttemplate calles with ::test should write 42 into my message.
https://zammad-admin-documentation.readthedocs.io/en/latest/manage-text-modules.html
There its an example how to call names but how to call customobject ?
Greetings
Have you tried to access it using the name given during custom object creation? For example, if you create a field named internal_number on organization, you should access it with #{ticket.organization.internal_number} on text modules. That’s how I would go for it.
1 Like
Anmari
October 16, 2018, 12:14pm
#3
hi @edneymatias
thanks for the hint, since i created the object under ticket its only #{ticket.internal_number}
I believe so…let me know if it worked.
Anmari
October 16, 2018, 12:27pm
#5
Hi, sorry didnt mention that it worked
1 Like
system
closed
February 13, 2019, 12:31pm
#7
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.