Fixing missing variables in ADT Template
Fixing missing variables in ADT Template You may get error for missing variable in your custom ADT template, like this: The following has evaluated to null or missing: ==> staticUtil [in template… To fix this - you need to remove it from restricted variables. 1. Go to Control Panel -> Configuration -> System setting -> Foundation. 2. Search for ‘Freemarker’. 3. Click ‘Edit’ for ‘Freemarker Engine’. 4. Remove ‘staticUtil’ from restricted variables and save configuration: (you may also remove other variables you need) Note: this settings may not be applied on-the-fly, Liferay restart may be needed. After this you may use Liferay restricted variables in your ADT templates š