<downloadattachments>
Generates a link to download record files.
| Attribute | Allowed Values | Requirements | Description |
|---|---|---|---|
| linkname | CDATA | #required | Name of the generated link. |
| Attribute | Allowed Values | Requirements | Description |
|---|---|---|---|
| name | #required | Name of an attachment to download. Fields are downloaded in a zipped attachment. |
| Attribute | Allowed Values | Requirements | Description |
|---|---|---|---|
| table | #required | Name of the child table to include. The child table fields can be specified with field tags in the same manner as the parent table. |
Example
Copy Code
<downloadattachments linkname="Download"> <field name="ParentAttachment_1"/> <field name="ParentAttachment_2"/> <childtable table="ChildTable_1">
<field name="ChildAttachment_1" />
<field name="ChildAttachment_2" />
<field name="ChildAttachment_3" />
</childtable>
<childtable table="ChildTable_2">
<field name="ChildAttachment_1" />
<field name="ChildAttachment_2" />
<field name="ChildAttachment_3" />
</childtable>
</downloadattachments>
-
To apply permissions for downloading attachments, add (at least) the eocfield tag for each attachment field.
-
This tag works with detail views. It does not apply to list views.