Skip to content

Ebla Share

Ebla Share helps you create public share links for EspoCRM files and attachments. You can send a link outside EspoCRM, set an expiration date, and see when the link was accessed.


Overview

Ebla Share adds a simple sharing flow to EspoCRM records that contain files or attachments. It is designed for teams that need to send documents to customers, partners, or other external users without giving them direct access to EspoCRM.

With this extension, you can:

  • create a public link for a single file or attachment list item,
  • copy the link to your clipboard immediately after saving,
  • open an existing share record to review the link details,
  • set an expiration date for the public link,
  • review access history for each shared file.

Requirements

Ebla Share 2.0.0 supports EspoCRM 8.4 through 10.x. PHP 8.1 or later is required; your EspoCRM version may require a newer PHP version.


How it works

1) Share from a file field

When a record includes a file or image field, a share icon appears next to the file value. Click the icon to open a compact, centered sharing dialog. The selected attachment is shown for reference. Choose an expiration option:

  • No expiration: the link remains valid without an expiry date or time.
  • In one hour or In X hours: calculated from the current time; no date or time entry is needed.
  • Tomorrow or In X days: the date is calculated automatically; select the expiration time.
  • On a specific date and time: select both using the native calendar and time controls.

The calculated expiration date and time is shown before saving. Custom hours and days must be positive whole numbers. The displayed time zone is your EspoCRM user time zone. A day means a calendar day at the selected local time; it can differ from 24 elapsed hours around daylight-saving changes. Click Save to create the link. The sharing details open automatically, showing the file link and expiration for confirmation. Reopening a saved link shows its absolute date and time so editing does not restart its duration. Links without a deadline show No expiration in the details and list, and reopen with that option selected. Selecting No expiration clears any previous deadline.

Set a sharing link to expire after a custom number of hours

Set an exact expiration date and time

After the sharing record is saved, the public link is copied to your clipboard automatically. The success message includes a clickable Open shared file link instead of displaying the full URL. If a link already exists, the icon opens the existing sharing record instead. Sharing dialogs have rounded top corners and show the file name directly in their title, without a Sharing Link breadcrumb. The Sharing Link field displays the same compact Open / Copy Link button group used in the list. Its Copy Link button is the single file-link copy action in the sharing dialog; generic record-link copy actions are not shown for sharing-link records. Use its Copy Link button to copy the public URL. If clipboard access is unavailable, open the shared file and copy its address from the browser.

Sharing dialogs keep creation, editing, and copying in the compact window. The edit dialog shows only Expires At, with the file name in its title. The details dialog is hidden while editing and returns after saving or canceling. Full Form is disabled, and the dialog title does not navigate away.

Sharing dialog with No expiration and Open / Copy Link buttons

2) Share from attachment lists

For attachment-multiple fields, Ebla Share adds a share icon to each attachment item. That lets you create a separate public link for each attached file.

Share icon on attachment list

You can also reopen an existing shared link directly from the attachment item.

Share from image previews

Open an image preview and choose Share to create a public link for the displayed image. If the preview contains several images, select the image you want before sharing. The link uses the currently displayed image.

In supported record views, Ebla Share adds a Copy link action so you can copy a shareable API link from the record itself.

Copy link action in record view


Permissions and existing attachments

You must have permission to read a file before creating a public sharing link for it. The same permission check applies when replacing the file on a sharing record.

You can share files already attached to another record, including on newer EspoCRM 10 releases. Sharing leaves the original file attached to its record; it does not move or copy the file. Deleting an attachment automatically removes all sharing links for that attachment and invalidates their public URLs. Deleting a sharing link also invalidates its public URL while leaving the attachment itself in place.


Open Administration → Data → Sharing Links to review existing links. The Sharing Link column displays a compact group of Open and Copy Link buttons with icons and labels instead of the full URL. Four count cards appear above the standard search bar: All, Active, Expired, and No expiration. Click a card to filter the list; the selected card is highlighted. Use the search bar below the cards for text and additional field filters. Search criteria remain in place when switching cards. The selected preset is synchronized between the cards and search bar. Card counts follow your read permissions and cover each complete preset, independently of text or field searches and pagination. They refresh when links change or the list is refreshed. The Administration link in the heading returns to the administration page.

Active includes links without an expiration. Older date-only links stay active through their expiration day; newer links expire at their exact date and time. The cards use two columns on smaller screens. If a count cannot be loaded, it shows a dash instead of zero. Open a sharing record to change expiration or inspect its access logs.

Sharing Links administration list with KPI cards, search, and Open / Copy Link actions

The management list has no Create button. Create links using the share action beside a file, attachment item, or image preview.


A public link opens a responsive page with your CRM logo, file name, size, a colored file icon showing the extension, and expiration in UTC. The logo follows your CRM company-logo setting, with the default CRM logo as a fallback. Click Download file to download the attachment. On small screens the download button fills the card width. The card fills the available width on small screens and stays centered within a maximum width on larger screens. Visitors do not need to log in. Expiration is checked both when opening the page and when downloading, so a page left open does not bypass expiration.

Public download page with CRM logo, file details, expiration, and download button


Customize the public download page

Administrators can open Administration > Template Manager > Shared File Download Page to edit the page HTML, CSS, and displayed text. This template uses the same code editor as Formula, with HTML and CSS syntax highlighting, line numbers, and indentation. The editor preserves the full page and its styles. Click Preview to see the current editor contents before saving. Preview opens a separate window using sample file information and your CRM logo. It does not save changes or create a sharing link, and downloading is disabled. Use Desktop for the available preview width or Mobile for a centered 375px preview, which also fits narrower windows. Close it to continue editing.

Preview supports the standard placeholders below and basic template conditions; server-only custom template helpers require verification on the saved download page.

Click Save to apply changes or Reset to Default to restore the supplied design.

Download-page template selected in Template Manager, with the code editor and Save, Reset, and Preview buttons

Preview desktop and mobile layouts

Check the design before saving. Switch between the two preview widths.

Desktop preview of the download-page template

Mobile preview showing the full download card and download button

Template variables

For example, change colors inside the existing <style> section or replace {{downloadLabel}} with your preferred button text. Keep {{downloadUrl}} on the download link and {{fileName}} where the filename should appear.

Variable Content
{{fileName}} Shared filename
{{fileExtension}}, {{iconColor}} File icon label and color
{{sizeText}}, {{sizeLabel}} Formatted file size and label
{{logoUrl}}, {{applicationName}} CRM logo and application name
{{title}} Shared-file heading
{{expirationText}}, {{expiresLabel}} Expiration value and label
{{downloadUrl}}, {{downloadLabel}} Download destination and button label
{{language}} Page language

Keep the double braces around file values so they remain HTML-escaped. Template overrides follow the CRM system language, with an English default fallback; they are not selected by the visitor's browser language. You can translate visible text directly in the template. Saved customizations remain local to your CRM installation. Inline CSS and same-origin images are supported; scripts and external assets are blocked.


Access logging

Ebla Share keeps an access log for each sharing link. This helps you review when a file was downloaded and from which IP address. Opening the public information page alone does not add a download log.

Sharing link details with download access history

You can open the sharing record and review the related access log entries from the detail page.


Expiration and cleanup

Sharing links can expire at an exact date and time. Public access stops at that instant. Older date-only links keep their previous behavior until their expiration is edited; the editor displays their effective deadline in your time zone. This gives you control over how long a public file remains available. When a file is removed from EspoCRM, related sharing links are also cleaned up.


Typical use cases

  • Send a contract or proposal to a client.
  • Share a receipt, image, or document with an external partner.
  • Give temporary access to a file without exposing the full EspoCRM record.
  • Track whether a shared file has been opened.

Support

For help, installation questions, or product guidance, please contact Eblasoft support.


Changelog