Local file access
When your Visual Studio Tools add-in is running on the Microsoft Dynamics GP desktop client, it has access to any location in the local file system for which the user has permissions. With the Microsoft Dynamics GP web client, a Visual Studio Tools add-in running on the server has access to only the temporary folder for the current web client session. If your Visual Studio Tools integration will run on the web client, and will perform file operations such as writing to temporary files, it must do these actions in this temporary location. To retrieve the temporyary file location for a session, use the DexFileGetTempDirectory() helper function from the Dynamics dictionary.
If you need to transfer a file from the temporary file location on the server to the web client, you can use the DexFileLaunch() helper function. This function will transfer the file from the server to the web client, allowing the user to select a location where it can be saved. After the the file has been transferred, it can be opened, printed, or have no action taken.