observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

Add ability to Data pane to insert an array of File Attachment objects into a notebook #516

Open MarioDelgadoSr opened 1 year ago

MarioDelgadoSr commented 1 year ago

File Attachments can not currently be referenced with a dynamically generated parameter to the FileAttachment function.

The following notebook illustrates the utility of having a helper feature to insert an array of File Attachment objects automatically into a notebook. This is similar to functionality currently available for a single File Attachment entry, but scaled up for all File Attachments:

Alternatively, a developer can manually create the array of File Attachments.

Notebook created to demonstrate use cases for the requested feature: https://observablehq.com/d/98ed9ecd12c206ea

CobusT commented 1 year ago

Neat idea! Thanks.