Custom links in SharePoint Default Search
-
Donnerstag, 15. März 2012 09:35
Hi All,
I need to show some custom results in sharepoint's default search. Here is the example about what I need to do:
Suppose I have a custom webpart on a site page (say the site url is 'http://spserver/subsite' and the page url is 'http://spserver/subsite/Pages/ThePage.aspx') which renders the following markup on the page
-----------
<a href='http://spserver/subsite/25/Product A.aspx'>Product A</a>
<a href='http://spserver/subsite/27/Product B.aspx'>Product B</a>
<a href='http://spserver/subsite/28/Product C.aspx'>Product C</a>
-----------
Now if I use site's default search to search against the keywords Product A or Product B etc, I get the results which point to the page 'http://spserver/subsite/Pages/ThePage.aspx' but I want that results should point to 'http://spserver/subsite/25/Product A.aspx', 'http://spserver/subsite/27/Product B.aspx' etc. Is it possible? If it is, then how can I do that?
Thanks
Alle Antworten
-
Donnerstag, 15. März 2012 09:39Forgot to mention that the pages 'http://spserver/subsite/25/Product A.aspx', 'http://spserver/subsite/27/Product B.aspx' don't actually exist in the site. These are just user friendly urls.
-
Donnerstag, 22. März 2012 05:38Moderator
Hi,
As the pages you mentioned don't exist the site, we cannot find the URL when customized the search result. So we cannot change the links in the search result.
Xue-mei Chang
TechNet Community Support
- Als Antwort markiert Xue-Mei Chang-MSFTModerator Montag, 26. März 2012 01:56

