Build a Classifieds for Your SharePoint Intranet with JSON – Part 1
Ever wanted a clean, user-friendly classifieds or "For Sale" section in your SharePoint intranet? In this guide (Part 1 of 2), I’ll show you how to build one using nothing but SharePoint lists, JSON view formatting, and dynamic filtering—no coding required.
This post focuses on the user experience, design, and visual setup. Part 2 (coming soon!) will dive into automationwith Power Automate and Microsoft Forms.
Let’s get started.
🧱 Step 1: Build the Classifieds List
Create a standard SharePoint list and add the following columns:
Title (default)
Price (Currency)
Description (Multiline Text with 200-character limit using validation)
Status (Choice: New, Available, Sold with emojis)
Category (Choice: Item, Tickets, Accommodation, etc.)
Owner (Person column with profile image)
Contact Method (Text)
Item Image (Image column)
💡 To limit the character count for multiline text, use validation via a single-line column first, then convert it.
🎨 Step 2: Create a Gallery View (Ad View)
Switch to a gallery view, then format it with:
Status badge overlay (top right of the image)
Full description (with wrapping)
Custom styling for price (e.g., bold, colored)
Use JSON view formatting to:
Enable word wrapping and prevent text truncation
Hide default selection (prevent users from accidentally opening list items)
Position the status badge absolutely over the image
Bold and color-code the price field
🛠 Use hideSelection: true and customRowAction to prevent item clicks.
🖼 Step 3: Create a Filter List for Categories
Add a second list titled Add Filters with one column (Title), and populate it with each category:
Item
Accommodation
Tickets
Then:
Create a gallery view for this list
Use JSON to style each category as a button
Tweak spacing and padding for alignment
💡 Pro tip: Keep the filter cards clickable to support dynamic filtering.
📄 Step 4: Build the Classifieds Page
Create a new SharePoint page with:
A custom header section using background images, gradients, and styled text
An intro title (e.g., “Stuff for Sale”) with a submit button
-
Two list web parts:
Classifieds list (Ad View)
Filter list (Page View)
Customize each list web part to:
Hide the command bar
Remove titles (use a space character)
Display only the custom view
🔗 Step 5: Hook Up Dynamic Filtering
Connect the two list web parts:
Select the Classifieds web part
Enable Dynamic Filtering
Filter on "Category" field
Set the filter source as the "Add Filters" list (matching by Title)
Now clicking a category filters the classified items. ✨
🚫 Bonus: Remove Item Click Behavior
In both lists, remove default list item links using JSON:
Identify and delete the
defaultClicksectionIn filters, keep item selection enabled to support filtering
This ensures users stay on the page instead of opening individual list items.
🎯 Final Thoughts (for Part 1)
With just SharePoint lists, gallery views, and a touch of JSON formatting (helped by ChatGPT!), you can create:
A modern classifieds UI
Dynamic filters for browsing
A fully self-contained experience
This approach is also perfect for:
Noticeboards
Event listings
Job boards
Ready to automate it? Part 2 will show how to build the submission workflow using Microsoft Forms and Power Automate.
🎥 Watch the Full Walkthrough
Every step is covered in the video—including live edits, JSON formatting, and page design tips.