3

Business Requirement is to make tridion search flexible for any content files/items across (ideally) whole CMS library. It means it some pdf file is attached in a multimedia component, Tridion search should be able to fetch this pdf by its name. Is it possible?

Note: I am thinking to create a custom page with extended Search functionality, . Does anybody knows if we have something in alchemy for this kind of search ?

1
  • 1
    Have you tried it? Did it work (as expected)? If not, can you elaborate on the requirements? In general, the CM Search Engine (Solr) will index binary content of certain formats (incl. PDFs) Mar 27, 2019 at 16:28

2 Answers 2

2

I doubt search by PDF filename is possible, by default. As @Rick mentioned, content in the PDF is searchable.

The documentation lists supported formats:

  • HTML
  • XML and derived formats
  • Microsoft Office documents
  • OpenDocument documents
  • PDF documents
  • EPUB (Electronic Publication Format) documents
  • RTF (Rich Text Format) documents

It also notes you cannot search for a Multimedia Component with (by?) its file extension.

I'd suggest confirming if editors can find what they're looking for and if not, then consider @Marko's examples and custom search. You might start with showing either the path or filename to the user, since it'll help confirming the search actually found what they're looking for.

1

If you want to have more custom functionality, then you need to develop your own custom search using core service. For this you can use SearchQueryData class: enter image description here

Also, you can take a look at the following blogs how to perform search in Content Manager: http://erichuiza.blogspot.com/2012/06/performing-search-queries-with-core.html

https://community.sdl.com/product-groups/sdl-tridion-dx/tridion-sites/tridion-developer/b/feed/posts/search-components-pages-from-tridion-cms-and-generate-report-in-csv-format

or even stack exchange questions: how to specify publication name in SearchQueryData

1
  • Thanks @marko , yes i am thinking to create a custom page with extended search functionality. Mar 28, 2019 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.