wlandgraf
(Wagner Landgraf)
November 16, 2022, 10:22pm
2
To select which entities should be replicated, you can use the Route
method passing an anonymous methods that will filter out entities accordingly to your needs:
Yes, it's possible. You have to add your own routing logic when calling Route: http://www.tmssoftware.biz/business/echo/doc/web/routing.html The key is the anonymous method in the Route parameter:
Echo.Route(
procedure(Log: TEchoLog; Node: TEchoNode; var Route: boolean)
begin
if SameText(Log.EntityClass, 'AppEntities.TEchoInvoice')
and (Node.Id = 'Client1') then
Route := false;
end;
);
You have to implement your own logic to tell Echo if that specific re…