Velocity script tokens do not work on programs created via API | Community
Skip to main content
Jon_Wright
New Participant
October 11, 2022
Question

Velocity script tokens do not work on programs created via API

  • October 11, 2022
  • 1 reply
  • 2202 views

Hi

 

Seem to have stumbled on another velocity script issue in that script tokens don't appear to work on programs created via the API. There's no error, just seems to ignore the token(s) completely, although inherited script tokens do still appear to work, but that's not much help in the case I'm using it for.

 

Has anyone else experienced this?

 

Thanks

Jon

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
New Participant
October 11, 2022

Hey Jon,

 

Sadly (though I have to test it) this wouldn’t surprise me. To be clear, you’re talking about creating from scratch using the API, not cloning using the API?

Jon_Wright
New Participant
October 12, 2022

Hi Sanford - that was actually cloning via API. I thought it may have been related to fact I was cloning an event program to be a child of another event program. But also tested a clone which wasn't child program and script tokens still didn't work, that was both new and existing script tokens on the program.

Haven't tested creating a program from scratch - will test later.

Thanks

SanfordWhiteman
New Participant
October 12, 2022

Let me know! It would be sadly predictable if Velocity tokens were unable to be used in API-created Programs, since the tokens aren’t supported via the API itself anymore.