Skip to main content

Posts

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...

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 pa...

Adding a document link as a field in document library-SP 2010

Hi ALL, I got this requirement from my client that they need to display the document URL as a another column so that when they take the excel sheet out of it they have the URL in it. I know it sounds simple, but the URL Path column will get displayed only with some calculated column in SP Desginer. I can use this way but. I thought its simple writing a workflow using "encoded Absolute URL" field in the document library. Please follow the steps. Add the workflow to the document Library in SPD. Add action : Set field in current item set the textbox column to get value of "Current Item: Encoded Absolute URL Publish the workflow and make it run manually for existing documents and after you done running on existing then change the workflow settings to Run automatically when the item is created. Thanks for looking the blog. Happy SharePointing.

Hide Recently Modified from left hand side

Hi All, I got this query from one of my friend who recently joined the project. <style type="text/css">  .s4-recentchanges  {   display:none;  }  </style> add this code to CEWP if you want to hide "Recently added" on a page.  Add this code to masterpage, if you want to hide on the whole site.  Happy SharePointing!!!!!

Links for text filter web part wild card search and exporting sql to excel and from excel to sharepoint list

Text filter web part wild card search : http://sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=daba3a3b-c338-41d8-bf52-cd897d000cf3&ID=77&Web=dbb90e85-b54c-49f4-8e97-6d8258116ca0 SQL to Excel : http://www.versaform.com/index.php/support/tech-support-topics/sql-data-in-excel/sql-data-excel-2?page=support/tech-support-topics/sql-data-in-excel/sql-data-excel-2 Print a single List item in SharePoint 2010 http://derekhalstead.blogspot.com/2010/10/print-single-list-item-in-sharepoint.html

Emailing a Custom View with Info path 2010 forms published to sharepoint

1. Create a Infopath form with all the fields 2. Create another view which you can use the existing columns , if necessary Now the task is , When user submits the form, the second view must be the conformation Email that he need to get. In order to Achieve that We need to use "Switch Views" in rules. Procedure: First Create a Email Submit Data Connection Click "Tools" >> "Data Connections…" Click "Add…" Select "Create a connection to" >> "Submit data" and click "Next >" Select "As an e-mail message" and click "Next >" Enter an e-mail address in the "To" header field, or bind it to a field in your form template. Fill out any other e-mail header information and finish the wizard. Click "OK" / "Finish" / "Close" to get out of the wizard and finalize your e-mail submit data connection. Now Create a View which you want to use for th...

Twitter widget insertion into sharepoint 2010

Hi All, So many people wrote about Twitter webpart or widget or script that can work with sharepoint 2010. I want to share my experience. After the new API came in, I was checking the development part of Twitter to make the things work more easily for embedding Twitter feeds into your sharepoint page. Goto : https://twitter.com/settings/widgets/new Fill the User Name and select the height, theme and link color Click on create Widget It will generate code for the widget It will be almost similar to <a class="twitter-timeline" href="https://twitter.com/*****" data-widget-id="****************">Tweets by @******</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitt...