Mar 28 2020 10:04 AM
Hello,
I have formatted a sharepoint list with JSON. Now I want to show up an icon if there is an attachment attached to the item. I have tried this:
"children": [
{
"elmType": "span",
"style": {},
"attributes": {
"iconName": "=if([$Attachments] == '1', 'Attach', 'FieldEmpty')",
}
},
]
Mar 30 2020 04:03 AM
Mar 30 2020 12:11 PM
Hi,
my problem is that I dont know how I can read out the attachments column. If I use
"txtContent": "[$Attachments]"
nothing happens. Is that the right internal name for the Attachment list? And I want to show how many Attachments are behind a list item.
Oct 16 2020 07:34 AM - edited Oct 16 2020 07:35 AM
Hi @chhe5,
I have the same problem with the Attachments field. Have you already found any solution?
Thanks,
Carlos