How to configure Conditional Formatting in SharePoint Designer
How to configure Conditional Formatting in SharePoint Designer
One of the best ways to enhance the user experience is to highlight something about the data they are interacting with. One of the coolest tools available out-of-the-box with SharePoint is Conditional Formatting. With Conditional Formatting, you can designate some condition that the data is in and based on the matching the data values to that rule set. Then you can have SharePoint Style the data in a particular way to have it stand out from the other data on the page.
In this blog, I will take a list of products and using conditional formatting, I will format those products which are under $10 to style the retail price column of those items in a larger font which will be bold and red in color.
To do this, I have created a new Site Collection with the top level site based on the Team Site template (STS#0). I have created a list template with some products inside of it. The list has 3 list columns, the out-of-the-box title column which I changed to sku, ProductDescription is multi lines of text and retailPrice which is currency. I based the list on the Custom List Template. I added some products to the list before saving it as a template with a variety of prices including a few that are below $10.
Here are the steps I will go through in the blog:
- Create a list based on my custom template
- Open SharePoint Designer
- Create a new aspx page called ProductsPage.aspx
- Connect the page to the V4.master page.
- Create custom content inside the contentPlaceHolderMain
- Insert a Data View of the Products List
- Add Conditional Formatting to the Web Part
- Set the ProductsPage.aspx as the home page of my site.
- Add a filter to only show the products under $10
- Customize the Sorting of the remaining items to be Ascending
- Adjust the visible columns to just show the ProductDescription and RetailPrice.







































Spike Xavier
SharePoint Instructor – Interface Technical Training
Phoenix, AZ
You May Also Like
conditional formatting, shared documents, sharepoint designer 2010, web parts
Agile Methodology in Project Management
0 184 0In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management
Creating Users and Managing Passwords in Microsoft Office 365
0 786 4In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365. For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365
Using Navigation Controls in a Collaboration Site in SharePoint
0 360 1In this SharePoint training video, I want to talk about the Navigation Controls in SharePoint. They tend to fall into two kind of different categories; one with the navigation controls in a typical Collaboration Site such as a Team Site or a Project Site. These are Sites that are based on the Team Site Template … Continue reading Using Navigation Controls in a Collaboration Site in SharePoint
See what people are saying...