Monday, June 27, 2011

Sequential vs State machine workflows in SharePoint 2010

In this post we will discuss about Sequential vs State machine workflows in SharePoint 2010. Also you can check out:

- SharePoint 2013 default permission levels

- Add webpart zone outside PlaceHolderMain in SharePoint 2010

- How to create workflow using Visio and SharePoint designer in SharePoint 2010?

A workflow executes from one step to another in two ways. There are two types of workflows in SharePoint 2010.

a. Sequential: The steps within the workflow execute sequentially, one after another.
b. State Machine: Its executes in no particluar order.

A sequential workflow always progresses forward and never goes back to a previous step. On the other hand, A state machine workflow moves from one state to another, until the logic concludes that the workflow has completed.

There are some businees process that requires a state machine workflow like for example: a bug tracking system where When the workflow first starts, the bug may be placed in a Pending state, where it waits for a developer to be assigned and start working on thebug. When the developer starts working on the bug and fixes it, the bug is put into a Fixed state. When the bug is fixed, a tester confirms the resolution of the bug. If it is not fixed, he places the bug back in a Pending state.

So you should decide the type before developing the workflow. Because it will be very diffcult to change once you have started that workflow.

Visual studio provides both Sequential workflow and State Machine workflow.

Sequential workflow should used when there is only one way to complete a task and the workflow controls the process. But state machine wrkflow can stay in a same step for a longer period of time, must not be in an end state. State machine does not have any specified path, they are event driven.
You can also check Create a sequential workflow using Visual studio 2010 in SharePoint 2010.

StyleCop Tutorials

StyleCop is a tool that analyzes C# source code to enforce a set of style and consistency rules. It can directly work from Visual Studio 2010. Also as compared to FxCop it works with source code not with compiled assemblies. It will verify against the rules provided by microsoft towards coding, design ect. standards.
You can download the latest vesion from here.
Once download completes install it. Then open Visual Studion 2010, It will appear under
Tools menu as shown below.

Saturday, June 25, 2011

InfoPath 2010 Forms SharePoint 2010

In this post we will discuss about InfoPath 2010 Forms SharePoint 2010.

Also you can check out:

- Content Search Web Part in SharePoint 2013

- How to use css in visual web part in sharepoint 2010?

- Steps to create private App Catalog and upload our app in SharePoint 2013

Requirements such as pulling business data out of web services, dynamic filtering of controls, and advanced validation of form fields upon submission can all be easily accomplished with InfoPath. You can also check Benefits of Using InfoPath 2010 with SharePoint 2010.

Also using InfoPath forms in SharePoint 2010 you can  build unique, brand user interface that is easier to understand.InfoPath forms will store in Form Library within a SharePoint site.
Form library is meant for storing InfoPath forms.

When you save or submit an InfoPath form to a form library, the data will be stored in the library as XML.

The advantage of using InfoPath form that you will get drag and drop functions and wizard based experience, You do not need to be a programmer.

It supports customization like connecting to external data, rules and conditions.
But you require a SharePoint server enterprise license to host the form in the browser or the infopath client application is needed to fill out a form.

Browser enabled InfoPath forms and dependencies InfoPath client application is like a Microsoft word client application and is used to design or edit a form template, also use the client to fill out and submit a form.

SharePoint server has a feature namely Form Server that enables InfoPath forms to be filled out and viewed right from the browser. Without form server users will have to load the form in their InfoPath client application.

You can also check SharePoint Infopath 2010 Video tutorial.

Thursday, June 23, 2011

How to install google toolbar in IE?

Finally google toolbar now available to install in IE. Previously it was only available to install in Firefox. Now  You can download google toolbar for Internet Explorer from here   . Then you have to click on the set up file GoogleToolbarInstaller_en32_signed.exe. The next steps are self described. Then its done, google toolbar will appear on your IE browser.

Monday, June 20, 2011

Steps in workflow in SharePoint designer

In this post we will discuss about Steps in Workflow in SharePoint designer.

Also you can check out:

- Conditions in Workflow in SharePoint Designer

- Sequential vs State machine workflows in SharePoint 2010

- Remove user from SharePoint group in SharePoint 2013

Steps are the foundation of any workflow and allow you to organize it into logical sections. The first step is responsible for preparing variables, which are used to store data temporarily while the workflow is running or collecting data from a user. Next step is used to work with data and process commands like performing calculations and waiting for user action to make changes to user data. Last step will be used to record the result of the workflow and send notifications to the user or the administrator, like sending email or logging an error messages.

You can create large workflow only in one step or you can break into multiple steps.

You can give name to workflow by right click on existing titles.

Also you can move around within the workflow or you can delete an existing workflow.To delete a step click on the step’s header to select it and click the Delete key on the Ribbon or the Delete key on your keyboard.

You can have nested steps.

Thursday, June 16, 2011

How to change number of posts displayed on blogger home page?

There are different ways you can increase or decrease the number of posts in your blogger or blogspot home page. Like you can login to blogger go to your dashboard. Then go to settings -> Then formatting and there you can change Show at most -- number of posts on main page as shown in the below figure and then click on Save settings. Then you are done.


But sometimes this will also not work. In that case I have made some changes as described below which works fine for my blog.

Wednesday, June 15, 2011

How session management works in asp.net?

I am trying to describe how the session management works in Asp.Net:

First the clients sends the credential to the server. Server validates the credentials and Server construct the actual state information. Then server sends a session token or session identifier to the client as part of a response.

The client sends a request to the server which includes the session identifier. The server validates the session identifier. The server then determines if the user is authorized to execute the request. The server processes the request and sends the response.

Session can be terminated in Expiration and Explicit user logout.

Tuesday, June 14, 2011

FxCop Tutorial

FxCop is a tool provided by Microsoft that manages code assemblies. It check possible designs, localization, performance and security improvements.
It’s a tool that performs static code analysis of .Net code. Analysis like Design, Globalization, Interoperability, Maintainability, Mobility, Naming, Performance, Portability, Reliability, Security, Usage
It is basically meant for class library projects and if you have followed the standards provided here http://go.microsoft.com/fwlink/?LinkId=70287 by Microsoft, then you will get more benefit from it.
It has an graphical user interface (FxCop.exe) for interactive work, and a command-line tool (FxCopCmd.exe)  suited for use as part of automated build processes or integrated with Microsoft Visual Studio® .NET as an external tool.
It also show messages sometime how to solve the issue.
FxCop has some rules inbuilt but you can also additional rules by using FxCop SDK. Through Projects are used to specify the set of assemblies you want to analyze, the rules that are used to analyze the assemblies, the excluded messages, and the settings to customize the saved project or report file.
Visual Studio is fully Integrated for FxCop, you can check from the below URL. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=917023f6-d5b7-41bb-bbc0-411a7d66cf3c

Saturday, June 11, 2011

Download SharePoint 2010 pdf eBooks free

SharePoint Article  |  SharePoint Jobs  |  SharePoint Forum  |  Register For Updates
Here are some links to download SharePoint 2010 books for free.


Inside SharePoint 2010:
Inside SharePoint 2010 is one of the most popular SharePoint book for experienced professionals. You can download the pdf version from the below link. If the download links is not working then follow the instructions below.

http://www.free-ebooks-download.org/free-ebook/dotnet/ASP.NET/inside-microsoft-sharepoint-2010.php



Beginning SharePoint Designer 2010:
Beginning SharePoint Designer 2010 is one of the best book for SharePoint designer 2010.
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

Download Professional SharePoint 2010 Development with Visual Studio  book for free.
http://rapidok.com/download/idIdUxFX8j/Wrox_Professional_Sharepoint_2010_Development_May_2010

Due to copyright issues I have removed the books from store.

Friday, June 10, 2011

Steps to Create a list in SharePoint 2010

In this post we will discuss how to create a list in SharePoint 2010.

Also you can check out:

- How to create event receivers using Visual Studio 2010 in SharePoint 2010?

- Get icon for different file types in SharePoint 2010

- App Life Cycle Management in SharePoint 2013

You can create a list in SharePoint 2010 in the browser by following the below steps.

Open the site first then go to Site Actions -> Click More Options -> then click on Create Page.
From the Create page select the List from the filter and Then Click on the Tasks. Click More Options there, Then Create dialog will open to create the Task List.

In the dialog enter the Name, it is better not to give any space in the Name textbox, so that URL of the list will come without space. Then later you can change the list name by visiting the list settings page.

In the description textbox you can give a description of the purpose of the list. Then you can select the checkbox to show the list in the Quick Lunch. Then click on Create to complete the List creation process.

To change the name of the list Click on the particular list from the Quick Launch. Then from the Ribbon click on the List Settings. From the List settings go to General Settings section and Click on Title, Description and Navigation. In the Dialog you can Change the Name and Description and Navigation. Then click Save.

Jobs openings for Java and .Net professional for Bangalore location

Here are some walk-ins and please see the venue and date details carefully and mention Employee id - 112971 on your resume. If any problem you can contact me.
Skills:
Java - Java, J2EE, Struts, JSP, Servlets,
.Net - LINQ to Object/Entity, WPF/Silverlight, SP .NET 4.0 MVC, SQL Server 2008, MS entity Framework see more in the below images.

Wednesday, June 8, 2011

SharePoint 2010 Tutorials

Here I want to share something which I feel is necessary to learn SharePoint. You cannot say it’s fully a tutorial to learn SharePoint but still I want to Share something which might be useful to learn SharePoint.

Just a Definition but SharePoint is lot more than this:
It is not SharePoint, its SharePoint Products and Technologies.
SharePoint 2010 is a technology that enables organizations and business units of all sizes to improve team productivity and to increase the efficiency of business processes.
SharePoint sites provide places to capture and share ideas, information, communication, and documents.
A SharePoint site can have many subsites, the hierarchy of which, on web servers, resembles the hierarchy of folders on file systems—it is a tree-like structure.

Friday, June 3, 2011

Disadvantanges of SharePoint Designer workflows?

In this post we will discuss about Disadvantanges of SharePoint Designer workflows. Also you can check out:

- Steps in workflow in SharePoint designer

- Customization of quick launch with flyout in sharepoint 2010

- Create an event handler to prevent items from deleting item from SharePoint list using Visual Studio 2010

- You can not loop through items in a list or lists in a site.

- Designer Workflows will not allow to access content on other sites or site collections or anything at farm level or web application.

- You can not call a remote web service from a SharePoint Designer 2010 workflow.

- SPD workflows actions run under the identity and with the permissions of the current user. Impersonation Steps restricts workflow actions from running under the identity and with the permissions of a more privileged user.
SharePoint designer 2010 workflows do not have much control on your process.

- If you find that the business requirements for the workflows that you must build are beyond what SharePoint

- Designer 2010 can provide on its own, you have two different strategies for integrating Visual Studio 2010. The first strategy involves using Visual Studio 2010 to develop custom actions that can be consumed by users creating custom workflows in SharePoint Designer 2010. The second strategy involves using Visual Studio 2010 to develop custom workflow templates.

Thursday, June 2, 2011

Java walkin for 2 to 8 yrs experience professional.

Here are some java openings for experinced professional.
Experience- 2 to 10 years
Designation- SE/SEE/Techinical Lead
Location- Pune

If position matches then send resume to fewlines4biju@gmail.com


All the Best !!!


How to create workflow using Visio and SharePoint designer in SharePoint 2010?

In this post we will discuss how to create workflow using Visio and SharePoint designer in SharePoint 2010?

Also you can check out:

- Sequential vs State machine workflows in SharePoint 2010

- Add script reference dynamically through code in SharePoint

- Enable Anonymous Access in SharePoint 2010

In SharePoint 2010 we can create a workflow using Visio and later we can import that workflow in SharePoint designer 2010. Visio has a new template to work with SharePoint 2010 namely Microsoft SharePoint Workflow. You can use this template to design the workflow and later we can import that workflow to SharePoint designer 2010 or to Visual Studio 2010. There is no special thing to do to design the workflow rather simply drag and drop from that template only. Some tips to precede:

Go to Microsoft Office then select Microsoft Visio 2010. Then from the Template Categories Select  Flowchart and then from list of flowchart template Select Microsoft SharePoint Workflow template as shown in the figure below.

Then choose different steps from the list of shapes available in the left side as shown in the figure. You can select Actions, Conditions, and Terminators from the list.

After you have designed the workflow, it is now ready to export to SharePoint designer. Then either you can save the workflow or it will automatically save the workflow when you export the workflow. But it is better to check the workflow diagram before export it. To do so go to the Process Tab in the Visio then click on Check Diagram as shown in the figure.


Now click on export, it will ask you the Save dialog box if your workflow passes the validity test. The format will be .vwi. This is nothing but a .zip file, even you can change the extension to .zip and see the contents.

In these steps all are Visio work finished now we will have to open SharePoint designer 2010 to import the workflow.
-->
In the next step Open SharePoint designer and connect to a site in the development environment. In the left navigation pane, under the Site Object category, click Workflow. On the Ribbon, click the Import From Visio button. The Import Workflow From Visio Drawing dialog will prompt you to locate the file that you want to import and then click Next. The last screen prompts you to name your new workflow and select a type of workflow to create. Choose the option and click on finish.

After you import workflow, it will open the workflow designer and give options to refine the workflow and configure actions.

In the next blog I will go details about the modifications in SharePoint designer.

Deploying the SharePoint Designer workflow:
Click the Workflows item under Site Objects in the left navigation pane then Click to the right side of the name of the workflow that we just created to select it, and then click the Save As Template button on the Ribbon. Then it will save in the Site Assets library. In the site assets there is nothing the wsp file, which can be downloaded and deployed as described here.

Wednesday, June 1, 2011

Introduction to SharePoint 2010 Workflows

In SharePoint 2007, the only containers available were Lists/Libraries or Content Types. The container owns the workflow, and instances of the workflow run against objects in that container. While this has changed in SharePoint 2010, workflows are still attached to a List, Library, or Content Type.

Apart from the above in SharePoint 2010 a workflow can be attached to a Document Sets and  a SharePoint site.

Tools to create workflow:
You can use SharePoint designer, Visual Studio 2010 and Visio 2010 to create custom workflow. Here is a good article on Create a sequential workflow using Visual studio 2010 in SharePoint 2010.

Workflow Types:
The new type workflow is Reusable Workflow:
You can reuse the workflow multiple times. Also you can deploy the workflow across environments. If you are building workflows to operate on things stored inside a list or library you should create them as reusable workflows.

Site Workflows:
Also new in SharePoint 2010.They are workflows that are associated with a site as their owning container. You can create a workflow without creating a list or library.
It can run on the site itself, on one or more lists within the site, on multiple items from a single list, or on multiple items from multiple lists.

List Workflows: These workflows are same as MOSS 2007 list workflows.

Steps:
It is used to organize the actions and conditions that make up the workflow into groups. See more.

Actions:
A very basic unit of work that can be added to the workflow. See more.

Conditions:
conditions control whether or how actions will do their work.Conditions give the workflow author the opportunity to add branching and conditional logic to the workflow, hence controlling what happens based upon circumstances at run time. See more.