Saturday 28 January 2017

Algorithm we study How Microsoft Implemented in SharePoint?

SharePoint have allot of other functionalities i already explained in this blog: SharePoint 2013 Other Functionalities

Now we are going to discuss 3rd Functionality of SharePoint Indexing and Search.


3: Indexing and Search:

Searching option in SharePoint is very efficient to search anything like Document, Username, Site etc. SharePoint provides you ability to search from unstructured and structured content. Structured content means content with primary key save in SQL db. unstructured means without primary key. Search option not only bound to search only connected db you may access data from external AD server and you can configure this search from GUI of SharePoint.

Scenario:
When user enter any word to search how SharePoint search work?

Mechanism:
It depends on your technical person who implemented SharePoint in your organization how much access he have assigned you. Like when you enter word to search it checks boundaries like it should be at site level, document level or at list level etc.

You can also set priority level , if specific group of users enter word first search at site level they have access if not found start traversing to other sites. It also enhance the search performance.

SharePoint Search options:

  • If you chose specific option, it have their on scope:
  • Search Center: The ability to restrict searching to a site, site collection, to a rule
  • Web Parts: Providing various search functionality. 
  • Best Bets: Allows targeting of data based on a keyword and synonyms. 
  • Advanced Search: Provides more control over the information they are looking for.
  •  Refinements: This is a new feature in SharePoint for search, provides drill down of data using tags and metadata. Examples of this is content type, location, author and metadata tags.


Thanks for your time. Your Comments will be highly appreciated.

Friday 27 January 2017

Business Workflows in SharePoint

1: Content Management explained in this Blog (Content Management).

How its 3 Tier Architecture?
Business workflow is main pillar of SharePoint to automate operations of your Business. As we know 3 tier have Presentation tier, Business Logic tier and Database tier. Business logic mean Logic as per your business for this Microsoft introduced Business workflows in SharePoint.

Lest discus another functionality of SharePoint.

2: Business Workflows?
Lets break this word between workflows and Business workflows.


  • What is Workflow?

Workflow is an automatic process which trigger after specific condition. For example company with 5000 employees have attendance machine after month end during payroll process it gets attendance from machine and calculate salary of each employee if you have to do it manually how much time you need? allot of man power requires to do this and you can't give salary on same day.

 For this purpose you just have to configure workflow for first time by applying different checks. I explained a very simple workflow for your understanding but you can handle complex scenarios using workflows in SharePoint Like Procurement etc.


  • Business Workflows:

Now combine these words Business Workflows. In workflow explanation we have created a generic workflow will work for all companies.

Now Business workflow, automation according to your business. Like your company deduct 2% of your salary if you get late and 4% if you get off without leave but if you have non avail leaves automatically minus from leaves, not % deduction from your salary.

Advantages Of SharePoint Workflows:

  • You don't need to write code for workflows, SharePoint (Nintex workflow) gives you graphical representation to automate your business.
  • If you have to write code you needs month to do this but using Workflow you can automate process in day. 
3rd Functionality is Best thing of SharePoint 2013 You will love it.

Thanks for your time. Your suggestions and queries will be highly appreciated. Thanks.

Thursday 26 January 2017

Final Year Project Ideas in SharePoint.

Don't worry by reading these names, things are very easy just study once. If you are looking for to select FYP you may develop any of this module using any technology. Like Content Management System, Business Workflows etc.

SharePoint Functionalities:


SharePoint is Combination of these given fields:
1: Content Management System
2: Business Workflows
3: Indexing and Search
4: Enterprise Integration & Collaboration
5: Business Intelligence
6: Portals


1: Content Management System:

SharePoint as Content Management System, CMS have these basic functionalities so you will get these all in SharePoint.

As per my this blog SharePoint As Document Management System i have explained regarding Document Management System but SharePoint not only save documents but also any kind of Content like pdf, Excel, images, HTML etc. So SharePoint is Content Management System. SharePoint have all these above functionalities create content of any type then measure quality, storage space etc then develop means save this content, optimize if created content is working efficiently or not. Deliver this content to production. Manage this content to control visibility or other operations like Create, Update or Delete Permissions. In future if you need to update this content you can do it easily.
You can also integrate workflows with these operations to perform specific task on specific conditions. 


Thanks for your time. If you will have any query feel free to comment here. Thanks

Wednesday 25 January 2017

SharePoint in simple Language?

SharePoint?

SharePoint can make your organization paperless.  
Whenever you want to start working on SharePoint, first question comes in mind what SharePoint is? then you search Internet says Its a Document Management, collaboration etc yes right. But explanation required:

Scenario:
First i will describe a scenario For example you have a company and you win a project. Then you find specific persons, have skills at specific technology. You choose 5 persons for this job, after that emails and documents start floating. After sometime no one have idea about document Version, everyone think they have latest and updated document. You create specific folders in your system to save these documents. Huge bundle of documents saved in your system. In future if you want to search specific document, it becomes panic for everyone to get updated version.

Problems:
1: Search specific skills set person.
2: Documents Updated version for everyone.
3: Documents Searching
4: Usage of Disk space of your system.

Solution:
So then Microsoft introduced SharePoint how to utilize SharePoint to solve these problems.
For this scenario Just create a new site.
1: Create Document Library add concerns persons in this site and give rights to upload documents.
SharePoint will do automatically versioning with last modified date and modified by.
2: Title search is by default available and its very efficient.
3: SharePoint will get those users who are available in your SharePoint Server(Active Directory).
4: You don't need to worry about Disk Usage Space or security issue it will be on cloud or server.

Conclusion:
According to our above discussion do you know what we have learned?
We have learned SharePoint Document Management System and collaboration in SharePoint. Now time to give your precious time to your family. Thanks

Thanks for your precious time. If you will have any query feel free to comment here.

Tuesday 24 January 2017

What you should know before Development of SharePoint?

Although Architecture for SharePoint to access list or file of Document Library define in this image:

but in code you have to access first site then Open web.
Get SharePoint List Using C# code:
In this tutorial we will learn how to get Document Library files by traversing SharePoint Architecture.
SharePoint Architecture to access any list:
SecurityPrevillages-> Site(ByProvidingURL) ->Web -> List (like DocumentLaibrary) -> Get Files under Document Library

Steps:
1: Create Console Application using C# etc then add this library "using Microsoft.SharePoint".
2: Get the path of site which library files you want access in your code like (string baseUrl = "http://sp2013:81/sites/sis/";)
3:  Security Check if you are running this utility on same server where SharePoint is deployed. Get Security check by adding this line SPSecurity.RunWithElevatedPrivileges(delegate() {  //YourCOde });
4: Then Get site where you want some changes or want to get something from existing applications like Document Library.
5: Get all uploaded documents on document library by passing library name as a parameter in   SPDocumentLibrary lib = (SPDocumentLibrary)web.Lists[LaibraryName];
6: using Lib.RootFolder to get all files existing in this folder.
This is Generic Function written in C# to access all documents from a specific Library:
public static bool getAllDocuments(String LaibraryName)
{
Console.WriteLine("getAllDocuments debug, START");
bool isOK = false;
string baseUrl = "http://sp2013:81/sites/sis/";
try
{
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite site = new SPSite(baseUrl))
{
using (SPWeb web = site.OpenWeb())
{
SPDocumentLibrary lib = (SPDocumentLibrary)web.Lists[LaibraryName]; //Get All documents with name
//SPDocumentLibrary lib = (SPDocumentLibrary)web.Lists["Client Incoming Correspondence"]; //Get All documents with name

IEnumerable<SPFile> allFiles = ExploreFolder(lib.RootFolder);
foreach (SPFile file in allFiles)
{
Console.WriteLine("getAllDocuments debug, File Name : " + file.GetType());
string filename = file.Name;
Console.WriteLine("getAllDocuments debug, File CharSetName : " + file.CharSetName);
Console.WriteLine("getAllDocuments debug, File SourceLeafName : " + file.Title);
string strFileExtension = new FileInfo(file.Name).Extension;
string strFileUrl = file.Url;
Console.WriteLine("strFileUrl : " + strFileUrl);

}

}
}
});
}
catch (Exception e)
{
Console.WriteLine("getAllDocuments debug, " + e.Message);
isOK = true;
}
Console.WriteLine("getAllDocuments debug, END");
return isOK;
}
By using this approach you can access any list. Thanks for reading this blog if you need any help feel free to comment here. Thanks