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

2
votes
1answer
40 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
13 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
26 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
12 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
12 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
32 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
21 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
19 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 ...
-1
votes
0answers
18 views

Cant display value from custom property in item_person

I have created a managed property and mapped the property, I have a content search webpart where I have edited the template to display my custom property I have added this code into Item_Person, My ...
0
votes
0answers
19 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
33 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
12 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
27 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
47 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
50 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
38 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
21 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
35 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
39 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
73 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
29 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
132 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
68 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
48 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
39 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
19 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
115 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
62 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
180 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
25 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
44 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
104 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
19 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
78 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
241 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
178 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 ...
0
votes
0answers
211 views

Programmatically change Content by Search queryTemplate & Paging display template

I'm using the following solution to change QueryTemplate on run-time: ...
0
votes
0answers
55 views

Sharepoint Online Content Search Display Templates missing

I'm experimenting Content Search web parts in a number of Site Collections, but appear to be getting different Display Templates available. Can anyone explain what controls the availability of the ...
0
votes
0answers
20 views

Calender View for Custom list used in Template

I have created a site template which contains number of custom views of the Custom list . With in that i have calenderview for the list . when i am using this web template to create a subsite, i am ...
0
votes
1answer
44 views

Custom values in Control display template

We are trying to reuse our custom cotrol display templates in several different places. We've found several different tutorials on modifying the item display template, but not much on customizing the ...
0
votes
0answers
13 views

Can I have a common set of Display Templates shared against multiple HNSCs?

This maybe a simplistic question if so bear with me! Ok take my Host Named site Collections https://home.domain.com - Landing page https://home.domain.com/SearchCenter/Pages ...
1
vote
1answer
588 views

Managed Property Mapping in display template giving blank values for custom properties

I have specific problem. In search result I want to display certain information from a column called Metadata. So I did this: Is column mapped in Search Schema? MetadataOWSTEXT - Check Performed ...
0
votes
2answers
93 views

How to retrieve value of type hyperlink from managed property in display template?

I have a site column of type HyperLink / Picture where the url for the icon is stored. I want to access this in the custom display template for search items. Whenever I try to access the site column ...
0
votes
1answer
276 views

Display Template Render HTML in list item

I am building a display template for a CSWP. One of the properties is a multi-lined textbox and some HTML is stored with the actual data. How do I go about rendering this html in my display template? ...
0
votes
0answers
58 views

SharePoint CSWP 50 Item Limit

Would anyone be able to suggest an approach for increasing the default 50 item limit returned by a CSWP? This is for a solution that uses a custom display template to render the results out in a ...
1
vote
1answer
68 views

How regular columns become managed properties?

I Customize Display Template for Content By Search result Web Part. Then, Add a reference to your custom managed property in the display template to the ManagedPropertyMapping attribute. But, when I ...
0
votes
2answers
86 views

how to Mapping input properties and getting their values in Item display template?

I have the following list: type of my columns are regular column. I want Customize Display Template for Content By Search result Web Part (Link01 and Link02) but pictureLink, description, ...