THE INFORMATION IN THIS ARTICLE APPLIES TO:
- EFT, version 7.1 - 7.4.x (with Workspaces)
QUESTION
In the WTC help topic Sharing Folders, it says I can only share a Workspace with 10 email addresses at a time. (Changed to 20 in v7.4.13 and later) Is there a way to remove that limitation?
ANSWER
Yes. The EFT administrator can edit the client-side JavaScript, as described below.
To change the number of email address that you can add at one time in v7.4.13 and later
- Go the folder <EFTINSTALLPATH>\web\public\EFTClient\jument\scripts.
- In a text editor, open adminConfig.js.
- Search for the following text:
/* Maximum number of recipients for workspace invitiations at one time. */
gsb.config.maxEmailRecipients = 20;
- Replace 20 with a larger number, such as 100.
- Save the file.
- Clear the browser cache to see the changes.
To change the number of email address that you can add at one time prior to v7.4.13
- Go the folder <EFTINSTALLPATH>\web\public\EFTClient\jument\scripts.
- In a text editor, open <number>.main.js.
- Search for the following text:
{var b="";return a.length>10&&(b=$.t("errorMoreThanTenEmails")),b}
- Replace 10 with a larger number, such as 100.
- Save the file.
- Clear the browser cache to see the changes.
You might also want to change the "More than Ten Emails" message, located in C:\Program Files (x86)\Globalscape\EFT Server Enterprise\web\public\EFTClient\jument\i18n\. The file is main_en.json (or main_de.json, main_nl.json, or other language).
To edit the error message
- In a text editor, open main_en.json.
- Search for the following text:
"errorMoreThanTenEmails": "A maximum of 10 participants can be added to this Workspace at a time. Please shorten your email list and try again."
- Edit the message to change the "maximum of 10" to the number you changed it to. Be sure that you do not change "errorMoreThanTenEmails": just the text that follows, within the quotation marks.
- Save the file.
Note that is good practice to make a copy of each of the files that you want to edit before you edit them, in case you want to revert your changes.