Skip to content

[FEATURE] Automate creation of public links for Rich Text Field images in Summit Events #618

@rdblake21

Description

@rdblake21

Description

Today, admins must manually create Public Links for images used in Rich Text Fields (RTFs) so they render for Guest Users. This is error‑prone and time‑consuming. Propose an automated mechanism that detects file-backed images referenced in Summit Events RTFs, generates (or reuses) a secure public link, and updates the RTF HTML to the public URL, optionally with an admin-controlled toggle.


Problem Statement

  • After removing the Guest User Sharing Rule, Files referenced in RTFs are not visible to Guest Users unless a Public Link is created.
  • Admins must:
    1. upload the image to Files,
    2. create a Public Link, and
    3. replace the image in the RTF with the publicly accessible version.
  • This manual process leads to potential broken images, inconsistent behavior, and additional support burden.

Current Behavior

  • Images inserted into RTFs use internal file/version URLs that do not render for Guest Users unless a Public Link exists.
  • Admins/Users must follow a multi-step manual process to create and swap the image source.

Desired Behavior

  • When an image is inserted or detected in an RTF on Summit Events records, the system automatically:
    • Ensures a Public Link (ContentDistribution) exists for the underlying ContentVersion.
    • Substitutes the RTF’s <img src> with the public URL (or leaves it as-is if already public).
  • Provide an opt-in setting (org-level or package-level) to enable/disable automation and configure defaults (e.g., expiry).

Affected Areas

  • Summit Events objects with Rich Text Fields used on public/guest-facing pages.
  • Guest User-facing registration/landing pages.

Workarounds (Current)

  • Manual: Create a Public Link for each File and paste the image from the public link back into the RTF (documented in upgrade steps).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions