Share your ideas

SaveMailing XML API: Hyperlink in Text mailing

If we want to create/save a multi-part mail only via API without using UI, we can not do it completely with via SaveMailing XML API alone.

When we create Text mailing containing hyperlinks via API, it is require to log in to the UI and modify the link.

Please extend be able to compose text mailing with links using the API.


Support Case: 00330499

Reference:

https://developer.goacoustic.com/acoustic-campaign/reference/template-and-mailing-management#savemailing


  • Camp team
  • May 18 2021
How will this idea be used?

For those who can only receive text emails, it is essential to create text emails that include links, just like HTML emails.

What is your industry? Construction / Architecture / Engineering
What is the idea priority? Medium
  • 華恵 田中 commented
    June 17, 2021 06:47

    Excuse me, to be precise, it doesn't work in the case where we want to create/save an email via "Save Mailing API" and then send it with "ScheduleMailingAPI" without going through the UI.

    Acoustic seems to add information about hyperlinks when saving the template in the UI. If without open the UI and save, the link will not be set properly and we will have an error with "ScheduleMailingAPI".

  • 華恵 田中 commented
    June 17, 2021 06:32

    @Michael

    Thank you. I know text mailing links following format(sample):

    %%HYPERLINK:linkname#SPCLICK#https://acoustic.com#%%

    But this case, even if we create/save it via API in this format, it is an event that we can not set normally unless we operate the UI once. This was a formal response from the Acoustic development.

  • Michael Hobley commented
    June 03, 2021 14:31

    We programmatically create the text links when we create the text version so that it does not require any sort of modification in the UI. We do this via javascript and scan our HTML for links and replace the link with the following format:

    %%HYPERLINK:' + *linkname_txt* + '#' + xt + '#' + linkURL + '#%%

    xt will be the link type (SPCLICK, SPEMAIL, etc).