Hello together,
I’m struggeling to implement an automation server in a page object with the “WithEvents” trigger switched on.
The Role Tailored client crashes when opening the page in the client.
Has anyone ever tried to run an event in the client (not the service tier)?
Similar code is working in the classic client.
Looking at the event log I found:
System.Reflection.TargetInvocationException
…
Microsoft.Dynamics.Nav.Runtime.NavAutomation.Create(DataError errorLevel, Boolean newServer, Boolean clientSide)
…
Microsoft.Dynamics.Nav.BusinessApplication.Page1020825.OnOpenPage
Thomas