Sharepoint 2013 Search configure for dynamic content
I have a list filled with news, and i have a page that depending on the query string I pass (list item ID), it shows the news. The thing is, when i search for this news, it retrieve the list item, and i would like to, instead of showing /lists/news/DispForm.aspx?ID=11 page, show /pages/news.aspx?ID=1 as default, and not redirecting. I'm filling the page with c# code from the layout (in case it changes anything)
  • Edited by Pedro Pertino Thursday, April 17, 2014 3:55 PM there was a background on the text
April 17th, 2014 6:53pm


Hi,

Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.

Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Free Windows Admin Tool Kit Click here and download it now
April 21st, 2014 4:26am

Hi Pedro,

as i know, you can change the search result page URL, but it also depends on your needs, please have a try,

http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/specify-search-settings-for-a-site-collection-or-a-site-HA104020835.aspx

or you can try to add a webpart to the site,

http://msdn.microsoft.com/en-us/library/office/jj163789(v=office.15).aspx

April 21st, 2014 9:04am

Hi Aries, thank you for taking the time, I'm already using this approach, I edited the search box display template, to match our web site styles, and while doing this, I redirected to a custom page with a proper master page, and a CSWP, which take the ?k= query string automatically.

This is working great so far, but what i need is to index the list items to the search but before that, change the url, so i can point to a custom page, where the querystring of this item (i.e. /lists/news/dispform.aspx?ID=1). I want to be indexed already as a page, so when the web part renders the results, it will show, on the hover, that nice preview of the page, and not the default list item preview.

I hope i made my self clear, English is not my native language.

Thank you again.

Free Windows Admin Tool Kit Click here and download it now
April 21st, 2014 4:19pm

Hi Pedro,

please correct my understanding if it is wrong, what i get from you, you want to create like a catalog, so that you can group all the news in to other URL and based on the catalog index?

http://en.share-gate.com/blog/migrate-sharepoint-2013-what-is-product-catalog

http://blogs.technet.com/b/tothesharepoint/archive/2013/02/14/how-to-set-up-a-product-centric-web-site-in-sharepoint-2013.aspx

http://blog.mastykarz.nl/inconvenient-url-rewriting-catalog-items-sharepoint-2013/

or perhaps you can add a look up link, so that the link that will be shown and it will redirected to the correct place, for this i think u may need to custom a bit.

April 22nd, 2014 12:27pm

I ended up using the product catalog site template. Thank you so much
Free Windows Admin Tool Kit Click here and download it now
April 24th, 2014 9:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics