Some of my customers want to have a simple, multifunctional link-button in the ticket-masks that is not like the “textbox with url-type” but has the following behaviors:
- Standard-URL (with variables)
- Label (what is shown in the middle of the button)
- Target (_self / _top / _parent / _blank)
- Alternative text (text what is shown when hovering over the button, or is helpful for textbrowsers)
The URL should be edited at runtime with core-workflows or via trigger/sheduler/api/macro.
It should be perfect when you can use variables in this URL.
Something like: “https://something.#{ticket.customer.lastname}.local?query=#{ticket.number}”
Here are some use-cases/examples i had to deal with:
- Opening an external time-accounting tool directly for this ticket
- Jump directly to a shared folder (e.g. nextcloud/gdrive/sharepoint) where editable files to this case are located
- Jump to a wiki / documentation
- Jump to a survey
- Calling a webhook-url that is doing things after click
- Jump to a video-platform
- Add an appointment for this ticket in an external web-tool
- Start a conversation in a chat-client
.. I’m sure there are millions of ideas out there.
How should it look like? For me it should be absolutelty okay when this button looks like all the buttons in Zammad. But it should be absolutely brilliant when the admin can choose some variants in the object-manager when adding this attribute. (A thin one, a big one, a small color-selector a.s.o)
Happy hacking