Datatables Sharepoint List Attachments
Datatables Sharepoint List Attachments
I am looking to use datatables to present info from a SP online lists.
While I have most of it working correctly I am struggling with displaying the attachments for each item in the list.
I am able to reference one item at a time in a seperate column but not in the same column. e.g. attachments.
Any ideas would be helpful...(p.s. also a noob to JS)
{
"mData": "AttachmentFiles.results.1.ServerRelativeUrl",
render: function(mData, type, row) {
return '<a href=" ' + mData + '">' + mData + '</a>';
}
Answers
Could you show me a screenshot of how far you have gotten? You AJAX call would be handy to see as well.
Doing something like this is something I will need to do soon. I'd be happy to work with you to get things rolling, if you have not already. If you have it fixed. I'd like to see the product you ended up with.