Forum Discussion

GiulianoDeLuca's avatar
Feb 10, 2022

✏️ How to inline edit fields in Microsoft / SharePoint Lists

NEW VIDEO N. 194

Using ListView and Column formatting in Microsoft / SharePoint lists is possible to take advantage of the attribute inlineEditField which gives the chance to change immediately the value of a field.
This capability allows to edit the content of a list without opening the item or clicking on Edit in grid view.

2 Replies

  • Olga Melo's avatar
    Olga Melo
    Copper Contributor

    Hi GiulianoDeLuca, thanks for the video. It is very helpful!

    Is there a special syntax for a people column inline editing?
    Once I add the JSON inline syntax, I get the option  to enter the e-mail and select from the list, but the selection shows as object. (Image attached)

     

    {
    "elmType": "div",
    "inlineEditField": "[$columnname]",
    "txtContent": "[$columnname]"
    }
     
    According to the documentation, choice and people column are supported for inline editing.
    Do you know how to fix this issue?
     
    Thanks again for posting the video.
    • Hi,
      Thank you for watching.
      You should use this syntax ".email" or "@currentField.email"

Resources