Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Display template in content search WebPart
WhatsApp
Prasad Pathak
9y
5.6
k
0
0
25
Blog
Scenario:
While adding content search web part in a page or page layout using all user web part. The selected display template while exporting web part is not retained the selection of custom display template and default display template gets selected if we create new page out of the page layout or page. I have verified couple of times in all user web part and it is correctly pointing to the display template like following
~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Test_Item_Contacts.js
Solution:
Found out the problem with ~ symbol and solution is to replace it with ASCII equivalent ~
~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Test_Item_Contacts.js
Display template in content search WebPart
Up Next
How to search content from specific SharePoint list in Content Search Web Part
Ebook Download
View all
SharePoint Online And Office 365 Administration
Read by 3.6k people
Download Now!
Learn
View all
Membership not found