Skip to main content
Solved

Action Template Event Link

  • May 10, 2023
  • 8 replies
  • 168 views

Forum|alt.badge.img+8

Hi there,

 

I was wondering if it was possible to include the link of the event in question in an Action Template? I’ve tried many things but it does not seem to work for different reasons. Here are some things that I have tried:

  1. Pasting the link in the template’s description and modifying the link’s event id with the current [EVENT_ID] value.
  2. Using the Action Template’s built-in text formatting URL. For the link here I used the same formatting as in #1. 

Is there a way to do this?

Best answer by marika0992

The code I sent you in my first comment you have to put it inside the substitution keyword not in the action template.

The one you put in the screenshot can be helpful, if it still doesn’t work I would be curious to see a screenshot of your email template.

8 replies

Forum|alt.badge.img+12
  • Hero (Customer)
  • 145 replies
  • May 10, 2023

Do you have access to these substitution keyworks in your version?

Ticket link substitution keywords

 


marika0992
Do Gooder (Customer)
Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 6 replies
  • May 10, 2023

Hi,

you can create a substitution keyword with the following code:

 

<vtl>#set($eventLink = "https://<url>/assystnet/application.jsp#events/")</vtl>

<a href="$eventLink$new.event.formattedReference"><b><span style="color: blue; font-size: 10pt; text-decoration: none;">LINK</span></b></a>

 

And then add it to your action template.

Hope it helps


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 26 replies
  • May 10, 2023

Unfortunately I do not have access to the substitution keywords suggested by Steve Miller in my version of assyst (or at the very least I do not see them). We are currently on assyst 11.2.3.

 

The code provided by Marika also gets me an error. I get the following: Lexical error, Encountered: "q" (113), after : "&" at *unset*[line 1, column 308]. I also tried simplifying the code but that did not help.

 

Any idea what is happening here?


marika0992
Do Gooder (Customer)
Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 6 replies
  • May 10, 2023

I think that you don’t have permissions to see the substitution keywords, in any case where did you put my code?

You can try also to write inside the email template this thing:

https://<url>/assystnet/application.jsp#events/$new.event.formattedReference


Forum|alt.badge.img+12
  • Hero (Customer)
  • 145 replies
  • May 10, 2023

I did find this discontinued in our system. I don't know if it will be of any help?


Other NET Ticket Link - Substitution Keyword

 


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 26 replies
  • May 10, 2023

@marika0992 I put the code in the Description part of the Action template. I tried the email template you just sent and that did work. It seems the Action Template is not processing the html and vhl code. Is that a setting that needs to be enabled? Or perhaps I am inputting this in the wrong place…

@Steve Miller Well it helps since I wasn’t aware I was able to edit the keywords 🤣

 


marika0992
Do Gooder (Customer)
Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 6 replies
  • Answer
  • May 10, 2023

The code I sent you in my first comment you have to put it inside the substitution keyword not in the action template.

The one you put in the screenshot can be helpful, if it still doesn’t work I would be curious to see a screenshot of your email template.


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 26 replies
  • May 10, 2023

So yes I realized that was my error as I went through different options haha. So I made a new Substitution Keyword with a variant of the code you sent me and it worked out. Thanks!