문제

Working in SharePoint 2013, I created an Asset library to display wall arts/ paintings with an Arts Dimensions column. The default display template shows 'Picture Size' column which is a part of Image Content type. I would like to hide it. Can anyone recommend if it is possible to hide Picture Size column in an asset library?

도움이 되었습니까?

해결책

We can use JavaScript to hide the picture size for tiles in Thumbnail view.

Add the following jQuery code into a Content/Script Editor Web Part in Thumbnails.aspx page.

<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        $(".ms-tileview-tile-detailsBox").each(function () {
                $(this).find("ul > li:eq(1)").hide();
        });
    });
</script>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top