I am new to Dynamics AX and my mentor has assigned me a task. This task is separate module named RMS (Recruitment Management System).
In this module I need to give functionality of uploading a Profile Picture and Resume of Candidate.
I have to upload all these documents in some folder at server. I have wrote all the necessary code to get the documents. For copying the file from client location to Server I used WinAPIServer::copyFile(file1, file2).
This is giving a FileIOPermission error.
For that I have given the permission to folder on server and also asserted write permission via code on client side. But still Not working.
Question 1: Any solution for Storing files from client to server. Is their anything I am doing wrong in code?
Question 2: Can I use Document Management System of AX for this purpose? If yes then How?