Follow in Twitter & Facebook


Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools


Saturday, June 25, 2011

Building custom forms in SharePoint 2010

- No comments
Introduction:
In this article we will discuss what are the different ways to create a custom forms in SharePoint 2010.

Description:
There are 3 tools available to build custom forms.
1. Out of box forms
2. InfoPath forms
3. Asp.Net forms

Out of box forms are a bit easy, simple and fast. But you can not use out of box forms for every
purposes. So you have to use infopath forms or asp.net forms. Out of forms help users to edit list items and have limited customizing features. But InfoPath forms have a deep level of customization, But asp.net forms built in Visual Studio are used for most technically complex forms.SharePoint out of forms are supported column type of Single line of text, multiple lines of text, choice, date etc. But what if we want a check boxes instead of radio buttons. Also suppose you want to show logos or graphics on the form. For this you need InfoPath forms or
Visual Studio.
Also you can use EnjoySharePoint Forum to ask any question.

Thursday, June 23, 2011

Actions in workflow in SharePoint designer

- No comments
Before reading this tutorial, I would recommend you to cover Steps and Conditions.

Actions in SharePoint designer are used to perform different functions. These actions are categorized into different sections. Some actions like: Add a comment, Do calculation, Log to History, Send an Email, Stop workflow, Check In Item, Check Out Item, Copy List Item, Create List Item, Delete item, Update List  Item, Collect Data from User etc.

Variables:

Variables are used to store and manipulate data while the workflow is running.

Each time a workflow new instance will run, a new set of variable(s) will be used and when the workflow ends the variables will be lost. When you first create a workflow, it does not have any variables. In some actions also it automatically adds some variables . For example a do calculation step will automatically create a variable namely calc. All the variables for a particular instance should have a unique name. Following are the data types supported like: String, Boolean, Date Time, Integer, List Item ID, Number.The actions in your workflow are used to assign values to variables. Sometimes action automatically add value to the variable and sometime we have manually assign the value to variable by using Set Workflow Variable action.  When it does automatically we only need to select the variable to which it should assign.When using the Set Workflow Value action, all available variables are shown, even if they are not directly compatible. It is possible to assign an incompatible value to a variable by converting it; this is called coercion. To use coercion when assigning a value to a variable, adjust the Return String As dropdown on the Lookup dialog.

Monday, June 20, 2011

Conditions in workflow in SharePoint designer

- 1 comment
Introduction:
In this article we will discuss what are conditions in workflow in SharePoint. In my last article I have discussed What are Steps in Workflow? and also I have discussed What are Actions in SharePoint workflow?

Description:
Conditions allow the workflow to make decisions and respond differently based on the data that is provided by SharePoint lists or end user entries.Multiple steps can be included within the condition when you need to perform a series of commands.
Some condition examples:
lf any value equals value:
Allows you to compare a value from any data source to a value from any other data source.
If field equals value:
Allows you to compare the value of a field on the current item with the value from any other data source.
Created by a specific person:
Checks to see if the current item was created by a specific person.
Created in a specific date span:
Checks to see if the current item was created within a specific data range.
Modified by a specific person:
Checks to see if the current item was modified by a specific person.
Person is a valid SharePoint user:
Checks to see if a specified user is recognized by SharePoint.
Title field contains keywords:
Checks for a specified string within the Title field of the current item.


Conditions can be configured to examine workflow data, which is any type of data usable by the workflow, including data from list items, variables, or other data sources.This workflow data can be compared with the static information entered when the workflow is written or other pieces of workflow data.
List of operators like equals, Not equals, Is empty, Is not empty, Begins with, Does not begin with, Ends with, Does not end with, Contains, Does not contain, Matches regular expressions, Contains etc.
Also you can check how to remove a workflow from a list or a document library in SharePoint2010?

Friday, June 17, 2011

Download free SharePoint 2010 videos

- No comments
SharePoint Article  |  SharePoint Jobs  |  SharePoint Forum  |  Register For Updates

You can download SharePoint 2010 video tutorials for free from Microsoft web site. There are other paid web sites available to download SharePoint 2010 video tutorials. But for free downloads you can check on
http://channel9.msdn.com/
There you can simply search on the textbox with keyword SharePoint 2010 and you will get lots of video tutorials. Then click on the particular video you want and then go to download section and download from there. But they are very lengthy tutorials so you should have a very good internet speed.

You can also free download MOSS 2007 videos, WSS 3.0 videos, SharePoint Foundation videos or simply SharePoint videos. If you want very specific videos like videos on workflows then you can search something like SharePoint 2010 workflows.

Blogs in SharePoint 2010

- No comments
Here are the steps to create a blog site in SharePoint 2010.

Go to Site Actions -> Select New Site -> From the Category Select Blog site type Then in the form. Enter the Title in the Title field and in the URL name enter the URL for the blog. For example in Title you can enter OnlySharePoint2010's blog and in the URL you can OnlySharePoint2010.

Then you can click on Create.
In the home page there will be four web parts like Posts, Blog Tools, About This Blog and Links. In the Blog Tools contains Create a post, Manage a post, Manage comments etc. In the Links web part there will be a link to the photos picture library.
In the left side Categories are shown and also there will be option to Add new category and Archives section will be there.

To posts a blog go to Blog Tools then click on Create a post link. The Posts- New Item dialog is displayed. In the Title box type put the title and in Body box type the description. Then from the Category list, you can select a Category. And then click on publish button from the Ribbon.


To post a comment for the blog click on 0 Comment(s), this will open the Comments form. Then in the title box type the title and in the Body type the comment.

Wednesday, June 15, 2011

How to remove a workflow from a lists or libraries in SharePoint 2010?

- No comments
Introduction:
In this article we will discuss how we can remove a workflow from a SharePoint 2010 list or libraries. Also you can see What are actions in SharePoint workflow and What are conditions in SharePoint workflow?


Description:
If a workflow is no longer needed then you can remove the workflow from the list or from a document library in SharePoint 2010. Please follow the below steps to remove the workflow from document library in SharePoint 2010.

From the Quick lunch select the document library (that have workflow associated).Then on the Library Tab go to Library Tools go to the Settings group and select Workflow Settings.

The workflow settings page will appear and you will see the Remove a Workflow link.When you click on the Remove a Workflow link the Remove Workflows page will open and from there you can select the Remove radio button.
Select Remove and then it will remove the workflow the document library.
Also you can check some SharePoint 2010 workflow articles here.

Monday, June 13, 2011

Create Sandbox solution with full trust Proxy in sharepoint 2010

- No comments
In this article I am explaining the step by step procedure to create a sandbox solution with full trust proxy.
Before starting I am assuming you are aware of the sandbox limitations. Full trust solution is providing sandbox solution to work in a full environment. In short this is the way to achieve farm based solution functionality in a Sandbox.

Namespace Required:

using Microsoft.SharePoint.UserCode;
using Microsoft.SharePoint.Security;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Publishing;

Step 1:

     Create a simple sharepoint solution with Sandbox; choose create webpart:


Step 2:

      In the webpart, add the logic for creating the web part:


Step 3:

     Deploy the webpart and see the UI

Step 4: Create a new project under the same solution; give it a name and Click Ok


Step 5:

     Create two classes under full trust class library. One for ProxyArg and the other for ProxyOperation.


Step 6:
Add the reference to the Fulltrust code in webpart like below:
string st= SPUtility.ExecuteRegisteredProxyOperation(assemblyName,typeName, new ProxyArg(URL, txtEnter.Text)).ToString();

Step 7:
Add the code logic and deploy the solution. Put the solution GAC and take the reference in Webpart solution.

Step 8: Use the attached powershell script for registering the full trust code in sandbox solution. Deploy the webpart.It will look like below


Step 9: And you can check the page library also:

 

Step 10: That's it. We are done with our solution.

Workflow: Reminder before Due Date in Sharepoint 2010

- No comments
Step 1:
Create a custom list eg: Reminder workflow.

Step 2:
Create a column reminder date  –  Column with Date and Time 


Step 3:
We don’t want this field to be displayed to users when they are filling out the form, so we hide it.  
In the list’s settings, click Advanced Settings.  Change Allow management of Content Types to Yes.  Click OK.

Step 4:
In the Content Types section of the list’s settings, click the name of the one content type in there.  In this example, it’s “item”.  Then, in the List Content Type information screen, click the name of the Reminder Date field.  Change it from Optional to Hidden, and click OK.

Step 5:
Now it’s time to create a workflow that will set the Reminder Date.  In SharePoint Designer, open the site, and click the File menu, and New Workflow

Step 6:
Call it Workflow1 and specify the list Reminder Workflow.

Step 7:
There need not be a condition, and the actions are the following:

”Add Time to Date”
”Set field in Current Item”
“Pause Until this”
“Then Email”


 Step 8:
Next, to set the policy…  On the list settings screen, click Information Management Policy Settings -> In Content Type Click Item -> Enable Retention Click Add Retention Stage.


 Step 9:
I set reminder date to "0" bec basic start date of reminder and set the workflow "workflow1"






Step 10:  That's it Now the test the Reminder Workflow.

Saturday, June 11, 2011

How To Set Filer the list based on the Assigned To in sharepoint 2010

- No comments

Step 1 : Create a Custiom List

               Eg: STATUS LIST and add create some column like   
                             1.Title (Single Line of Text)
                             2.Assigned To (People Picker)
Step 2: Add some Item to the Status list
Eg: As a administrator add some new item, in people picker put Raja(user of sharepoint site) and
Step 3: In List click modify view in that IN FILTER SETTING CHOOSE ASSIGNTO == [ME]  and signout
Step4: Now sign in as a User (Raja). Now u will see what administrator put the status to u.
Step5:That's End of the Work.

How to create a custom web service in SharePoint 2010

- No comments
There are numbers of out of the box web services present in SharePoint that will do most of the 
common tasks like methods for working with list ,sites and sub sites, users and groups etc. For
using these web services you need to add the reference of the web service . But if your

requirement doesn't fit with any of the web methods like parameters of the method or functionality

of the method then you need to create a custom web service.


Below are the steps how you can create a custom web service.


Step: 1
Create an asp.net web service project in the visual studio. Name the project as TestServiceProject and rename the Service1.asmx file to TestWebService.asmx.

This .asmx file will contain the web methods and the programming logic. Now we 

can go to the TestWebService.asmx.cs page and define a web method.

SharePoint 2010 Interview Questions and Answers

- No comments
You can check some SharePoint 2010 Interview Questions.

http://www.fewlines4biju.com/2011/03/sharepoint-2010-interview-questions.html

Ask Me

- 1 comment
Hello Everyone,

You can ask me questions related to SharePoint 2010 and will definitely try to give the answers as per my knowledge. The idea behind this is not only to give answers but also to gain something which can be possible only by discussions.

You can ask the way you are giving comments to a post.

Thanks
Bijay Kumar Sahoo
http://www.fewlines4biju.com
http://www.onlysharepoint2010.com
mob: +91-7676432738

Friday, June 10, 2011

Download Beginning SharePoint Designer 2010 pdf ebook

- 1 comment
SharePoint Article  |  SharePoint Jobs  |  SharePoint Forum  |  Register For Updates

You can download Beginning SharePoint Designer 2010 pdf from the below link.
http://www.filesonic.in/file/115512692/Wrox.Beginning.SharePoint.Designer.2010.Oct.2010.rar

Different site templates in SharePoint Foundation.

- 4 comments
Introduction:
After successfully SharePoint 2010 installation, SharePoint provides different site templates. By using them you can create sites.


Description:
SharePoint foundation has some site templates presented for creating new sites.
Blank Site: This template will not contain any list or documents libraries.
Team Site: This template will contain a Share document library, Announcements list, Calendar, Links, Tasks lists.
Document Workspace: This template will contain a Share document library, Announcements list, Calendar, Links, Tasks lists.
Group work site: This template will contain a Share document library, Announcements list, Circulations, Group Calendar, Links, Phone call Memo, Resources, Tasks and Whereabouts lists.
Blog Site: This template contains Picture library, Categories, Comments, Links, Other blogs, Posts lists.
Meeting Workspace: This site template contains Agenda, Attendees, Decisions, Objectives and Things to Bring list.

Out of box lists presented in a site in SharePoint Foundation.

- 1 comment
Introduction:
Here in this article we will discuss what are the out of box lists are available in SharePoint 2010. Also you can check how to create a list using SharePoint designer?

Description:
The below are some lists that are presented in SharePoint 2010.
Agenda: This list template belongs to Meeting Workspace.
Announcements: This is presented in all site types.
Attendees: Presented in Meeting Workspace.
Calendar: This is presented in all site types.
Categories: Presented in Blog Site.
Comments: Presentes in Blog Site.
Contacts: Presetes in all site.
Custom list: : Presetes in all site.
Decisions: Meeting workspace.
Discussion Board, Document Library, Form Library, External Data: All are presented in all site templates.
Links, Issue Tracking: Also presented in all sites.
Objectives: Presented in Meeting workspace.
Post: Presentes in blog site.
Project Task, Survey, Tasks: Presented in every site.
Things To Bring: Presented in Meeting workspace.
Wiki Page Library: Presented in every site.

Thursday, June 9, 2011

Download Inside SharePoint 2010 pdf ebook free

- 2 comments
SharePoint Article  |  SharePoint Jobs  |  SharePoint Forum  |  Register For Updates

Inside Microsoft SharePoint 2010 is one of the most popular SharePoint 2010 book by Ted Pattison, Andrew Connell, and Scot Hillier and all 3 authors are Microsoft SharePoint Most Valuable Professional (MVP). Also you can check more on this book from http://msdn.microsoft.com/en-us/library/ff742318.aspx. You can download Inside SharePoint 2010 book for free from the below link.
You can download Inside SharePoint 2010 books for free. http://www.free-ebooks-download.org/free-ebook/dotnet/ASP.NET/inside-microsoft-sharepoint-2010.php


Its contents are:
SharePoint 2010 Developer Roadmap
SharePoint Foundation Development
SharePoint Developer Tools in Microsoft Visual Studio 2010
Sandboxed Solutions
Pages and Navigation
Controls and Web Parts
Lists and Events
Templates and Type Definitions
Accessing Data in Lists
Client-Side Programming
Creating and Developing Workflows
SharePoint Security
Business Connectivity Services
Enterprise Content Management
SharePoint Search

If the link is not working Please register here and then contact me , i have the book, I will try to mail you. I will share more SharePoint 2010 books download URL soon.

Some SharePoint terms

- 1 comment
Introduction:
We will discuss some of the SharePoint 2010 terms here like SharePoint Farm, Web Application, Service Applications, Site Collections and Sites.


Description:
SharePoint Farms: SharePoint farm is a set of one or more server computers working together. A SharePoint farm can have dedicated database server, can have multiple front end servers. A farm can run one or more application servers, a database server and a set of Web servers.
Each SharePoint farm runs a single SQL Server database known as the configuration database. SharePoint Foundation creates a configuration database whenever it creates a new farm in order to track important farm-wide information.

In a larger organization SharePoint can have three farms: Development farms, Staging farms, Production farm.
Development farms will be used by the developers for development purposes. Staging farms will be used for testing the application and Production farm will be used for production purposes.

Web Applications:
A Web application is a collection of one or more IIS websites configured to map incoming HTTP requests to a set of SharePoint sites. The Web application also maps each SharePoint site to one or more specific content databases. SharePoint Foundation uses content databases to store site content such as list items, documents, and customization
information.SharePoint Web application runs as one large ASP.NET application. SharePoint Foundation adds a standard ASP.NET web.config file to the root directory of each IIS website associated with a Web application.A SharePoint farm typically runs two or more Web applications. The first Web application is created automatically for SharePoint 2010 Central Administration. Then you need one more Web application to create a SharePoint site. You can also check how to create a web application in SharePoint 2010?


Service Applications:
It is a replacement for Shared Service Providers which is provided by MOSS 2007. It helps sharing resources across sites running in different Web applications and different farms. This is like a pluggable component, Once you install and create a service application, you can configure it for several different deployment scenarios.


Sites:
A site is an endpoint that is accessible from across a network such the Internet, an intranet, or an extranet. A site is also a storage container that allows users to store and manage content such as list items and documents.
A site is an instance of an application


Site Collections:
A site collection is a container of sites. Every site collection has a top-level site. A site collection can optionally contain a hierarchy of child sites. You can also check here how to create a site collection in SharePoint 2010?

What is new in SharePoint 2010?

- No comments
Introduction:
Here we will see what are the new features available in the lastest version of SharePoint that is SharePoint 2010. Also you can check what is SharePoint and What is portal technology?


Description:
SharePoint 2010 is the latest version which includes Microsoft SharePoint Foundation and Microsoft SharePoint Server 2010.
Some enhancements in SharePoint Foundation.
-User experience in browser is a major changes in 2010 version.


-SharePoint 2010 introduces a new AJAX-powered user interface so that it eliminates some unnecessary postbacks.


-The user interface provides inline editing and modal dialogs.


-It supports Windows PowerShell script which will be helpful for administrative scripts.


-It provides SharePoint Developer Tools for Visual Studio 2010.


-It provides Sandboxed solutions which is helpful for deploying solution packages at site collection scope in a sandboxed environment.