Morning.
First, I love this forum. I can’t tell you the number of times I have found answers here…
Anyway, I am not a Notes Developer or Administrator, but consider myself an advanced Power User (with Developer rights). I have already performed numerous searches here, and perhaps I haven’t found the magic word combination…
** I want to search for a specific file attachment name within a document. ** e.g. ABC.TXT.
There may be multiple file attachments in a given document. If I manually add the file name in the document body it shows up, but if it is an empty document with just the attachment it does not.
The DB is full indexed, with the indexing of attachments enabled. I can see the file name in the $FILE property.
Is this normal behaviour for the Notes ‘Search in View’ field? Does this require button programming?
Thanks.
Subject: Search for a file attachment name.
And once again this forum comes through with the goods.
Thanks!
Subject: RE: Search for a file attachment name.
It is the normal behavior. You would have to store the attachment names in a field somewhere to do this (e.g. you could have a computed field with value @AttachmentNames).
Alternately, you could use @AttachmentNames as a column in a view; that would let you search specifically for files with the view quick search.
Subject: Search for a file attachment name.
Full text search searches withing words in fields in document. Attachment field ($FILE) is not a normal field, and it doesn’t have normal text content inside.AFAIK, indexing attachments indexes the contents of the attachment. It may fail to index it if there are too big attachments. However, I am not sure it it indexes names of the attachments.
If I wanted to search for attachments, I would create a view containing the documents to search, having @AttachmentNames as a column formula of first column.
I would sort the column ascending, and on the second tab of column properties, check “Show multiple values as separate entries”.
That would create me a view showing all attachments in all documents, sorted for easy searching.