Home > Configure Administration Settings > Advanced Configurations in Setting.Config File

Export to PDF

Advanced Configurations in Setting.Config File

AvePoint Cloud Index provides a configuration file that you can customize some features according to your organization’s policy and preference. This Setting.Config file resides under the …\AvePoint Cloud Index Administration\Config directory on the machine where AvePoint Cloud Index Gateway Admin was installed.

Currently, you can alter the settings of the following features via the configuration file.

- [Display/Hide the Copy UNC Path Button](#missing-link) - [Set Expiration Time of File Cache](#missing-link) - [Enable/Disable the Lock of Files in Editing Mode](#missing-link)

Display/Hide the Copy UNC Path Button

The Copy UNC Path feature is enabled by default. You can follow the steps below to disable it and hide the action on the GUI.

  1. Open the Setting.Config file with Notepad.

  2. Locate the node and set its value to True to hide the Copy UNC Path button.

    • True – Hide the Copy UNC Path button.

    • False – Display the Copy UNC Path button. It is the default value.

  3. Save your changes and close the file.

Set Expiration Time of File Cache

AvePoint Cloud Index will create cache files of all folders and files within it when you access a folder. This will speed up your access because getting data from the database is much faster than from the file system. You can follow the steps below to adjust the expiration time of the file cache.

  1. Open the Setting.Config file with Notepad.

  2. Locate the node and modify the value of the node. The time unit is minute, and the default expiration time is 30 minutes.

    It is not recommended to modify the default value unless it affects your organization’s needs and conventions. If the expiration time is too short, the file cache will be generated repeatedly, which will affect the performance and waste the resource; if the expiration time is too long, the database storage will be occupied by the file cache.

  3. Save your changes and close the file.

Enable/Disable the Lock of Files in Editing Mode

AvePoint Cloud Index will lock the file to prevent any users from editing the file on the file system side by default when someone is editing the file from the AvePoint Cloud Index side, which can avoid editing conflicts. If you would like to unlock this in some cases, you can follow the steps below to disable the locking of files in editing mode.

  1. Open the Setting.Config file with Notepad.

  2. Locate the node and set its value to True to disable the lock mode.

    • True – Disable the locking of files in editing mode, which means the file can be edited at the same time on both the file system side and the AvePoint Cloud Index side. In this case, the edits in the AvePoint Cloud Index side will overwrite that in the file system side.

    • False – Enable the locking of files in editing mode, which means the file cannot be edited on the file system side if you are editing it from the AvePoint Cloud Index side. It is the default value.

      In this mode, the node works together with the <DisableLock> node. The node controls the refresh time interval of the lock feature. You can follow the steps below to adjust the time interval if needed.

      1. Locate the node.

      2. Modify the value of the node. The time unit is second, and the default expiration time is 3 seconds.

        It is not recommended to modify the default value unless it affects your organization’s needs and conventions. If the refresh time is too short, it will occupy too much server resources; if the refresh time is too long, it will delay other’s editing if the last editing has been finished.

  3. Save your changes and close the file.