Questions tagged [nvelocity]

NVelocity is a .Net-based template engine. It permits developers to use the simple yet powerful template language to reference objects defined in .Net code. Any question around this topic may use this tag.

Filter by
Sorted by
Tagged with
1
vote
1answer
50 views

Unable to get Sitecore.NVelocity from Nuget on Build Server

Solution builds just fine on local environment but the build server fails to locate Sitecore.NVelocity. Thoughts on why it is not found? The nuget.config file has an entry below: <add key="...
3
votes
1answer
160 views

Count of selected items in a MultiList

I need to view the number of selected items in a MultiList field using out of the box SXA (1.7) components(i.e. no custom coding). I tried doing this with a rendering variant NVelocity template using ...
3
votes
2answers
942 views

Using #if in SXA variant NVelocity template

I created a variant in SXA with a NVelocit template. In this variant I am displaying some text in an a tag: <a href="$item.Fields.Link" target="_blank">Test</a> This works fine, but when ...