Learn how to utilize search to create a dynamic and engaging intranet. We will discuss Display Templates and how they work with the Content Search Web Part and Search Results Web Part to customize the display of data.
Quick & Easy SharePoint Forms with StratusFormsApril Dunnam
StratusForms is a free jQuery library for building robust SharePoint forms. If you are familiar with HTML, CSS and JavaScript then StratusForms is a good alternative to InfoPath for forms creation. I will discuss it's features, limitations and a quick comparison of StratusForms and PowerApps.
This is my slide deck from my Next Level Forms with PowerApps Talk at Tulsa Tech Fest 2018. I show some of the recent updates and tips and tricks to take your PowerApps to the next level
There are more tools than ever in the Microsoft Office 365 stack to handle the intake of data. How do you know what tool to use when? In this session, we will evaluate PowerApps, Microsoft Forms, SharePoint Lists and Flow and how each tool fits into the forms landscape.
Presented at Tulsa Tech Fest 2017 in the Office 365 Track. This Intro to PowerApps and Flow presentation gives a high level overview of Microsoft's latest forms and workflow tools. You'll learn what PowerApps is and when you should use it as well as how it integrates with Microsoft Flow.
Quick & Easy SharePoint Forms with StratusFormsApril Dunnam
StratusForms is a free jQuery library for building robust SharePoint forms. If you are familiar with HTML, CSS and JavaScript then StratusForms is a good alternative to InfoPath for forms creation. I will discuss it's features, limitations and a quick comparison of StratusForms and PowerApps.
This is my slide deck from my Next Level Forms with PowerApps Talk at Tulsa Tech Fest 2018. I show some of the recent updates and tips and tricks to take your PowerApps to the next level
There are more tools than ever in the Microsoft Office 365 stack to handle the intake of data. How do you know what tool to use when? In this session, we will evaluate PowerApps, Microsoft Forms, SharePoint Lists and Flow and how each tool fits into the forms landscape.
Presented at Tulsa Tech Fest 2017 in the Office 365 Track. This Intro to PowerApps and Flow presentation gives a high level overview of Microsoft's latest forms and workflow tools. You'll learn what PowerApps is and when you should use it as well as how it integrates with Microsoft Flow.
Powering the Modern Classroom with PowerApps & PowerBIApril Dunnam
Presentation from the Spring 2018 Oklahoma Association of School Business Professionals conference on how to use Microsoft PowerApps and PowerBi to power the modern classroom
Get an overview of Microsoft PowerApps, still in preview, and learn how to build your first PowerApp by connecting to SharePoint Online. For a full recording of the presentation, visit it on YouTube at https://www.youtube.com/watch?v=T6fxBgLoxqc
In introduction to the various SharePoint development techniques in SharePoint 2013, this slide deck will give new SharePoint developers an overview of the options available to them to develop against SharePoint. To view audio of this recording go to the Office Mix version at https://mix.office.com/watch/1bgqd4roxtwpe
In this presentation, originally presented at Tulsa Tech Fest, I outline 17 different simple SharePoint Solutions. From Filtered Views, to Auto-Populating People Picker we cover a few out-of-the-box or minimal code ways to produce awesome SharePoint solutions
This slidedeck was used during my session at the SharePoint Connections 2012 conference at 20 November in Amsterdam. The presentation is about how to build great applications using the new technologies introduced in SharePoint 2013.
Designing a great SharePoint Online intranet in Office 365Danny Burlage
Designing an Intranet in SharePoint Online could potentially turn out to be a disaster. Developers build the intranet with On Premise SharePoint specifications in mind, resulting in a slow intranet.
SharePoint Online however is a great tool to build your company intranet. Many large organizations use it to communicate with their employees throughout the world.
This presentation describes the most commonly made mistakes when building out a SharePoint Online intranet. Thing you need to consider in order for the Intranet not to be slow but also to make sure you get the most out of your environment.
The presentation was first given by Danny Burlage from Wortell at SharePoint Connections 2014 and slightly modified repeated at the Metalogix Conference Roadmap to the Cloud.
Modern sites in SharePoint Online have some new and different features from previous versions of SharePoint on-premises. This presentation covers many of the features available as of September 29, 2023.
Powering the Modern Classroom with PowerApps & PowerBIApril Dunnam
Presentation from the Spring 2018 Oklahoma Association of School Business Professionals conference on how to use Microsoft PowerApps and PowerBi to power the modern classroom
Get an overview of Microsoft PowerApps, still in preview, and learn how to build your first PowerApp by connecting to SharePoint Online. For a full recording of the presentation, visit it on YouTube at https://www.youtube.com/watch?v=T6fxBgLoxqc
In introduction to the various SharePoint development techniques in SharePoint 2013, this slide deck will give new SharePoint developers an overview of the options available to them to develop against SharePoint. To view audio of this recording go to the Office Mix version at https://mix.office.com/watch/1bgqd4roxtwpe
In this presentation, originally presented at Tulsa Tech Fest, I outline 17 different simple SharePoint Solutions. From Filtered Views, to Auto-Populating People Picker we cover a few out-of-the-box or minimal code ways to produce awesome SharePoint solutions
This slidedeck was used during my session at the SharePoint Connections 2012 conference at 20 November in Amsterdam. The presentation is about how to build great applications using the new technologies introduced in SharePoint 2013.
Designing a great SharePoint Online intranet in Office 365Danny Burlage
Designing an Intranet in SharePoint Online could potentially turn out to be a disaster. Developers build the intranet with On Premise SharePoint specifications in mind, resulting in a slow intranet.
SharePoint Online however is a great tool to build your company intranet. Many large organizations use it to communicate with their employees throughout the world.
This presentation describes the most commonly made mistakes when building out a SharePoint Online intranet. Thing you need to consider in order for the Intranet not to be slow but also to make sure you get the most out of your environment.
The presentation was first given by Danny Burlage from Wortell at SharePoint Connections 2014 and slightly modified repeated at the Metalogix Conference Roadmap to the Cloud.
Modern sites in SharePoint Online have some new and different features from previous versions of SharePoint on-premises. This presentation covers many of the features available as of September 29, 2023.
SPSNL17 - Implementing SharePoint hybrid search, start to finish - Thomas Voc...DIWUG
One of the most compelling recent additions to a SharePoint practitioner’s toolbox is hybrid search. Although hybrid search capabilities were already around for a few years, with the introduction of the “Cloud Search Service Application” things got a lot more interesting. This demo-heavy session will focus on the technical implementation details and their prerequisites, as well as the typical hurdles that you’ll face in your first hybrid search project.
SharePoint 2013 has FAST search built into its core fabric. New site templates and web parts have been added to allow you to build search driven applications. Through these search web parts, we can cross site collection boundaries to surface information, improve navigation and create a seamless experience across the different sites, site collection and web application. We will also demonstrate how to use cross site publishing to leverage multiple content sources. We also discuss several approaches for publishing internet sites.
In a world of content and links, technical SEO can often be left behind, but getting it wrong can be catastrophic. In this talk, Faye will take you through the different steps of a technical SEO audit and why it is essential, sharing with you some of the most common mistakes and what you should be looking out for on your own website.
A Power User's Intro to jQuery Awesomeness in SharePointMark Rackley
The slide deck for my session walking Power Users through adding scripts to pages in SharePoint with demos showing what's possible to do without having to write any JavaScript. Includes links to blog posts with step by step video instructions.
I2 - SharePoint Hybrid Search Start to Finish - Thomas VochtenSPS Paris
One of the most compelling additions to a SharePoint practitioner’s toolbox is hybrid search. Although hybrid search capabilities were already around for a few years, with the introduction of the “Cloud Search Service Application” things got a lot more interesting. This demo-heavy session will focus on the technical implementation details and their prerequisites, as well as the typical hurdles that you’ll face in your first hybrid search project.
A Power User's intro to jQuery awesomeness in SharePointMark Rackley
Okay, we get it. You’re not a developer, but there so many cool things you can do with jQuery and JavaScript in SharePoint!
Maybe you found that script on that blog that you copy and pasted and just can’t get to work. It looks so easy though.
Why should developers have all the fun?
In this session, learn how you, a Power User can take advantage of some of the awesomeness that is client side scripting in SharePoint. You’ll learn:
- How to use some plug and play scripts on the internet to create tabbed web parts, customize SharePoint forms and more
- Do’s and don’ts that will help you figure out why that script isn’t working on your site
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
7. A Case for Search
• Doesn’t require a developer most of the time
• Replaces need for custom development
• Less code
• Easily maintainable
• Better performance
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
8. Performance Benefits
• Doesn’t require a call to the database like jQuery based solutions
• Reads from the search index rather than the database
• Get performance benefits of custom code without having to write
it
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
10. The Catch – Don’t Use If..
• If you don’t have SharePoint 2013 or SPO
• If you need real time
• Dependent on Search Crawl Schedule – More on this later
• You don’t have control over Managed Properties
• If you need to edit
• Search Web Parts are meant to be view only
• Not a forms solutions
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
11. What if you have SP 2010?
• Content Query Web Part
• Search Core Results Web Part
• Custom Code
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
12. Search Crawls
• SPO
• MS controls Search Crawl scheduling and execution
• Search crawls occur continuously to make sure that content changes are
available through search results as soon as possible. Recently uploaded
documents may not immediately be displayed in search results because of
the time that’s required to process them. SharePoint Online targets
between 15 minutes and an hour for the time between upload and
availability in search results (also known as index freshness). In cases of
heavy environment use, this time can increase to six hours.
• On Premises
• SharePoint Admin can configure crawl schedule and can trigger an on-
demand crawl if you request it
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
14. Crawled Properties
• Metadata that is extracted from documents/lists during crawls
• Can be structured content
• Title, Author, etc
• Or unstructured content
• Keywords, language, etc
• To make a crawled property available for search queries, you must
map the crawled property to a managed property
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
15. Managed Properties
• Exists in the Search Index
• Grouping of one or more Crawled Properties
• Users can only search on managed properties and not on crawled
properties
• Must have access to Central Admin to create/modify
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
16. Managed Property Settings
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
Mapped Property Setting Description
Searchable Specifies that the managed property content can be found in the full-
text index
Queryable Enables querying against the specific managed property. Good if you
want to search for something specifically in a column. For example, if
the property is Department you could query “Department: Accounting”
Retrievable Enables the managed property content to be returned in search results
Refinable Enables the managed property to be used as a refiner for search results
Sortable Must be selected if you want to be able to sort (a-z) by this field in your
search solution
17. Search Tools
• SharePoint Search Query Tool
• https://sp2013searchtool.codeplex.com
• Works for SharePoint 2013 On-Prem and Online
• Simulate and debug queries
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
19. Display Template Overview
• JavaScript based content rendering template
• Transforms query results into custom format
• Uses Client Side Rendering (CSR)
• Doesn’t require you work with XSLT anymore
• Create and edit HTML files while SharePoint handles the JS
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
20. Display Template Components
• Control
• Container for the search results
• Item
• Controls what happens to each item
rendered through the query
• Used once per result
• Use Managed Properties here to
display content
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
21. Where are they located
• Located in the Master Page Gallery
• /_catalogs/masterpage/display templates
• Content Search Folder
• Search Folder
• Each template will include a .html and a .js file
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
22. Tips/Warnings
• Create a new folder to upload custom templates to
• Separates them from the out-of-the-box templates
• Easier to find
• Don’t touch the JS file
• Customize the HTML file only!
• Never modify an Out-Of-The-Box Display Template!
• Make a copy of it if you want to use it as a starting point to customize
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
26. Create a Display Template
• Start from an existing template
• Make a copy of the .html of an existing template
• If you have publishing enabled then SharePoint will create the JS for you
• If you don’t have publishing enabled then you will need to copy both the
.html and js
• Make sure to change the <title> tag to the name of your new
template
• Modify the code to fit your needs
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
28. Content Search Web Part
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
29. Feature Availability
• The Content Search Web Part (CSWP) is only available for the
following licenses:
• SharePoint 2013 On-Prem Enterprise License
• SharePoint Online Plan 2 (Office 365 E3/E4/E5)
• Don’t have an Enterprise License?
• You can still use the Search Result Web Part (SRWP) and get similar functionality
(kind of)
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
30. Functionality Matrix
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
Functionality CSWP SRWP
Property Mappings w/ Web Part settings X -
Don’t show anything if no results X X (Requires custom control template)
Start displaying results from specified result # X X
Caching Support X -
Support Content Routing, choosing result table X -
Paging support X X
Refine/Filter Results X X
Note: Adapted from “Content Search WebPart vs Search Results Web Part” by ITUnity
31. Content Search Building Blocks
• The Content Search Web Part is comprised of 2 elements:
1. Query Builder
Gathers your data
2. Display Template
Beautifies the output
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
32. Query Builder
• Where you define what data to show
• Can search across site collections &
subsites
• Examples:
• Query all subsites
• Query for data from a specific list
• Query for all pictures
• Query for all people
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
35. Property Mapping
• Where you define what data to show
• Map the managed properties to the
corresponding line in the display
template
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
36. Content Search Web Part (CSWP)
DEMO
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
37. Search Results Web Part
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
38. Search Results Web Part
• Use this if you don’t have access to the CSWP
• Can accomplish all of the same functionality as CSWP
• Requires more code and configuration
• Doesn’t have property mappings
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
39. Search Results Web Part
DEMO
@2016 ThriveFast | www.thrivefast.com @aprildunnam | www.sharepointsiren.com
40. Provisioning
• Suggest creating/editing your display templates in a test
environment if possible
• If you have publishing enabled:
• Copy your .html file and any corresponding css/images to your production
master page gallery/display templates folder
• If you don’t have publishing enabled:
• Copy both the .html and .js and any corresponding css/images to your
production master page gallery/display templates folder
41. What did we learn kids?
• Content Search Web Part is cool
• Search Results Web Part is there for you if you don’t have the
licensing for CSWP
• If your on SharePoint 2010 or Below upgrade to 2013 so you can
reap the benefits
• Lots of out-of-the box templates available
• Cool templates out there to download (for free)
• Puts the power in your hands & eliminates the need for custom
code
43. Please Complete An Evaluation
Form
Your input is important!
You can access Evaluation Forms at:
http://TulsaTechFest.com
Editor's Notes
Hey guys how’s it going? Let’s thank the sponsors for the pizza for lunch.
In this session I will be talking about ways to utilize search-based web parts to build out a dynamic intranet. This session targets power users to developers.
We don't wanna hear your "MMMBop" ringtone go off
I will do a brief intro to search itself. Next I will talk about Display Templates. I will not go into too much code here and instead will focus on some already built templates available for you to use.
Where in the past you might have used something like SPServices to query data from a SharePoint list or library you can do the same thing with search web parts.
You’ll find that you can implement a search based solution without the need of a developer 80% of the time. There are a lot of out-of-the-box and free templates out there that are ready for a power user to install and use. There may be some cases where you need the output to be different in which case you can enlist the help of a developer to build out a custom template.
So we said Search Driven Solutions offer better performance but what do we mean by that? A big hit on performance is having to make multiple calls to the database. jQuery based solutions that make list calls require a call to the database. If you need to pull information from multiple lists on your intranet home page then those database calls can add up and bring your load time to a hault. With a search based solution, you aren’t calling the database but rather the search index which acts as a cache.
You do still have some options you can use a Content Query Web Part or Search Core Results Web Part or just regular old custom code. Unfortunately these options aren’t as user friendly and you will most likely need a developers help
While search is great there are some instances where it might not be the best fit. One limitation is the data won’t show up instantaneously. After you add new content you will have to wait for search to crawl that content before it’s displayed.
The time it takes search to crawl varies. If you are on-prem your SP Admin configures the crawl schedule which can vary from every 5 minutes to every hour or more. A benefit of on-prem is you can also request your SP Admin to kick off an on-demand crawl for you as well.
If you are on Office 365 then you are at Microsoft’s mercy. Generally the crawl runs every 15 minutes, however, during “peak load times” it can take as long as 6 hours. I’ve personally never seen it take that long though.
Another case where you might not want to use a search based solution is if you don’t have control over managed properties. Search based solutions are dependent on these managed properties as that is where it gets it’s data. Managed Properties are controlled via Central Admin so if you don’t have that access it’s going to be difficult. There are many managed properties already configured and generally, each time you create a Site Column it creates a corresponding managed property for that. However, you might need some configuration such as setting the property to be filterable, searchable, sortable, etc. I’ll explain what a managed property is in the next slide.
Another important thing to note is search based solutions are not meant to be a forms solution alternative. These solutions will generally be read only.
While search is great there are some instances where it might not be the best fit. One limitation is the data won’t show up instantaneously. After you add new content you will have to wait for search to crawl that content before it’s displayed.
The time it takes search to crawl varies. If you are on-prem your SP Admin configures the crawl schedule which can vary from every 5 minutes to every hour or more. A benefit of on-prem is you can also request your SP Admin to kick off an on-demand crawl for you as well.
If you are on Office 365 then you are at Microsoft’s mercy. Generally the crawl runs every 15 minutes, however, during “peak load times” it can take as long as 6 hours. I’ve personally never seen it take that long though.
Another case where you might not want to use a search based solution is if you don’t have control over managed properties. Search based solutions are dependent on these managed properties as that is where it gets it’s data. Managed Properties are controlled via Central Admin so if you don’t have that access it’s going to be difficult. There are many managed properties already configured and generally, each time you create a Site Column it creates a corresponding managed property for that. However, you might need some configuration such as setting the property to be filterable, searchable, sortable, etc. I’ll explain what a managed property is in the next slide.
Another important thing to note is search based solutions are not meant to be a forms solution alternative. These solutions will generally be read only.
If you are still on SP 2010 then what we are going to discuss won’t do you much good. My humble suggestion would be to upgrade to 2013 if you can so you can take advantage of the new search features.
You do still have some options you can use a Content Query Web Part or Search Core Results Web Part or just regular old custom code. Unfortunately these options aren’t as user friendly and you will most likely need a developers help
Re-iterating what we discussed in the previous slide. The official statement from Microsoft for SharePoint online is listed. Again, I’ve yet to see it take that long to crawl though but its important to be aware.
On-Prem search crawls are typically controlled by your SharePoint Admin. The crawl schedule can vary from 15 minutes to once a day. If you have on-prem SharePoint and want to implement a search-based solution it would be a good idea to check with your SharePoint Administrator and see how often your crawl schedule runs so you’ll know if that will fit with your intended solutions.
There are a couple major components of search that you need to be aware of to utilize search web parts. The first is Crawled Properties. For each site column that is created and used SharePoint will automatically create a corresponding Crawled Property for the column. It’s important to note that the column has to have data in it before this happens though. Crawled Properties are the building blocks of Managed Properties which are vital to using search web parts.
If you are doing anything with search you will need to use Managed Properties. Search looks at managed properties for building the queries and displaying data.
There are some settings for Managed Properties that are important to know before building out a search-based solution. For each managed property, you must define the settings. These settings will determine what you are allowed to do with the given property.
When working with search solutions you will eventually run into an issue and need to troubleshoot your query. Luckily there is a good, free tool for that. This tool can be downloaded on your desktop and can connect to you online or on-prem site. It allows you to stub out and debug queries.
Display templates are what makes your Search Queries look pretty.
Display Templates consist of a Control and an Item. The control is your container for the search results. The Item is the manipulation of each search result item.
You can find all of the display templates in the master page gallery. There are two folders. One for Content Search and another for Search. If you are using Search Results Web Part then you’ll want to put your custom display templates in the Search folder. If you are using the Content Search Web Part then put your custom display templates in the Content Search Web Part.
Some general tips and warnings here. First, I suggest creating a new folder under the display template folder to house all of your custom templates. This separates them from the out of the box templates and makes them easier to find and manage.
Next tips will save you some heartache. Unless you are a JS whiz, never touch the JS file! You should typically only be customizing the HTML file. SharePoint will automatically sync any changes you make to the HTML with the JS file to keep it kosher. You run the risk of breaking stuff if you start editing the JS file even if you know what you’re doing. If you really need to modify the JS file then I suggest making a backup of your template first.
Last tip is to never modify and out of the box display template. Same idea as above, if you mess it up then bad stuff can happen. You have no good way of knowing where that template is being used and stuff can break. The safe bet is to make a copy of it and give it a unique name and customize it from there.
Benjamin Nulin from ShareGate is big on Search and he has created several cool templates that are available for you to download. I’ve used some of his templates which I will show you later on in the demo.
There is also a project out on GitHub which has a ton of display templates out there for you. I personally want to check out the accordion display template.
And lastly, I’ve posted the display templates that I’ve customized out on my github.
I’m not going to go into the code of heavily customizing a display template. Instead I’m going to focus on some of the readily available templates out there. If you want to create your own, as I said before, start with an existing, make a copy and modify to suite your needs. I will show you an example of what the code of a display template looks like and how we can make a copy and make a small change easily in the demo next.
Show how to make a copy of an existing template and make a small change to customize.
So now that we’ve went over how to get some cool display templates to utilize in your search web parts we are going to talk about the web parts themselves and how to configure them to display content. The first web part we are going to talk about is the Content Search Web Part
This may be a major bummer to some of you but the Content Search Web Part is only available for SP 2013 On-Prem Enterprise of SP Online Plan 2. Don’t be discouraged if you don’t have that licensing. You can accomplish similar functionality with the Search Results Web Part that we’ll discuss later on.
It’s really a case of “anything you can do I can do better”. The CSWP is the latest and greatest and can do anything the SRWP can do faster and easier. The major benefit that you’ll see with the Content Search Web Part is you can utilize property mappings within the web part settings itself. This means your display template just has a placeholder for a value and the end user can define that value in the web part. Whereas with the SRWP you will have to define the properties in the display template itself.
The CSWP is comprised of two basic elements. The Query and the Template.
The Query Builder is pretty self explanatory, you define what you want search to display. The cool thing about the CSWP is you can search across site collections. Many companies have multiple SharePoint site collection and in the past it was extremely difficult to aggregate data from those site collections into one place. You can do that with search.
We’ve already talk about display templates. You’ll see with the CSWP that you have a lot of templates there for you to use out of the box. It even has an image slider built in for you.
As I said before a big benefit of the CSWP is the ability to map properties. In this example you’ll see it has a placeholder to choose the field to use for the picture, link, title, and description.
Show the home page and how to add a CSWP. Create a query and choose a display template.
So what if you don’t have the CSWP? There’s still the SRWP.
Show how to add the People Directory Search Results Webpart
The cool thing about search based solutions is they are super easy to provision. It’s just a matter of copying over some files.