Display templates in SharePoint Server 2013 are templates used in Web Parts that use search technology to show the results of a query made to the search index. Display templates control which managed properties are shown in the search results, and how they appear in the Web Part. Each display ...

learn more… | top users | synonyms

0
votes
1answer
39 views

Custom properties not shown in search results, but in profiles shown

Im connect custom attributes in profile service AD item (homePhone, CellPhone), after sync they are shown in profiles (private sites). Then Im add this properties in display templates of search ...
3
votes
1answer
29 views

After changing display template of search results - search isn't working

I'm changing a display template (copy Item_Person, modify, and add Item_Person_WorkPhone) and adding a new search type. It works, but only with my administrator account. Users with Read permission ...
0
votes
2answers
41 views

Why can I not publish an item display template?

I have built an item display template which I have added to the contents web part folder in the masterpage gallery. I need to publish this template - When I try to select the item (or any other item ...
0
votes
1answer
25 views

Customize People display template on Everything scope (results.aspx)

I've successfully created a new People display template (Item_Person.html) and associated result type, and used it on the peopleresults.aspx page. Now, I'm trying to achieve the same effect on the ...
0
votes
1answer
21 views

Search result web part - item display template - How to retrieve images from article

I'm trying to show results with a simple display template. But I get a error: Cannot read property 'getPictureMarkup' of undefined How do I retrieve images with search result? I was hoping that ...
0
votes
1answer
40 views

Get site title and display it search results

I am using display templates to search specific items based on content type and display them in the root site. One of the requirements is to display the site title besides the item. Searching on the ...
1
vote
3answers
47 views

How to display site's title in search results

Using display templates, how can I display the site title next to item(s)? I don't see there is a OOTB managed property. Help much appreciated.
0
votes
0answers
16 views

Reuse display template functionality for a web part

Does anybody have any suggestion to customize the styling and properties return by a custom search web part based of the normal Web Part inheritance? (The long story behind creating the search web ...
0
votes
0answers
13 views

Srch.U object in other pages

Can I use the Srch.U object in other pages and not only in Display Templates for Search?
0
votes
0answers
16 views

Documents I am following in a search web part

I have been struggling with this task for a while now. Is it possible to display the Documents I am following in a search web part using a custom display template. I managed to get the documents using ...
0
votes
0answers
35 views

How to make Content Search Web part look like OOTB list

I am trying to query a few lists in subsites and I have been asked to display them or have a look and feel of OOTB Lists. with the capability to filter, sort. How can I do that? is it easy to build ...
0
votes
1answer
42 views

display HTML styling to a div using content templates and JS

I am busy working on creating a 'new and announcements' web part for a client using a 'News' list, a content search on a New content type, and displaying it using a display template and javascript. ...
0
votes
0answers
18 views

Display synonyms on custom refiner display template

I have a term set which is built dynamically from an external data source that has 1 synonym per term. I'd like to display that synonym on the refinement panel on my custom search refiner. Any ...
1
vote
2answers
57 views

SharePoint 2013 Modal Dialog in Display Template

I am working on a custom action in the item_commonhoverpanel_actions display template that links to the item properties (dispform.aspx) of the item. So far it's working, however I would like to show ...
0
votes
0answers
7 views

Search .mov file types

We are having an issue with any .mov files in our search results. They are all using the document display template instead of the video display template. Also the .mov value is not showing in the file ...
0
votes
1answer
51 views

Control Display Template

I created an Item display template and a result type for this template, I can see the Result type when I try to change the webpart properties for a search results webpart but.... for the Control, I ...
1
vote
1answer
64 views

Display templates - HTML and conditional formatting

I'm working with a custom hover display template where i am trying to display a optional description (multiple lines of text) column with 2 additional breaklines (<br>) to give the text some ...
0
votes
1answer
55 views

Render a users Lync status in a display template

I'm trying to render the author field in a custom display template to show the Lync presence icon. I would like to get a result similar to this template that displays the presence and the name. But ...
1
vote
0answers
40 views

SharePoint 2013 Search Center - Alternative for $includeLanguageScript?

Is there an alternative approach to loading the language resource files with $includeLanguageScript in SharePoint 2013 Search Center? Sometimes it happens that the file is not loaded fast enough, ...
0
votes
1answer
37 views

Get the same display templates for CSWP as for search results

Is there any easy way to use Content Search Web Parts but to be able to use the exact same display template as already defined for search results? I tried copying the .aspx files (control and list) ...
3
votes
3answers
247 views

Custom calendar display template / JS Link

I'm looking for a nice custom calendar. Display template or jslink, doesn't matter. Something like that would be awesome: http://deviprsd21.github.io/Calendario/index2.html Has someone tried to ...
0
votes
1answer
16 views

Custom property for people profiles

I have added 1 new property to people profile named "DepartementTest" and filled it out foreach user. I have added my new property to my custom display template. I have built a people-dictonary and ...
1
vote
0answers
16 views

Item template doesn't include ListItemID?

I have a content search webpart and am using a modified version of the default Item-Picture3Lines.html template. The custom parts are to add our own "like" button. <div class="like-icon" ...
0
votes
1answer
46 views

Unneeded display template js files loading

I have several search results web parts on my page that all use custom display templates. Upon doing some performance testing I'm seeing several js files being loaded that aren't needed and I'd like ...
0
votes
0answers
18 views

Search Result Block with Custom Managed Properties

I have a query rule that triggers the display of a result block. I have a couple custom managed properties I'd like to display in the result block, but they always show up empty in my display ...
0
votes
0answers
16 views

Grouping refiners

I have a task to group refiners on my search page. It's rather easy to modify DOM for each refiner template using OnPostRender or AddPostRenderCallback. But it's not really flexible for my needs. Is ...
0
votes
0answers
50 views

Display template conditional format

I've been working on a display template to format a timeline. Right now I'm working on conditional formatting to show icons for each content type shown in the timeline. The conditional works fine as ...
0
votes
1answer
33 views

Display template get rid of the height and width when asking for picture URL

I'm having a display template (item) that gets a picture URL. ex: var pictureURL = $getItemValue(ctx, "Picture URL"); picture URL is then www.awesome.com/picture.jpg?width=100&height=100 ...
2
votes
1answer
44 views

Make Search Results open in new tab

Ive implemented a SharePoint 2013 Farm Wide search for my site collections, and now want the URL's that get returned to open up in a new tab. Is there a relatively effortless way to do this rather ...
0
votes
0answers
26 views

How to add SharePoint Display template Language files to visual studio solution?

Since Im working multilingual sites with display template in my project,i need to translate the text shown in display template especially the refiners titles in Filter_Multivalue.js . How exactly can ...
0
votes
1answer
91 views

JSLink conflict with lists of the same type (List Custom 100)

Problem I've two custom lists with ListTemplateType = 100. When I insert both into a page, the last rewrite the first. I tryed add BaseViewID with diferent ID, like this question. But anything ...
0
votes
0answers
34 views

Object doesn't support this property or method (CoreRender display template error

I am getting a weird error Object doesn't support this property or method (CoreRender Then the where the display template is. Even weirder is that it is working fine on my Dev platform but not ...
0
votes
0answers
39 views

Display template that display elements from a list view

Is there a easy way to list elements from a list view in a display template? (only from that specific list view!) I know I can set the search query to do the same thing, but it would be nice if users ...
0
votes
2answers
66 views

Modify the foot of Item HoverPanel in Search results SharePoint 2013

I want to add 4 buttons to the bottom of display template Item Default HoverPanel for search results. I need it display like the person column with user's name and photo. By default, it displays ...
2
votes
1answer
59 views

Display a person column in search result webpart SharePoint 2013

I want to add a person column with person's name and image in search result webpart. I create a item display template and add this property "Team Member" to this custom template. But the results ...
1
vote
0answers
52 views

SharePoint Foundation Display Template - managed metadata missing

I'm trying to customize the display of search results in a SharePoint Foundation 2013 environment. Since this environment doesn't have the publishing feature, I'm creating the HTML display template ...
1
vote
0answers
32 views

Displaying list items in my site

I have a need to display content from a list in another site collection on every users My Site page - About Me (/person.aspx). The list is essentially responsibilities for users. So the list needs ...
0
votes
0answers
27 views

How to implement default toolbar in custom display template SharePoint 2013

Based on the answer in this thread: http://sharepoint.stackexchange.com/a/118308/34225, I have a question. I have created a custom display template for the Announcements list in SharePoint and it ...
0
votes
0answers
54 views

Adding javascript after click event of the refiners (display template question)

I want to execute my javascript code postrender of my refiners. I have done that by using this: ctx.OnPostRender = []; ctx.OnPostRender.push(ctx, function () { mycode(); }); This ...
1
vote
2answers
63 views

This item cannot be deleted because it is still referenced by other pages. SharePoint 2013 Display Template

I am trying to delete a display template's html file. I tried PowerShell script, tried doing it manually, and also tried SP Designer to delete. But with all I am getting same error. Error: this ...
0
votes
1answer
104 views

Rich Text Column content in Display template for Search Results webpart

I am trying to display content from a rich text column (ArticleContent) in my search results webpart using a custom display template. <div id="_#= $htmlEncode(itemId) =#_" name="Item" ...
0
votes
0answers
46 views

Department of a person is empty in content search web part's display template.

I have a Content Search Web Part with result source "Local People Results (system)". I get all the users(people) in result of web part. But I can't get the Department of a person. It always gives ...
2
votes
2answers
215 views

Search Display Template Not Returning Values for Managed Property

Search results has no value for a custom site column. Ok, so I have a lookup column created as a site column in the root of my site collection. I found the field in crawled properties. NOTE: I am ...
0
votes
1answer
108 views

Show attachment in Search Content Display Template

I'm currently making a display template for my content search query. I would like to show the attachments but I don't know what code I would use to do this. Here is my code but I don't have anything ...
0
votes
1answer
94 views

Rollup image webpage display template

I have a web page and I've set a rollup image in its properties. What I would like to do is to display this image when this web page appears in a search result. I've tried to modify Item_WebPage.html ...
0
votes
1answer
49 views

Display template javascript array

Have an item display template in SharePoint 2013. The returned property has multiple entries and I'm trying to format them with a pipe between them.Here is the code that I put in the html file. ...
0
votes
0answers
24 views

How to Insert images and description into a slideshow from SharePoint Back-end

I have a slideshow on the design that I'm converting to SharePoint template. Looking for a way to insert the slideshow's images and description from SharePoint's back-end. Something like a form with a ...
0
votes
1answer
55 views

Unable to get image from site column in display template

I have a site column of type Publishing Image. I want to use it in my display template after mapping it to the crawled property. But it always returns null. I have mapped the column to a crawled ...
1
vote
0answers
177 views

How can I adjust the width of a Sharepoint 2013 search display template?

I'm trying to create a custom display template to display search results in a tabular form with specific metadata attached. I have built the basic table in the item level display template but ...
0
votes
1answer
114 views

Link Description crawled property in a display template - SP2013

I am a bit of a noob when it comes to display templates, so please bare with me. I am trying to map the link description from a URL column to my display template. However I have no idea what that ...