Instatiate an Object on client even if it have runOn=Server


I’m trying to instantiate a class witch have the property runOn set to Server on Client.

that class is a RunBase. RunBase have a method makeObjectOnClient that is simply a static client:

client static Object makeObjectOnClient(classId classId)
    return ClassFactory::makeObjectOnClient(classId);

this doesn’t work.

Someone have suggestions?

Thanks in advance.

If the class is configured to always run on server, it can’t be instantiated on client.

Note that RunBase classes normally shouldn’t be set to run only on a single tier, because the whole point of RunBase framework is the ability to run one part on client (user input) and another on server (the actual processing).