From the contributor
How to use this sample
Summary
This sample demonstrates the use of the "setValue" and "customRowAction" to let a user add a list item as a favorite in a multi-person column.

[!NOTE]
INTERNALCOLUMNNAME in the code must be re-named to the internal column name.
View requirements
- This format can be applied to a Multi-Person Column
- To get most out of the formatting, create a new view filtered on the 'Favorite' column to [@me]
Sample
| Solution | Author(s) |
|---|---|
| multi-person-favorite.json | Alexander Henkel |
Version history
| Version | Date | Comments |
|---|---|---|
| 1.0 | July 31, 2023 | Initial release |
Additional notes
The sample is based on Assign To Me example by Tetsuya Kawahara
Disclaimer
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.