Use RandomUtil in Freemarker template

Sathish Kumar, modified 6 Years ago. New Member Posts: 3 Join Date: 5/27/16 Recent Posts
I need to use RandomUtil in my ftl to generate random numbers. I have set freemarker.engine.restricted.variables as empty in portal-ext.properties. Am unable to get reference to it . I have tried static util which returned class not found exception, while utillocator returned "no bean named ***RandomUtil" exception. Is there any other way to implement this?