SharedSamples.org
Column Formatting

Highlight the Current User (Using a Multi-Person Column)

This sample uses the @me keyword to check if the person field contains the current user and shows that entry 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 (Using a Multi-Person Column)

About this sample

This sample uses the @me keyword to check if the person field contains the current user and shows that entry 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 OnlineMulti-Person@meindexOf, joinms-fontColor-themePrimary, ms-fontWeight-semiboldColumn Formatting