Skip to main content
Commonmark migration
Source Link

I want to extend the search results when I am searching sites. My Query is WebTemplate:MySiteDefinition and it results is like in the following picture

![enter image description here][1]enter image description here

By the other hand, I have a timer job that calculates in a list the number of documents created or modified in the past 15 days.

Now, what I need to do is that these results became something like this: ![enter image description here][2]enter image description here

As you can see, I need the title, logo description of the page (these 3 fields no problem to customize), last documents, pending tasks and an icon that creates an entry in CustomFavourites list in each My Site. The problem comes here. How can I modify the behaviour of the Search Results WebPart to have my desired look and feel?.

Which will be the best approach? Making a WebPart that inherits from CoreResultsWebPart, ContentBySearchWebPart? I am stucked on this. [1]: https://i.sstatic.net/IaSPz.png [2]: https://i.sstatic.net/47AyH.png

I want to extend the search results when I am searching sites. My Query is WebTemplate:MySiteDefinition and it results is like in the following picture

![enter image description here][1]

By the other hand, I have a timer job that calculates in a list the number of documents created or modified in the past 15 days.

Now, what I need to do is that these results became something like this: ![enter image description here][2]

As you can see, I need the title, logo description of the page (these 3 fields no problem to customize), last documents, pending tasks and an icon that creates an entry in CustomFavourites list in each My Site. The problem comes here. How can I modify the behaviour of the Search Results WebPart to have my desired look and feel?.

Which will be the best approach? Making a WebPart that inherits from CoreResultsWebPart, ContentBySearchWebPart? I am stucked on this. [1]: https://i.sstatic.net/IaSPz.png [2]: https://i.sstatic.net/47AyH.png

I want to extend the search results when I am searching sites. My Query is WebTemplate:MySiteDefinition and it results is like in the following picture

enter image description here

By the other hand, I have a timer job that calculates in a list the number of documents created or modified in the past 15 days.

Now, what I need to do is that these results became something like this: enter image description here

As you can see, I need the title, logo description of the page (these 3 fields no problem to customize), last documents, pending tasks and an icon that creates an entry in CustomFavourites list in each My Site. The problem comes here. How can I modify the behaviour of the Search Results WebPart to have my desired look and feel?.

Which will be the best approach? Making a WebPart that inherits from CoreResultsWebPart, ContentBySearchWebPart? I am stucked on this.

Source Link
SharePointHero
  • 2.3k
  • 23
  • 33

Extend SharePoint 2013 Search

I want to extend the search results when I am searching sites. My Query is WebTemplate:MySiteDefinition and it results is like in the following picture

![enter image description here][1]

By the other hand, I have a timer job that calculates in a list the number of documents created or modified in the past 15 days.

Now, what I need to do is that these results became something like this: ![enter image description here][2]

As you can see, I need the title, logo description of the page (these 3 fields no problem to customize), last documents, pending tasks and an icon that creates an entry in CustomFavourites list in each My Site. The problem comes here. How can I modify the behaviour of the Search Results WebPart to have my desired look and feel?.

Which will be the best approach? Making a WebPart that inherits from CoreResultsWebPart, ContentBySearchWebPart? I am stucked on this. [1]: https://i.sstatic.net/IaSPz.png [2]: https://i.sstatic.net/47AyH.png