Skip to content

GetAttachmentFilePathParams.shouldSkipGeneratedAttachmentFileName?

GetAttachmentFilePathParams › shouldSkipGeneratedAttachmentFileName?

Type: boolean | undefined

Should the generated attachment file name be skipped, keeping the attachment's own name.

Only Custom Attachment Location's resolver generates a name, so only it reads this flag. A caller that keeps just the folder of the answer should set it: the folder does not depend on the generated name, and generating one can walk every link of the note.