How to Expose C# Values in Nvelocity
Posted: Mon Jul 09, 2012 4:18 am
Hi,
We're doing some custom programming and need to expose some variables through Nvelocity. If it was just the case of using the data in scriptlets, I could get around that by writing a simple control. While this would be overkill, it would work.
However, I have no idea how to expose values from C# (and ultimately, from the database) to email scripts. I guess I would have to do this via Nvelocity, but how?
Thanks,
Moustafa
We're doing some custom programming and need to expose some variables through Nvelocity. If it was just the case of using the data in scriptlets, I could get around that by writing a simple control. While this would be overkill, it would work.
However, I have no idea how to expose values from C# (and ultimately, from the database) to email scripts. I guess I would have to do this via Nvelocity, but how?
Thanks,
Moustafa