Compilation error CS0103 while using User function in an aggregate filter

Hi everyone,

At the moment i'm having troubles with using the output of an user function(which is a server action) in a filter for an aggregate in my mobile app. I can't compile and i get a CS0103 error. It is a aggregate from a server entity, not a local entity.

I have a workaround by calling the server action that i want to use in the aggregate filter on the On Initialize and assign the output to a Local variable. Then I use this local variable in the filter of the aggregate. But I want to call this user function in the filter so i don't have to create a OnInitialize each time i need this value.

Best Regards,


Hi Jordi,

Can you share the oml?