@OliverRodrigues @ragavanrajan
I was able to get the code you guys provided to work for my goal! Thank you for your time and solutions. I had some help to debug the issue I was running into, and figured out I needed to remove the conditional statement referencing "value == URL" so that all the URLs got replaced with an icon or button of some sort. I also replaced data attribute to reference my column's logical name in dataverse.
$(document).ready(function () {
console.log(555, "console loading");
$(".entitylist.entity-grid").on("loaded", function () {
$(this).children(".view-grid").find("td[data-attribute='columnlogicalname']").each(function (i, e){
console.log(222, "name of column loading");
var value = $(this).data(value);
console.log("666value Var", value);
var downloadElement="";
downloadElement += "<a href='"+this.innerText+"'>";
downloadElement += "<button type='button' class='btn btn-default btn-lg'>";
downloadElement += "<span class='glyphicon glyphicon-plus' aria-hidden='true'/>";
downloadElement += "</button>";
downloadElement += " </a>";
$(this).html(downloadElement);
// }
// else{
// $(this).closest('tr').css("background-color", "#ffffff");
// }
});
});
});
