I'm trying to execute the following statement in an FTL file:

<#assign testPrefMap = dispatcher.runSync("getUserPreferenceGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("userPrefGroupId", "EXAMPLE_APP_DEMO_SCREEN"))/>

but I keep getting exceptions thrown that basically boil down to there being no userLogin entity in the context when the service is invoked.

What am I doing wrong?

Reply via email to