-
Notifications
You must be signed in to change notification settings - Fork 33
1. NEXTCLOUD SETTINGS
When you activate the connection between Frappe and Nextcloud, the end user of the applications will be storing their attached files in the cloud, without making any effort or additional work.
To configure this connector you must have a user with administrator permissions in the Nextcloud system.
- Access the Nextcloud module of Frappe and select the option Nextcloud Setting
- Check enable. A form will be displayed to include access credentials
- Enter Nexcloud username and password as client id and client secret
- Enter the Nexcloud URL, preceded by the protocol and including the port if this is necessary (example: https://yournextcloud.com:4334).
- In the initial path, you must enter the name of the folder in which you will store the files from Frappe applications. For example, if you are going to store files from two frappe sites in the same cloud, you can put the name of the site so that the files of both sites are stored separately.
- Enter the path where the WebDav API of your Nexcloud is located, excluding the root part of the URL. It will usually be "/remote.php/webdav".
- Press the button to test access to Nextcloud. A message will inform you if the credentials are correct to establish the connection, otherwise check the data and repeat the test.
These steps are enough for the connection to work. Now you can determine some operating options of the system:
-
Check "Share with Public URL you want any user who accesses the Fappe application transaction to access the attachments, even if that user does not have access to Nextcloud.
-
Manage file tagging in NextCloud.
-
Check "Enable Tagging" if you want each attached file to be tagged.
-
Set the level of complexity of the tagging. Check "Relational Tagging" if you want the files attached to a transaction to receive tags depending on their relationship to others. For example, a purchase contract, a delivery note or an invoice will include the supplier's reference among its labels. When this feature is activated, the tags that the user includes in the Frappe transaction are included as Nextcloud tags in the attached files
-
-
Exclude modules that you do not want to integrate your attachments in Nextcloud. We recommend that you exclude the "Website" and "Core" modules, whose attached files should be stored on the Frappe server. It is recommended to also exclude the "Email" module. This way you can send original files and links to Nextcloud in the emails.