0 Votes

Attachment Selector

Last modified by Adina Milica on 23 May 2025, 00:30

When you delete pages and attachments, they get stored in the deleted pages index and deleted attachments index.

Documentation Info

The Attachment Selector provides a picker associated with XObject properties of type String, offering UI for

  • selecting one of the document's attachments 
  • updating the property's value with that attachment's name.

In view mode, 

  • it displays the name of the attachment 
  • or the corresponding image if--- the attachment is an image and the macro is parametrized to display images,
    • possibly surrounded by a link to the attachment if the link parameter is set to true.

 Relevant parameters: to display images, link


In edit mode,

  • it also generates a button that triggers the actual selector.

The selector consists of an attachment gallery...

  • Accepted Attachments = ....listing the attachments of the current document that are accepted by the property (see the filter parameter)
  • Upload, replace, delete attachments = ....giving the possibility to upload new attachments, to select, replace or delete existing attachments, and to empty the property value.

apps simpler(2).png