Sometimes you are faced with a need to a have separate folder for storage for example to store integration files. The following process creates a new storage area on a separate drive or folder which can be different to solution folder.
- Create a new storage area ( Usage > Usage > X3 Storage Area)
Volume : Code for the storage area ( eg ZJJ)
Description: Descriptive text for identification
Root: Absolute path to the location ( eg D:\test\jjfiles)
Access Code : Code for controlling access to the storage area
- Add service user to folder security settings, this ensure service user has full access to the folder
- Add the folder location to Sandbox
- Navigate to …\runtime\cfg folder
- Edit configRuntime.json file using a suitable text editor (eg Notepad)
- Enter a record for your new storage location, refer to example below
{
"volume": "ZJJ",
"path": "D:\\test\\jjfiles",
"extensions": ["*"],
"writable": true
},
4.Save, and you are ready to go.
NB. User double backslashes and maintain json syntax