Is there a way to generate Random Numbers in the velocity script?
Is there a way to generate Random Numbers in the velocity script?
Or is there any way to generate new guid in velocity
What's the use case? Velocity doesn't have built-in ways to do these things, you would need to create an IScriptedContentFragmentExtension plugin to expose methods to perform those operations server side.
One solution would be using the
$core_v2_utility.CurrentDate , or if you need specific random need to implement widget api as steven suggested