kentico_ondrejv
-
4/20/2011 9:04:41 AM
RE:Customizing Search Results for Custom Document Types
Hello,
Yes it will, the GetSearchValue function is the right way for your aim actually. Moreover, please take advantage of the IfEmpty function in combination with the SearchResultUrl one. You can try to use the following expression:
<%# IfEmpty(GetSearchValue("PartnerURL"), SearchResultUrl(true), GetSearchValue("PartnerURL")) %>
Please note, it is only an example, therefore you will need to add the link HTML code etc.
Best regards Ondrej Vasil
|