I have process (Controller, Service, DataContract, UIBuilder) which works on a lot of data. On end of this process I want to write some information to file on client. I have static method:
private static client boolean MySaveFile (FileName _FileNameFull, container _Lines)
{
//write from _Lines to file
}
After execution of this process I have error:
Stack trace: Invalid attempt to call PPLMyClass.MySaveFile running in CIL on the client.
Microsoft.Dynamics.Ax.Xpp.InvalidRemoteCallException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InvalidRemoteCallException' was thrown.
Is it possible to write from CIL to a local client file ?