youtube image
From YouTube: Using dynamic SVGs with List Formatting for SharePoint and Microsoft Lists

Description

In this 14-minute developer-focused demo Chris Kent shows viewers how to create a radar chart for visualizing list data. Create an SVG (use Inkscape) - modify paths and apply transforms (Transforms extension), and edit some XML. Convert XML to JSON (with “HTML To Formatter”). Paste SVG JSON into custom List formatting view. Tips on preparing SVG for List Formatting include using absolute paths and only paths, viewBox, and currentColor to utilize theme colors.

This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on April 13, 2023.

Demo Presenter
• Chris Kent (Takeda) | @theChrisKent

Community Call Conversation
• aka.ms/Apr13-Demo3

Supporting materials
• Documentation - Use column formatting to customize SharePoint | aka.ms/spdocs-column-formatting
• Samples - List Formatting Samples | aka.ms/List-Formatting
• Tool – Inkscape | https://inkscape.org/
• Extension - inkscape-applytransforms | https://github.com/Klowner/inkscape-applytransforms
• Tool – HTML To Formatter - https://pnp.github.io/List-Formatting/tools/html-formatter-generator/

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/community/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/community/videos
• Microsoft 365 Platform Community - http://aka.ms/community/home