How can I generate the access link to a ticket?
I know there is the email templates with %{recipient.ticket_link} to generate it, but I need to take it and insert that into a custom table along with the access link

  • KevinTheJedi replied to this.
  • nricci

    For that you’d have to customize the code. You can look at the native methods we have to generate access links and you can call that method in your custom code before saving to the database in your custom table.

    We cannot assist with customizations as you are deviating from core. You will be on your own and you will be proceeding at your own risk.

    Cheers.

    I need a table like ticketID | link for fast visualization of the ticket

      nricci

      Outside of the help desk? If so then you’d have to write your own script to pull the needed information from the database and generate your own link.

      Cheers.

      nricci

      That's all fine and dandy but where exactly are you planning on using it? You said "a table" which isn't helpful. Can you post a screenshot of where you plan on using it?

      Cheers.

      Apologies for the lack of clarity. By 'a table', I was referring to a database table where each entry consists of fields such as ticketID, link, and additional custom filed from ost_ticket__cdata.
      I appreciate your patience and will ensure to provide more detailed information moving forward.

        nricci

        For that you’d have to customize the code. You can look at the native methods we have to generate access links and you can call that method in your custom code before saving to the database in your custom table.

        We cannot assist with customizations as you are deviating from core. You will be on your own and you will be proceeding at your own risk.

        Cheers.

        Write a Reply...