Skip to main content
Added example and clarification
Source Link
Wicket_IV
  • 137
  • 1
  • 9

How to display Persona Card on hover in list using Sharepoint Online JSONview formatting?

When in an unformatted sharepoint list you can hover over a person's name to get more information about them, I believe this is called their persona card. How can I keep this functionality having formatted my list with JSON?

For the example below I want each of the people's names from the field PastMembers to have that hover action when displayed.

{
  "elmType": "div",
  "forEach": "person in [$PastMembers]",
  "children": [
    {
      "elmType": "div",
      "txtContent": "[$person.title]"
    }
  ]
}

How to display Persona Card on hover in list using Sharepoint Online JSON?

When in an unformatted sharepoint list you can hover over a person's name to get more information about them, I believe this is called their persona card. How can I keep this functionality having formatted my list with JSON?

How to display Persona Card on hover in list using Sharepoint Online view formatting?

When in an unformatted sharepoint list you can hover over a person's name to get more information about them, I believe this is called their persona card. How can I keep this functionality having formatted my list with JSON?

For the example below I want each of the people's names from the field PastMembers to have that hover action when displayed.

{
  "elmType": "div",
  "forEach": "person in [$PastMembers]",
  "children": [
    {
      "elmType": "div",
      "txtContent": "[$person.title]"
    }
  ]
}
Source Link
Wicket_IV
  • 137
  • 1
  • 9

How to display Persona Card on hover in list using Sharepoint Online JSON?

When in an unformatted sharepoint list you can hover over a person's name to get more information about them, I believe this is called their persona card. How can I keep this functionality having formatted my list with JSON?