Posts

Showing posts from April, 2011

Find Differece in time between Start time and End Time

Image
In workflow add the following workflow steps when a new item is created in your list.   And update the list item column  Number of  hours through the workflow.

Display image for Hyperlink in Sharepoint list

Image
On a specific site page or page where you have the view 1. Click on the link in the view to follow the hyperlink ( > appears) 2. Click on “Hyperlink options 3.Click OK 4. It changes to the actual URL 5. In the code view, the source code is now </xsl:when>                             <xsl:otherwise>               <a href="{$url}"><xsl:value-of select="$url" /><xsl:value-of select="$desc" /></a>             </xsl:otherwise> 6.Replace the <a href="{$url}"><xsl:value-of select="$url" /><xsl:value-of select="$desc" /></a> with <a href="{$url}"><img alt=" Status" src="../SiteAssets/icons/tickmark.png" /></a> ...

Quick Basics of Sharepoint

Image
SharePoint is a browser based web application developed by Microsoft that enables users within an organization to work together, collaborate, more efficiently through its vast number of features. Some of the features include the followin. Document Management, Web   Content   Management, Business Process Management (Workflows), Enterprise   Search, Business Intelligence (Dashboards, Reports), Electronic Forms (InfoPath), Social Networking SharePoint History: SharePoint (2010) Versions Available 1.    SharePoint Foundation ( Free version , known as WSS in  2007. Mainly Provides Document Management) 2.       SharePoint Standard Edition 3.       SharePoint Enterprise Edition Click the below link for more details of the SharePoint Versions http://www.sharepointbasic.com/2012/09/sharepoint-server-features-and.html WSS stands for Windows SharePoint Serv...

Generate Auto number Field in SharePoint list

Image
Generate Auto number Field in SharePoint list To create auto generated list field do the following 1.        Create a column field with data type number in the targeted list. For example I am creating an auto generated column Case ID.   2.        Now to make the auto generated column hidden when a new item is created in the list we have to hide it in content types. First go to list settings-> Then in General settings go to Advanced Settings 3.        In Advanced settings Click the radio button Yes , in Allow management of content types .And Click OK. 4.        Now go to list settings again and a new Content types will be shown. In that click the Content type. In my case it is Item. Name may vary for you. 5.        In that Content type all list columns will be shown. In that click the ...

Useful tip to avoid scroll problem

In most cases we come across the problem we wont get the scroll to avoid this problem add this in your css file overflow :auto;

Useful site to create tab menus for pages

http://www.storm-consultancy.com/blog/tools/TabCreator/

Add print Button in Infopath form

To add print button in infopath form ... 1. Right click the print button ->Button Properties->Edit Form Code. It will open Visual Studio Tools for Applications (VSTA) 2. Add the following code for that print button. PrintDocument pd = new PrintDocument(); pd.Print(); 3.Also add the following namespaces. using System.Drawing; using System.Drawing.Printing; NOTE: This will not work in Browser enabled infopath forms

Validate Start Date and End Date in Sharepoint

Image
Hi guys, We often get into validating the end date which should be greater than start date...So follow these steps to perform that...  1. Go to list settings in that to General Settings and Click Validation Settings 2.Then Add this in Formula =[End Date] >= [Start Date]..Also Type in user Message what error to show .And click save. 3. Now try adding new item for that list.That is it. For more doubts on sharepoint you can mail me ...premtd@sharepointbasic.com