How to export a file outside the SAGE folder in the X3 server

By | January 31, 2022

You may come across a scenario where you want to export a file in the sage x3 server itself but in this scenario sage x3 allows you to only export the file in the SAGE folder of D drive, if you wish to export it in different path (Outside Sage folder) or in a different drive in the sage x3 server it won’t get exported. Therefore this can be achieve by assigning the path in the configRuntime file. For that you have to perform the below given steps.

  1. For exporting the file, We have to assign a path outside the sage folder. We have to navigate to All >> setup >> General parameter >> Parameter values As we know, In parameter values we assign the path where we want to export our file. So we will assign the path outside of the Sage folder of D drive, as shown in the below figure 1. We have assigned the path as “ D:\Test\Demo ” in sage X3.

2. We have to also assign the path in the JSON file. In X3 server navigate to “ D:\\Sage\\EMV12SP\\runtime\\cfg ” in the file manager, here you can locate a JSON file which is named as configRuntime ”. You need to add your directories in this JSON file.

3. Now we have to do logout from the sage X3 system and also we will have to restart the Safe x3 Syracuse service node in sage x3 server as shown in the below figure 2.

4. Now when you export your file it will get exported outside the sage folder. As shown in below figure 3, We can see our file is exported on the path which we have given in the parameter values and configRuntime file.

Hence by following the above steps, We can export the file outside the sage folder of D drive in sage X3 server.