Display record attachment in inline viewer

I have a record which will be limited to 1 attachment. I want to display the attachment inline, if present, in a viewer on the detail form of a Standard application type. Is this possible?

To get an inline attachments viewer, you can add the existing AttachmentGroupId field to your table and application’s detail form layout. This basically embeds the attachments dialog into your layout. I’m not sure whether there’s something for showing just 1 attachment though.

Control Actions in the application definition can also be used to for hiding or disabling attachment features.

I think the above is fine. I wanted to call out we only expect 1 attachment in case there was some sort of limitation around multiple

@matt Are there any special considerations for customizing inline attachments into existing base metadata? Specifically, I am hoping to create a common-context-aware dashboard card that shows a directory record’s attachments. But when I try to add AttachmentGroupId to our customized Directory table, I am unable to do so because it is not an owned data item.

Hi John, I believe at this time there isn’t much (if any) configurability.

Thanks for confirming!

I think AttachmentGroupId should be a system field, currently having Apps hot patch an addition of that field to a base apps table so that a partner can display attachments inline on an application over a base table.