Sharepoint 2013 title column navigation to custom page.
<script type="text/javascript">
$(function() {
// Change all display form links to edit form links
$('.ms-vb a[href*="listform.aspx"]').each(function(){
var link = $(this).attr('href');
link = link.replace("PageType=4", "PageType=6");
$(this).attr('href', link); // use your custom url here
});
});
</script>
No comments:
Post a Comment