We use the content search web part with a custom display template to show our documents throughout our intranet based on various criteria such as file type, language, Document Type (custom column) etc.

Now we have a request to display a column which contains the file's auto-generated Document ID. Furthermore this column should be clickable as well so the user gets re-directed to the file.

I am currently not able to figure out which property to use for this or if this requires a combination of maybe another custom column and a crawled property?

Any help is appreciated!

有帮助吗?

解决方案

First you have to ensure that the managed property is mapped correctly, as in this. As far as the link goes you can use a direct link, or cheat an reuse the default link 😉

许可以下: CC-BY-SA归因
scroll top