Telligent 10 Velocity Template Language Version

What version of Velocity Template Language is Telligent 10 using?

Per the documentation I've been able to find on this (https://community.telligent.com/community/10/w/developer-training/53189/using-velocity-in-widgets) no version is specified.

Parents Reply
  • I looked all through that page... and rely on it consistently in my development but I still can't find any reference to date or datetime. I've just looked again (thoroughly, I believe), so I have to ask, could you please point out where on that page is it located?

    As I mentioned in my first reply to you "...I didn't initially find Telligent Documentation...". I did find the answer in your documentation after* finding it in the code (after finding no results searching first your site (via search input) then no Telligent specific results searching the web). However, I didn't find documentation for this in the page you just linked to I found it here, https://community.telligent.com/community/9/w/api-documentation/51036/core-v2-utility-widget-extension ...in your core-v2utility-widget documentation. 

    Which I'm embarrassed to say that I had seen that document and actually saw "CurrentDate" as a parameter but mistakenly went right by due to the fact that it is a "parameter" and I (in a moment of brain-farty-madness) thought it was asking me to pass the CurrentDate to a function (not get* the CurrentDate). After finding `#set ($currentDate = $core_v2_utility.CurrentDate)` in an existing widtget's code I went back to that page and completed a healthy forehead-slap.

Children
  • My link was not to the specific $core_v2_utility page which has the .CurrentDate parameter, but more generically to the entire Widget Api document.  Using our search on this page and typing "CurrentDate" would have returned the property as the first result.

  • Agreed, and thank you. The ambiguity came from the terminology of `CurrentDate` on that first results page saying it was a "parameter" which is confused with an "argument" (e.g., if you go to the documentation page for  ...forum.List("%{...PARAMETERS LISTED IN THE DOC GO HERE...}) so when I saw `CurrentDate` as a parameter, again... I went right by it assuming that was a function parameter and not that it would return the CurrentDate. 
    This error is completely on me for not slowing down and testing that and simply being new to this framework and documentation. But end the rabbit-trail and to get back to my initial post and reply I'll again say that the ambiguity in stating both in your documentation and answer to my question that Telligent uses a custom version of multiple languages/frameworks means we need to really only rely on the documentation you provide. I have no qualm with that but to my chagrin I did waste quite a bit of time researching and testing Velocity through "normal" channels (e.g., StackOverflow and actual Velocity scripting resources) which I will not do going forward.

    Thanks for all of your time on this, we're good.