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
0answers
5 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
10 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
18 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
23 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
9 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
37 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
6 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
34 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
46 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
34 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
30 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
0answers
27 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
2answers
126 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
14 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
14 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
41 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
14 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
15 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
42 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
26 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
25 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
23 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
54 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
19 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
32 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
59 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
56 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
47 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
29 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
25 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
43 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
45 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
86 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
39 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
1answer
165 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
91 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
60 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
44 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
22 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
54 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
146 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
85 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 ...
2
votes
2answers
193 views

Sharepoint Online search not showing the correct title

I have a content search webpart that shows the title of the file and other properties. However in some file its not using the property Title, it looks like its using the title on the first big ...
0
votes
0answers
26 views

Disaply template result block not showing

I created a display template, which in search was showing up fine, but I wanted it as a result block, and when I added it, the display template would just show as a blank. What is the problem?
0
votes
1answer
52 views

What is the difference between a Control template and a Display template?

I have tried to read up on it but I am still confused regarding them. If I want to change the look and feel of page when I click on an item in a list/library ( the dispform.aspx) page, what file(s) ...
0
votes
0answers
124 views

add a close to my hover display template

How can you add a close to the hover display template. I have created a custom display template with a hover. When I hover over it, it does not contain a cross at the top right hand corner, like I ...
0
votes
0answers
21 views

Group/Control template options

We have made our own control and item templates for use with the content search web parts. One of our item templates shows "cards" for each returned item. Currently we have one control template for ...
0
votes
1answer
104 views

How to check current user membership from item control template (sharepoint online)

Ive made a item control template for SharePoint online. It's working like a charm and all that, however ive been asked to hide a buttom depending on current users membership. So my question is. How ...
0
votes
1answer
303 views

jquery slider in display template works only every second/third time

I've added PGWslider to a Display Template in SharePoint 2013. And it renders nicely - most of the times. Every second or third time I refresh, F12 from IE tells me that "the object does not support ...
0
votes
2answers
235 views

SP2013 getting mysite url of person on display template

I have this display template which displays certain managed properties from a list, including Created by. I want Created by to be clickable and take the user to the mysite of who ever created the ...