Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.


For more information on products and upcoming events around #dominoforever, please visit: HCL Domino Page


Status Needs Review
Workspace Leap
Created by Guest
Created on Jun 5, 2026

Please add a viewUrl to the attachment field

In Domino Leap's App Page, there is no way to use JavaScript to retrieve the view URL (viewUrl) for an attachment from the value of an attachment field.

While the viewUrl is provided when an attachment is displayed in the data grid,
if the same attachment field is referenced from JavaScript,
the URL is not included, and developers must construct the URL manually.

Furthermore, since part of the URL is app-specific
and the URL generation functions provided by Leap cannot be used,
developers have no choice but to hardcode that portion of the URL.

This results in poor maintainability and causes issues when cloning or migrating apps.

We would like you to add a viewUrl (or equivalent URL property) to attachment fields, just as you have for data grids.

  • Attach files
  • Guest
    Sep 8, 2026

    you can already achieve this by using JavaScript. The following code is completly save for cloning/migrating apps, as the variable parts (base URL and app UID) get set at runtime to the correct values

    // start with the URL under which Leap is run
    let url = app.getProductBaseURL();
    // gets the current app UID; note that this line starts with /secure, which allows logged in users. change to /anon for anonymous usage
    url += "/secure/org/data/" + app.getUID();
    // the last part defines which form the attachment is from; you need to append the uid of the attachment
    url += "/F_Form1/attachment/" + BO.F_Attachment.getValue().uid;