Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AX2012 CIL - can I write on client file ?

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 72043


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>