Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Thursday, December 1, 2011

What is Sharepoint?

What is Sharepoint?

SharePoint isn't Program .its a platform

SharePoint is a server product


What it's Do? and 6 Pillars of SharePoint:






Wednesday, October 19, 2011

how to give List and Document Permissions?

List and  Document Permissions:

Shared Documents  èLibrary tabèLibrary PermissionsèGrant Permissions

Tuesday, May 10, 2011

Changing Port Number For Central Admin

We can chnage Port Number for central Admin .follwoing stscommand

Stsadmin -o setadminport -port 6666


-DotNet Help http://www.jsdotnetsupport.com/

Tuesday, April 19, 2011

Debug Program avoid Attach Process-c#.net Tips

 
 
If you  need to debug an application in a point where it's difficult to attach debugger manually
 
You can use following code  anywhere in your application
 
System.Diagnostics.Debugger.Break();
 
or
 
#Region
 
System.Diagnostics.Debugger.Break();
 
#Endregion
 
 


--
J.SuThahar MCA 
MicroSoft Technology Specialist
Microsoft Certified ProfessionalDeveloper
www.jsuthahar.tk
09943151415


Wednesday, April 6, 2011

Sending email Sputility in Sharepoint

Configure Email in IIS server:

http://technet.microsoft.com/en-us/library/cc263462.aspx#section2

WebPart Coding:

 SPWeb thisWeb = SPControl.GetContextWeb(Context);
                string toField = "suthahar@gmail.com";
                string subject = "Test Message";
                string body = "Message sent from SharePoint";
                bool success = SPUtility.SendEmail(thisWeb, true, true, toField, subject, body);

Thursday, March 3, 2011

Create Site Collection Administration

Create Site Collection Administration 

Why we are create Site Collection Administration?

A user who has administrative permissions for a site collection.

How to create site collection Administration

Step 1: Select Site action








Delete SharePoint Email Alert

Step 1 : Go to SharePoint Admin Url

Email Alert in Share Point Document Sharing

 Email Alert in SharePoint   Step by Step
Note: Click image to Zoom 
Select Shared Document
Selcet Action ==>Alert


Select Users




Click Ok to continue





Check Email




Email Text




Site Collection

A collection of SharePoint sites that share common administration pages and site settings.

Site collections allow you to share content types, site columns, templates, and Web Parts within a group of SharePoint sites.


Every Site is one of the site collections
All Sharepoint site have same url    http://server.com/sites/

















Tuesday, March 1, 2011

What is Diff between BDC and BCS

BDC- Business data Catalog
BCS-Business Connectivity Service

Business data Catalog:



  • Connect to External Database and view in  share point
  • we can only read in database


Business Connectivity  Service


  • Its new in SharePoint 2010
  • Itw we have Read  and write in database

Web Part Life Cycle


Web Part Life Cycle 
  • OnInit
  • LoadViewState
  • CreateChildControl
  • Onload
  • usergenerated Event
  • onpreRender
  • RenderControl
  • SaveViewState
  • Dispose
  • Unload

OnInit 

 Configuration values set using WebBrowsable properties 

LoadViewState – 

The view state of the web part is populated over here.'

CreateChildControls 

All the controls specified are created and added to controls collection. When the page is being rendered for the first time the method generally occurs after the OnLoad() event. In case of postback, it is called before the OnLoad() event. We can make use of EnsureChildControls() - It checks to see if the CreateChildControls method has yet been called, and if it has not, calls it.

OnLoad

User Generated Event 

for e.g. button click on the web part.

OnPreRender 

Here we can change any of the web part properties before the control output is
drawn.

RenderContents 

 Html Output is generated.

SaveViewState 

 View state of the web part is serialized and saved.

Dispose

UnLoad.

Custom Feature

Create xml file named feature.xml and its manifest file. save file to  12- hive \template\feature. 


How to install  feature file?

Go to command prompt, navigate 12- hive bin folder & run the command. 

Stsadm -0 installfeature –filename <filelocation+name> 

How to  Activate  feature?
 
Go to command prompt, navigate 12- hive bin folder & run the command. 

Stsadm -0 activefeature –name <name> -url <url> 

How to Deactivate feature?
 
Go to command prompt, navigate 12- hive bin folder & run the command. 

Stsadm -0 deactivefeature –name <name> -url <url> 

How to uninstall  feature?

Go to command prompt, navigate 12- hive bin folder & run the command. 

Stsadm -0 uninstallfeature –filename <filelocation+name>

Sharepoint Architecture

We have 3 layer architecture

WFE <Front End Web Server> 
2. Application Layer 
3. Data base Layer 


1. WFE 

share point Installed. 
12-hive structure & virtual drives. 
IIS web sites are hosted. 
servers are clustered on & are in synch. 

2. Application Layer

Share Point provides different services. 
This layer provides those services, like my site hosting, user profile & searching etc. 
One server can be dedicated to particular service depend upon the scalability. 

3. Data Base Layer 

Here we have SQL server installed. 
Here content DB is hosted. 
For moss 2007, it is SQL server 2005. For Share Point 2010, it is SQL server 2008. 
Here servers are clustered on & are in synch. 

* Every layer has load balancer for control the traffic.

How to Deploy WSP file?

In command promt Navigate to 12 hive  Folder after write Commant line

STSadm -o addsoultion -filename filelocation

Then go to "central administration -> operations" under "global configuration" there is "solution management" click on that.




Then click on "wsp file name", and then click on "deploy solution" for deploy it, for retrieve click on "retrieve solution", for remove it click on "remove solution" after retrieve it.

--
J.SuThahar MCA 
MicroSoft Technology Specialist
Microsoft Certified ProfessionalDeveloper
www.jsuthahar.tk
09943151415