SharedSamples.org
Column Formatting

Highlight the Current User

This sample uses the @me keyword to check if the person field is the current user and shows that person using a different color and weight. This is a dynamic check that will always highlight the user using the list (not the creater of the format). This template could easily be extended to apply different/additional styles or icons as desired by simply copying the same expression logic for other fields.

Highlight the Current User

About this sample

This sample uses the @me keyword to check if the person field is the current user and shows that person using a different color and weight. This is a dynamic check that will always highlight the user using the list (not the creater of the format). This template could easily be extended to apply different/additional styles or icons as desired by simply copying the same expression logic for other fields.

Products & metadata

SharePointMicrosoft ListsColumnSharePoint 2019, SharePoint OnlinePerson@mems-fontColor-themePrimary, ms-fontWeight-semiboldColumn Formatting