Skip to main content

Posts

Showing posts from 2016

sharepoint 2010 list hyperlink column open in new window

Sharepoint designer solution: http://blog.sharedove.com/adisjugo/index.php/2011/06/26/setting-a-link-target-in-the-sharepoint-2010-data-view-web-part/ Lot of other possibilities: http://www.sharepointdiary.com/2011/02/sharepoint-link-list-open-in-new-window_21.html#ixzz2aWtiNarl I liked the java script one very much, might be bit tedious but works like a charm. You can Make Selected Links in a Links List Open in a New Window with Little JavaScript and content editor web part. Here is how: when creating links in the Links List, add   #openinnewwindow   on the end of each link that you would like to open in a new window. Add the content editor webpart, and place the following code in it: <script language= "JavaScript" > _spBodyOnLoadFunctionNames.push( "PrepareLinks" );   function PrepareLinks() {    //create an array to store all the anchor elements in the page     var anchors = document.getElementsByTagName( "a" );

Printing SP 2013/2010 List Item jQuery and CSS

This solution is originated by ROB (My personal favarote author in SharePoint Blogs) at https://rstagg.com/2013/09/25/sharepoint-2013-printing-list-item-forms-using-jquery-and-css/ I just want to make this solution reach out to more people. Calculated field for the print icon .  Start from a new team site: Create a new subsite from the Collaboration template using the Team Site template. Use listprint for the site name and URL. Create a new picture library named “Images1” Upload the print icon to the picture library.  Download image here Create a custom list named “List” Add the following columns to the list: Column name: Printed | Column Type: Text | Default value: No Column name: Print Item | Column Type: Calculated Column  Download calculated field formula example here Add a new item to the list. Click on the new item link. From the standard DispForm.aspx page select Settings > Edit page Add a new Script Editor web-part to the page (located in the