Associating documents/PDF to a page/pagetype in Episerver FIND

I’ve seen different solutions out there, but sometimes the one with less code is also the simplest and best.

Warning: A non-numeric value encountered in /storage/content/29/141529/devblog.gosso.se/public_html/wp-content/plugins/voting/themes/flat/index.php on line 27

Published 9th of November 2018
Episerver Find 13

Scenario

You want to get a search hit from an associated document when you make a free-text search on a typed object or with unified search.

Prerequisites

My DataModel looks like this:

Find Initialization config

The query:

With this easy approach, it will work, even though you won’t be able to see the connection in Find > Overview > Explore.

Options

Cant find Documents in Episerver FIND UI?

If you install “EPiServer.Find.Cms.AttachmentFilter“, this makes “documents/genericmedia” appear in Find > Overview > Explore

Further Options and reading

SEO terms

    • Index documents to a page in Episerver FIND
    • Searching for pages based on free-text content of associated MediaData
    • Filter file used on child pages

About the author

Luc Gosso
– Independent Senior Web Developer
working with Azure and Episerver

Twitter: @LucGosso
LinkedIn: linkedin.com/in/luc-gosso/
Github: github.com/lucgosso

Like it? please up vote
1

Leave a Reply

Your email address will not be published. Required fields are marked *