SharePoint 2010
Here I am listing SharePoint 2010 articles. You can refer this to start your programming with SharePoint 2010. The associated source code can be downloaded from the ebook link or from c-sharpcorner.com
Introduction, Installation, Features
- SharePoint 2010 Introduction
- Installation on Windows 7
- Using Lists
- Central Administration
- Creating Web Application
- New Features
- Views, Lookups and Validations in List
- Enterprise Document Management
- Using Libraries
- Web Parts
SharePoint Designer
Programming
- Starting Programming
- Project Items inside Visual Studio
- Server Object Model
- Lists and Event Handlers
- List – Add, Edit, Delete using Code
- Create List Definition using Visual Studio
- Create Document Library
- LINQ and SPMetal
- Client Object Model
WebParts
An ebook is compiled based on the chapters above plus additional ones. You can find the ebook here:
sukhdev said
great book
real help for new admin
Jean Paul said
Thank You my dear friend..
I won’t stop there.. my 2 books are on the way to release..
– Interview Questions for SP 2010 (admin section too)
– Full Fledged SP Development with 900 pages of content
Thanks for the motivations!
Anurag Roy said
whaen you development book published?
Jean Paul said
Hello Anurag,
The development book was published around January 2012.
Regards,
Jean Paul
Anurag Roy said
Hi Jean,
In the above post you have mentioned that the development book has 900 pages of content but in the E-book we have 257 pages?
can you please send teh link from where I can buy the book ALSO PLS SHARE THE LINK OF SHAREPOINT 2010 project book link.
I have one question I want to uplao mails from outlook to sharepoint library keeping the metedata of the mail and To,From TIME FIEL OF THE MAIL SAME.i WANT TO DEVELOP ADDIN CAN YOU PLEASE HELP ME ON THAT?
Jean Paul said
Hello Anurag,
The free version is only 257 pages. The paid version have 630 pages..
Regards,
Jean Paul
Anurag said
Hi Jean,
I want to uplao mails from outlook to sharepoint library keeping the metedata of the mail and To,From TIME FIEL OF THE MAIL SAME.i WANT TO DEVELOP ADDIN CAN YOU PLEASE HELP ME ON THAT?
Please help.
Regards,
Anurag
Jean Paul said
Is it in SharePoint 2013?
Right now I am writing articles on SP 2013 for http://www.sharepointact.com, while i meet with Apps Development I can help you in that..
Regards,
Jean Paul
Anurag Roy said
Thank you for you so quick reply
Is in sharepoint 2010
can you help me on that.Please help me
I also can not be able to access the above link
Regards,
Anurag
Ankit Tayal said
Hi Jean,
I have some questions for you.
1. What is the difference betwwen sanboxed solutions and farm solutions ?
2. Where are these solutions reside (which location)in Sharepoint 2010 ?
3. In which scenario we use these projects ?
Please explain in terms of your personal experience.i dont want ready made definition which are already there on internet 🙂
Regards,
Ankit Tayal
Jean Paul said
Hello Ankit,
1. Sandboxed & Farm solutions are deployable packages WSP. Sandboxed solutions have less security constraints to be deployed so a user can deploy it to a site collection.
Farm solutions are having higher constraints in deployment and thus requires SharePoint Administrators doing the job through Central Administration or PowerShell.
So why the higher constraints? It depends on the amount of capabilities contained in the solution. For example, Sandboxed solution does not allow coded workflow, application pages etc. and more. But sandboxed solution provides higher flexibility in deployment without the intervene of administrator.
2. The sandboxed solutions are uploaded to solution gallery of each site collection and hence reside in the content database. Farm solutions are residing in the file system.
3. The scenario perfectly depends on what kind of items you are going to deploy. If you are using Application Page in your project, then the Sandboxed property of project cannot be True. Make it false to convert the sandboxed solution to farm solution.
I hope your questions are clarified.. if time permits i will create an article on it.
Regards,
Jean Paul
Kanakaraju Naidu(krnaidu) said
Hi Jean,
Is it possible to convert Sandboxed solution to Farm solution?
Yes means, pleaseexplain in clear manner
Jean Paul said
Yes! In the solution properties window (f4) of visual studio you can do it.
ashok said
hi Jean,
can u plz provide the WORKFLOWS materials.
Regrads,
Ashok
Sujith said
Hi Jean,
i am new to sharepoint.i need to attend the interview without hands of experience in sharepoint .is it possible.
can u help me with the link to install sps 2010 on windows 7
Jean Paul said
Hello Sujith,
Hands on experience is needed to show justice towards the Job!
After all the Interview is kept to validate this.
Hands on experience can be gained through industry or self practice.
I recommend you go through practice at home and after the required knowledge is gained attend the interview.
You can use the following link to install SP on win7:
http://jeanpaulva.com/2012/02/22/sharepoint-2010-installation/
Regards,
Jean Paul
sujith said
Hi Jean,
Kindly help me with the concept of crawling and its use in sharepoint 2010.
Thanks,
Sujith
Jean Paul said
Hello Sujith,
The Crawler is a process which reads the contents and creates Indexes.
For example, if SharePoint users uploaded multiple text files. Later point of time searching the content is difficult if the search is going to read all the text files.
Instead of reading all the contents during search, the search algorithm can look only in the Index to see potential results.
Thus Indexing process helps reduce searching time,
But Indexes are not build when uploading content, the Crawler (a timer job) performs the Index creation.
You can think of it as a word document as the content, Index page as the Index information, Crawler as the process which creates Index page by reading the content. Later the user can quickly move to a content using the Index page.
Regards,
Jean Paul
Sujith said
Hi Jean,
Thanks for helping me with the concept of crawling.
i have read the topics which are mentioned below but could understand more clearly.
if u wish kindly help me with the below concepts.
1.How sharepoint works(ie)which program is used to built the application or which file is used to make it.
2.Difference between webpart and farms.
3.i have heard that sps 2010 are not widely used currently due to higher price of it license..is i t true.
4.SSP and its used
5.Windows Authentication
Thanks
Sujith
Jean Paul said
Hello Sujith,
Good to see your progress..
I will try to create an article on these topcis “How SharePoint works”.
Please stay tuned.
Regards,
Jean Paul
Santosh said
Hello
What is difference between webpart and visual webpart?
Jean Paul said
Hello Santhosh,
A classic web part does not have a UI, we have to write code to render the HTML.
A visual web part have a UI in the designer and allows dragging & dropping of ASP.NET controls like label, button, grid etc.
So it is easier to create forms and perform layouts.
http://crmvoyager.net/2010/11/25/sharepoint-2010-web-parts-vs-visual-web-parts/
Regards,
Jean Paul
Santosh said
Thanks Jean.
Santosh said
Which is better Sandboxed or Form?Why?
Jean Paul said
Hello Santhosh,
Sandboxed or Farm solution depends on the requirement. They both are executed in different process boundaries.
Sandboxed Solutions provides freedom of developer solution installations without intervention of Administrator.
But Sandboxed Solution is executed in a restrictred process with limited resources.
Farm solution have more privileges but more complicated installations.
Please find the video for the choice decision:
http://blogs.apps4rent.com/sharepoint-sandbox-and-farm-solutions/
Regards,
Jean Paul
Harshal Yelpale said
Hi Jean,
I have some quries regarding SharePoint, i’m working on SP 2010,new for SharePoint (4 Months). So What is difference between MOSS(2007), SP 2010 & SP 2013 ?.
Jean Paul said
Hello Friend,
SharePoint had an evolution for the past 10 years.
The versions are like this WSS > MOSS > SharePoint 2010 > SharePoint 2013
link: http://www.go4sharepoint.com/Forum/difference-moss-sharepoint-23582.aspx
I recommend you to continue with SP 2010 and after learning the fundamentals switch to SP 2013
Regards,
Jean Paul
Harshal Yelpale said
Thank You Jean !!! You helped me well.
Harshal Yelpale said
Hi Jean,
I want to create a workflow actions using sandbox solution in SP 2010. So i have created workflow for update a list item, it created successfully and used in SP Designer. But when I’m going to list and trying to update a list item (particularly) it gets an error. So is it possible to create a workflow actions using sandbox solution?
Referred Link : http://msdn.microsoft.com/en-us/library/gg615449.aspx
http://msdn.microsoft.com/en-us/library/ff798499.aspx
http://msdn.microsoft.com/en-us/library/gg615449.aspx
http://www.sharepointfabian.com/blog/Lists/Posts/Post.aspx?List=a4668dd2-4dac-4cce-baf0-ddb1ea4f2d5e&ID=219&Web=a13c21a5-e076-49bd-b17a-4c0957ee49fc
Jean Paul said
Hello Harshal,
The sandboxed solution do not support code workflows.
But if your workflow is designer one, it should be working.
Can you please let me know the error you are facing.
If you wanted a quick solution you an use the forum below:
http://social.technet.microsoft.com/Forums/en-US/sharepointgeneralprevious/threads
Regards,
Jean Paul
Harshal Yelpale said
Hi Jean,
Thanks once again, yes sandbox dosn’t support code workflows. Now working on designer workflow.
Harshal Yelpale said
Hi Jean,
I need a SP 2010 & SP MOSS(2007) interview questionnaire(6-8 months).
Jean Paul said
You can have SP 2010 here:
http://www.amazon.com/SharePoint-2010-Interview-Questions-Volume/dp/147933278X/ref=sr_1_3?ie=UTF8&qid=1353423190&sr=8-3&keywords=interview+questions+sharepoint+2010
Loque said
Hi jean,
I have question on document library,
How can we modify a view from document library depending on their level of permissions?I have try the solution from filters,the [Me] solution,but it only applied user only so the user can see his/hers document,the same goes the the admins,it only show their document only not all document uploaded by user from the site. I want to make that admin can view/modify all the document upload by all their users.
I have deadline to catch and I’ve stuck with this problem since three weeks ago.You can e-mail me back if you did not understand what I’m trying to explain to you.
Thanks
Jean Paul said
Hello Luq,
You can achieve this in multiple ways:
1) Modify the view of the list, add filter condition for user OR administrator
Current User = [Me]
http://social.msdn.microsoft.com/Forums/en/sharepointcustomizationlegacy/thread/c9ced029-5387-46ce-aa9b-36cb16a60ac5
2) Create a list view webpart and add code to control the filter
http://aftabashaikh.com/2011/12/24/display-only-list-items-which-are-assigned-to-current-user-using-out-of-the-box-list-view-webpart/
Please let me know if you need an article, I am happy to create that.
Also, sorry for the delay in reply.
Best Regards,
Jean Paul
Loque said
Hi jean,
Ya,I’m happy if you can throw some article about this, and some screenshot or the codes on how you do it.
Thanks for the article but if you can make an article that’s better and so much appreciate if you could help and solve my problems.
regards.
ranjana said
Hello Sir,
i want create a website in sharepoint for practically purpose but i dont know how can hhcreate application in sharepoint
Jean Paul said
Hello Ranjana,
For creating web site > you can use the Site Actions > New site option.
For creating web application > you can use Central Administration > Manage web applications > New command.
I recommend you go through the fundamentals of SharePoint first, so you can play with it easily.
Use my free ebook.
Regards,
Jean Paul
ranjana singh said
hello,
i want to make a project in sp2010 plz tell me howcan strat .
Jean Paul said
Hello Ranjana,
I believe you can start with FOSTER!
http://jeanpaulva.com/2012/07/11/sharepoint-2010-project-foster-consolidated-article/
Regards,
Jean Paul
ranjana said
Hello,
i have problem purchase this book
thanks
Jean Paul said
This book is free one.. You can download using the link in this page.
Thanks,
Jean Paul
ranjana said
Hello.
plz tell me FOSTER! Price (india )
thanks
ranjana said
Hello Sir,
if install sharepoint in window 7. active directory not create in window 7 how can create user role .
Jean Paul said
Hello Ranjana,
You can install active directory on win 7 using the link:
http://snippetsandhelp.blogspot.com/2011/01/installing-active-directory-tools-under.html
But i would consider it as an extra weight for win 7 – sharepoint combination & rather prefer windows 2008 server for doing the project. (the exp. will be real then)
Regards,
Jean Paul
Bhawana said
Hi ,
Today is my first visit to your web site , I really found it interesting.But i am looking for infopath,Timer job programming ,BDC and BCS example and explanation.
It will be grateful if u can provide this on your site.
Many Thanks,
Bhawana
Jean Paul said
Thank You Bhawana for the good words..
Regarding BCS, Timer Job – you can refer the following link:
bcs http://jeanpaulva.com/2012/09/
timer job http://jeanpaulva.com/2012/07/11/sharepoint-2010-project-foster-consolidated-article/
Regards,
Jean Paul
DEEPAK SHARMA said
Hi Jean,
I read out your Sharepoint Administrator and Development 2010 Book that was realy helpfull….Can please ans me some question as below
1.What is the Architecture of Sharepoint.?
2.In General, which type of Architecture Organization follows while Creating Sharepoint Application or site.?
Regards
DEEPAK
Jean Paul said
Hello Deepak,
Thank You for the good words & I am happy to provide any helps..
Regarding your questions please find my answers:
1) Architecture refers to the Topology, the number of servers & types
For example in a farm scenario, there would be 2 web front end servers that serves the IIS web applications, 1 search server, 1 database server etc.
This is a wide topic & we use tools to determine the topology. http://technet.microsoft.com/en-us/sharepoint/fp123594.aspx
2) Depending on the number of users & number of activities organizations following sinlge server topology or multiple server one.
The aim is to provide a higher responsive system where the hardware resources of server are not peaked out.
Regards,
Jean Paul
Deepak said
I read one of ur article on c-sharp corner named SharePoint 2010 Project – Foster (Consolidated Article) .It sounds really interesting how can i get this complete article with and design all?
Please reply
Regards
DEEPAK
Jean Paul said
Hello Deepak,
Thank You for the good words..
You can download the zip file there in CSH & start folllowing the documents (full articles)
Regards,
Jean Paul
Jean Paul said
Hello Deepak,
Please forgive me if the reply is duplicate 🙂
The CSH Foster is updated one, you can use it.
Regards,
Jean Paul
Shreyas said
Hi Jean Paul,
Good Tutorials. Helped me a lot.
I have a query.
I have been self practicing in Sharepoint 2010 from past few months and want to have a job in the same. But some of the people here tell me that after MVC has come to market, sharepoint has lost its place.
Is it trure? Can I go ahead and look for sharepoint job? I am basically from .net background(2.0 %3.5 bit).
Jean Paul said
Thanks a lot Shreyas for the good words..
Regarding your query, I perceive SharePoint as a better career option than MVC..
MVC is just an architectural pattern & integrated with ASP.NET making it ASP.NET MVC.
Considering the amount of time to be invested for mastering both technologies..
1) MVC could be done in 1 month
2) SharePoint requires at least 3 months & upto 1 year for a good amount of experience.
As the complexity increases value too increases (provided same demand)
Example would be: Taxi Drivers are paid less although they work more than Doctors, as the effort/cost of learning in skill pays you back 🙂
(pardon my weird examples)
So if you are passionate about SharePoint & ready to enjoy challenges ahead, surely you will get better career with SharePoint & most satisfying one.
Regards,
Jean Paul
Shreyas said
Thanks a lot for your quick and informative reply.
In Sharepoint, which one will have more opurtunities? Sharepoint Admin or Sharepoint Development??
Jean Paul said
Hello Shreyas,
I prefer going for Developer as they are more than Administrators!
Plus developer job needs more aggression than Administration! So if one is having talent for Development, he should not go smaller than it.. aim higher.
I do not prefer the easy path, but go with the potential hardest path, practice it and make it easy 🙂
My theories are weird, but were highly successful till now.
Regards,
Jean Paul
Dan said
Mr. Paul,
Does the paid version of your Sharepoint Administrator and Development 2010 Book
include a real world project ? Also, Is it available in PDF format ?
Thanks
Jean Paul said
Hello Dan,
Thank You for the interest in the book.
The book includes learning project as well.. Plus, the learning project is free & is available in doc formats here:
http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-project-foster-consolidated-article/
Regards,
Jean Paul
Dan said
Mr. Paul,
Are the interview questions in your SharePoint 2010 Interview Questions Book different than the interview questions in your SharePoint Administrator and Development 2010 Book ?
What are the differences between the free SharePoint Administrator and Development 2010 Book and the paid version ?
Is there a SharePoint 2010 Interview Questions Book Volume 2 ?
Thanks
Jean Paul said
Hello Dan,
I appreciate your interest towards the book..
The SharePoint 2010 Interview Questions content are same in both the Books.
– The SharePoint 2010 Paid Book will be priced higher than Interview Questions.
The free book contains only 230 pages & no real world scenarios, interview questions, project!
I prefer you the SharePoint 2010 Paid Book for advanced learning & confidence building through real world projects.
Regards,
Jean Paul
Shreyas said
Hi Jean,
I went through most of the articles and it was informative. Thanks a lot.
Is there any Infopath material?
Jean Paul said
Yeah! Shreyas
Here is one: http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-using-infopath-forms/
Shreyas said
Thanks a lot Jean.
Dan said
Mr. Paul,
As you advised, I recently purchased the second edition of your SharePoint Administrator and Development 2010 Book from LULU publishing. This version is only 263 pages and has no interview questions or a real project. It seems I paid for the free version of your book. I’m not pleased about that. Does LULU have the correct version of your book ? On Amazon, the book cover appears to be different. Is that version of your available as an ebook ?
thanks
Jean Paul said
Hello Dan,
I am really sorry for the trouble caused to you..
Did you buy a hard copy / soft copy?
If you bought hard copy, then you can return it to them.
http://connect.lulu.com/t5/Ordering/Return-Policy/ta-p/33211
The big book is the one in Amazon with 625 pages including IQ, Scenarios.
It is a hard copy one, black in color. The contents are writte in the cover page itself.
http://www.amazon.com/SharePoint-2010-Administration-Development-Volume/dp/1480130311/ref=sr_1_4?ie=UTF8&qid=1352950271&sr=8-4&keywords=sharepoint+2010+jean+paul
Regards,
Jean Paul
Dan said
Mr. Paul,
I noticed the difference in the book cover on Amazon after I purchased the
softcopy from LULU. Unfortunately, It is soft copy and cannot be returned. I will not buy anything more from them. I wasted money/tjme purchasing an otherwise free ebook. Are you saying the book on Amazon is only available in hardcopy ?
thanks
Jean Paul said
Yes Dan! that is a hard copy only..
Dan said
Thanks. I will purchase the hard copy directly from Amazon. If I have any comments or questions regarding the book can I leave them on this blog ?
Jean Paul said
Yes Dan! You can comment here, or use my personal email jeanpaulvaATgmail.com
Shreyas said
Hi Jean,
Can I buy the book http://www.amazon.com/SharePoint-2010-Administration-Development-Volume/dp/1480130311/ref=sr_1_4?ie=UTF8&qid=1352950271&sr=8-4&keywords=sharepoint+2010+jean+paul in INR. Is it separately available?
Jean Paul said
Hello Shreyas,
You can buy the book using same link & pay using a debit/credit card.
I think it should convert to USD!
Regards,
Jean Paul
Bhaskar said
Hi Jean,
Can this book is not available in your site & can you provide free link to download this book.
Now a days i am looking to change the job,so i need some prepartion in sharepoint 2010,this book is helpful or not.Can you provided me some chapter,so that it is meaningful or not.
Thanks
Jean Paul said
Hello Bhaskar,
The free book is available for download (230 pages)
The paid book is of 625 pages & all the content except Int Qns are available in the blog..
The price of book is for the mundane formatting work I did. I made sure it is the cheapest one in the series.. There are other SP books with 40$ above value & 50% less content than mine..
I did not add the pdf version purchasable as it leads to Piracy!
As i am an SP MVP, i need to help people in more easier ways..
So if you are serious, learn the 625 pages book from Amazon, learn interview questions, do a MS Certification, you are Fit for Job in Professional way!
Good Luck with your SharePoint Journey!
Regards,
Jean Paul
ranjana said
Thanks sir ,
priya pawar said
Hello Jean,
I have problem with manual deployment webpart using powershell.
Add-SPSolution and Install-SPSoltion both not work in powershell.
Ankit said
Hello Jean,
From last 1 weeek i am facing a issue when i creating a Sandboxed solution in Visual Studio.
Error is : Error occurred in deployment step ‘add solution’ value cannot be null. parameter name g
I referred many blogs but unfortunately no success. Can u please help if you have some solution for this.
Thanks
Jean Paul said
Hello Ankit,
Sorry for the delay in reply, as i was busy with squadron..
You can do one thing – send me your solution (exclude your core application files)..
I will try deploying & let you know the problem & fix..
jeanpaulATgmailDOTcom
Regards,
Jean Paul
Ankit said
Hey Jean,
Today i have made two solutions (Just blank no code at all) and still getting the same error
i.e. Error is : Error occurred in deployment step ‘add solution’ value cannot be null. parameter name g.
Can u try at your end ? if you are also getting the same error.
or is there anything wrong with my local VM setting. as It is not a code problem 🙂
Eager to get a solution of this problem.
Thanks & Regards
Ankit Tayal
srinivas said
How to deploy SharePoint solutions from development environment to production environment.
Will u please guide the steps.
Jean Paul said
Hello Srinivas,
There are multiple ways of doing it..
If you wanted full structure with data, then content database copy/restore would be good idea.
If you need certain solutions to be deployed, the create WSP files & deploy to server
If you need a particular list to be deployed, then list save as template (include data) & deploy
Regards,
Jean paul
srinivas said
Thanks Sir,
I need detail description about deployment from development environment to production server, will you please share if u have any documents or provide the web links if u have sir.
srinivas said
Hi Sir,
When i deploy web parts, .WSP file is created by visual studio 2010, and that .WSP file is in the Solution Store of SharePoint development environment, now that .WSP file i have to deploy in to production Server. How to do this???
Wether we use Power Shell or copy and paste the .WSP file in to production server or another way?
Jean Paul said
Hello Srinivas,
For deploying to production server, there are 3 steps:
1. Copy wsp to production server
2. Use Add Solution powershell command
3. Use Install Solution powershell command
Once it is installed, you can activate the feature through respective site collection.
Please find the link below:
http://technet.microsoft.com/en-us/library/cc262995(v=office.14).aspx
Regards,
Jean Paul
srinivas said
Now i understood the deployment concept. Thanks Sir.
srinivas said
Hello Sir,
If i have to face the interview as 2 years 5 months of experience as SharePoint developer, What are the topics i have prepare to crack the interview.
Jean Paul said
Hello Srinivas,
In you range i believe Web Parts, Solutions, Server Object Model, Basics of Installations, Advantages of SharePoint, Basics of Workflow, Sequential Workflow etc. would be important topics.
You can see my Interview Questions book for more..
Regards,
Jean Paul
srinivas said
OK sir i will go through the book.
I am gratitude for your quick response.
srinivas said
Hello Sir,
I have 2 farm administrator accounts. GGN\sp1 and SHAREPOINT\TESTUSER1.
I am logging as SHAREPOINT\TESTUSER1 and created WebApplication.
And while crreating SiteCollection In that WebApplication it is throwing a popup enter WINDOWS CREDIENTAL username and password.
In that popup i entered the credentials SHAREPOINT\TESTUSER1 and password, but it displaying blank page. Not getting Team site template(landing page).
What is the reason? How to sort out this issue?
Jean Paul said
Hello Srinivas,
For finding out the issue you can check SharePoint ULS Logs.
Regarding team site template, you create another web application & site collection with a BLANK Template to ensure error do not happen again.
Regards,
Jean Paul
srinivas said
Hello Sir,
I have created .aspx webpart page in sharepoint designer 2010, And while integrating java script getting error.
(in XHTML1.0 strict the tag is not permitted)
Actually i want to implement the below java script, in my web part page using share point designer
How to sort this issue?
Professional SharePoint 2007
Development
Beginning ASP.NET 3.5
Professional SharePoint Development using
Silverlight
function getBookInfo(object)
{
var selected = object.options[object.selectedIndex].value;
var ISBN;
var Price;
var Message;
if (selected == ‘1’)
{
ISBN = “091283900129”;
Price = “$39.99”;
Message = “Book Info: “ + ISBN + “ | “ + Price;
alert(Message);
}
else if (selected == ‘2’)
{
ISBN = “298734689102”;
Price = “$42.99”;
Message = “Book Info: “ + ISBN + “ | “ + Price;
alert(Message);
}
else if (selected == ‘3’)
{
ISBN = “948302381002”;
Price = “$36.99”;
Message = “Book Info: “ + ISBN + “ | “ + Price;
alert(Message);
}
}
shivam kantore said
Great book…
I really learn a lot from it.
Jean Paul said
Thank You Shivam for the good words!
srinivas said
What is Safe Control In SharePoint 2010?
Jean Paul said
Safe Control is a mechanism to trust user code by SharePoint
You can read more here:
http://msdn.microsoft.com/en-us/library/ee805045.aspx
srinivas said
What is difference between the Event Receiver vs Event handler in SharePoint 2010?
jeanpaulva said
Hello Srinivas,
Reading about Event Listener in SP 2013 I remembered your query.
Regarding the answer, I would say Event Receiver is a managed code which receive all registered events.
Event Handler is a .Net language term that can be used to define a method against an event.
Eg: button.Click += EventHandler
Event Listener is a new thing in SP 2013, which allows listening to external content type changes & updating back in SharePoint.
Regards,
Jean Paul
jeanpaulva said
test
kesavan said
Hello Sir,
Can you please provide Sample for Custom Master Page. As I have started learning Sharepoint 2010. I thought branding SharePoint site is a good idea. Kindly guide me in doing the solution.
jeanpaulva said
Sure Kesav,
Please find one: http://www.slideshare.net/kkhipple/sharepoint-branding-from-start-to-finish-8055646
Shreyas said
Hi Jean,
I recently purchased your Sharepoint 2010 Admin and Development 625 pages book and its really informative.
I have a small query.
I have a requirement such that if i upload ppt or word doc, it should not allow me to download instead it should come up as a slideshow in my sharepoint site.
I tried in my home creating new web app and new site collection…. without doing anything, I am getting slideshow when i click on ppt i uploaded.
But in office(official site developed by others), when i click, it asks me an option to download.
What should i do???
jeanpaulva said
Hello Shreyas,
You can check the URL of file in both cases, file > properties..
Also try the question in forum >> http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopmentprevious/threads
Regards,
Jean Paul
Arun kumar said
Will u please send me any resources or documents about extranet?
how to implement share point 2013 extranet ? for vendors, customers, partners. It will be very helpful for me.
jeanpaulva said
Hello Aru,
You can refer SP 2013 MSDN Forum, Books in Amazon.
Regards,
Jean Paul
Arun kumar said
Thanks Jean
Arun kumar said
Hi Jean, can u send me any resources that are related to SharePoint 2007 portal migration to SharePoint 2010
jeanpaulva said
Hello Arun,
Please find some:
http://blogs.technet.com/b/nitinsha/archive/2010/07/27/migration-from-sharepoint-2007-to-sharepoint-2010.aspx
http://social.technet.microsoft.com/Forums/sharepoint/en-US/8a993fcf-b663-4b67-9ed4-928d26333f37/site-migration-from-moss-2007-to-moss-2010
http://technet.microsoft.com/en-us/library/cc303420(v=office.14).aspx
Also, you can try tools like Sharegate, It will save time & hence money while migration.
Regards,
Jean Paul
Arun kumar said
Thanks a lot
Vishnuvardhan said
Hi Jean
We have InfoPath form configured on sanbox solutions working fine,same was deployed in prod eveveronment but its not working and giving error we are using GetProfileByName method returns a PropertyData array below is the error
Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)
Vishnu said
Hi Jean,
We are pulling the user information from web services avalible to SharePoint Infopath form,We are succeded in Sanbox solution but We are getting the following error in production
InfoPath Forms Services Runtime – Data Connections eq8l Warning The following query failed: GetUserProfileByName , Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)
Please let me know resolution for this issue,Thanks in advance
jeanpaulva said
Hello Vishnu,
You can try the loopback problem here. I faced the same some months back, but for a different scenario.
http://www.k2underground.com/forums/t/14003.aspx
Regards,
Jean Paul
vishnu said
Thanks Jean for the update,
I have one more issue,when the user is going to edit the page from site actions—>edit page is getting the following error,but he has the full control over the site,any idea would be help full…Thanks
Error:Sys.Webforms.PageRequestManagerServerErrorException:An Unexpected error has occured
jeanpaulva said
Hello Vishnu,
In real world, whenever we see such exceptions, we copy the corelation id (GUID) & go to 14 hive LOGS folder, typically it is:
E:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14LOGS
Then we can choose the latest log file (sorted by time) & locate the issue. You can try viewing the error there.
Regards,
Jean Paul
Harshal Yelpale said
What will i have to do run the Event receiver on only one custom list?
jeanpaulva said
While generating event receiver class file through Visual Studio, the list instance id is saved, so – it will only fire for one list. 🙂
Harshal Yelpale said
Thank you very much!!
Venugopal said
Hi Jean,
Hope you are doing good. Could you please help me out what will be expected out in SP administration if one have exp around 4 – 5 years. In which areas, we can probably focus on for preparing the interview?
Hope I will be in touch with you in long run 🙂
jeanpaulva said
Hello Venu,
I am good, thank you for asking, Hope you too the same.
In the sense of 5+ SP Admin, the interview questions will surely contain the following:
Site Provisioning
Permissions Management
Backup/Restore
Convert site to site collection
Site export/import
PowerShell
Word web app provisioning
Excel services configuring
More services
Migration from SP 2007 to 2010, 2010 to 2013
etc.
Regards,
Jean Paul
Venugopal said
Hi Jean,
Could you please clarify me if the backup taken from content_db of SQL can be restored in the Central administration – Also, If the backup taken from CA will be good enough to restore in SQL because I think the content will be the same and have same extensions .BAK?? If no, could u explain what will be the difference?
Thanks in advance
jeanpaulva said
Hello Venu,
The sql backup is just database content, SharePoint backup contains more information than just database, so the .bak files cannot be restored to&from.
In PowerShell, there are separate commands for backup/restore, import/export operations.
Regards,
Jean Paul
srinivasan said
hi i need to install sharepoint 2010 and designer 2010 on windows 8 64 bit os,it is possible?if yes then please explain the steps that i need to follow
jeanpaulva said
Hello Srini,
It should be the same as windows 7 installation.
Please find the link: http://blogs.msdn.com/b/bedwards/archive/2012/08/21/sharepoint-2010-on-windows-8-rtm-with-sql-server-2012-rtm.aspx
Regards,
Jean Paul
venu said
Thanks Jean for your response,
1) Will you please explain me the difference between import/export the site and backup/restore the db … Can importing the site covers the entire data including customizations (eg:-webparts, workflows etc …) , at what situations do admin will go for import/export and backup/restore?
2) If a user deletes a doc mistakenly from the site … what are the possibilities of recovering the doc irrespective of two-stage recycle bin???
jeanpaulva said
Hello Venu,
1) Backup is for a bigger scenario like farm backup including db, configuration settings. Recommended way if bakcup/restore within same environment.
Backing up should be done periodically/incrementally/geographically, so that we can recover from system failures.
Export is for a smaller requirement like moving site between servers. Recommended way in export/import for different environments. The workflows, associations, history tasks won’t be preserved here.
2) If user deletes a document, it should be in the recycle bin. Else, you can recover from the most recent backup.
Regards,
Jean Paul
Regards,
Jean Paul
venu said
Hi Jean,
Could you pls tell me the procedure involved in recovering the doc from content_db?
jeanpaulva said
Use ‘Recover data from an unattached content database’ in central administration from Backup/Restore
Or
1) You can create a new site from the content_db, this is to ensure your existing production site is not hampered.
2) From the newly created site, locate the document & download it.
4) Upload the document to production site.
Regards,
Jean Paul
Venugopal said
Thanks Jean.
Will you please explain me the role of crawl service and how to setup crawl rules in SP? Also, what is expected from Admin in defining the crawl rules from end users? Possibly any real time scenario will helps me a lot …
Thanks …
jeanpaulva said
Hello Dear Venu,
Crawling is the process of a timer job visiting contents of libraries, lists & stroing them for indexing purpose.. Indexing is the second part which create indexes & points to the content location. All these process helps in better & faster information retrieval through Search.
These are the basics an Administrator should know.. If you are targetting 4-5 years experience, i prefer you go through my free book & at least practice the Administration scenarios.
http://www.jeanpaulva.com/?p=3635
SharePoint is very vast & we should be happy in experimenting each scenarios.
Regards,
Jean Paul
Venugopal said
Thanks a ton Jean … Actually am having around 7yrs exp in Infrastructure services for which I nearly spent 4yrs extensively in sharepoint administration … Though my support during those time was very minimal acc (permissions, lists, backup&restore), ‘ve excelled in learning much more as I really find my interest in sharepoint … The above questions were the one which I’d attended few interviews recently and ‘ve failed to answer those 😉 … So, am now again making time in revising/practicing as I really would like to gain hands-on although am now in ‘testing’ domain ….
I really appreciate ur support and would assume the same in long run ….
jeanpaulva said
You are welcome Dear Venu 🙂
Venugopal said
Hi Jean,
Could you please explain abt Webanalytics and SCOM? How as an admin we can use them on daily basis?
jeanpaulva said
Web Analytics in SharePoint 2010 helps in finding the web trends of SharePoint pages, the number of pages most visited, search reports etc. which can be used for future optimizations.
The admin can optimize using Web Analytics – Best Bets, Improve Performance, this won’t be a daily basis, but could be quarterly basis. 🙂
Regards,
Jean Paul
Shreyas said
Hi Jean,
Last week I attended Sharepoint interview and there was one question asked:
Q : How can we copy a List to another List with all its contents. If we update first list, second list should get updated.
Answers given by me : I told it can be done by saving a list as template(by checking copy content flag). But any update in first list will not get updated in second list.
I also told we can write a workflow in SP Designer to copy all the list items.
But Interviewer wanted to do it Out of the Box without SP Designer and VS2010. How is it possible??
jeanpaulva said
Out of the box > Is he asking about ‘Sync to SharePoint workspace’?
Shreyas said
I don’t know. Interviewer just asked me how to do it out of the box without using SP Designer and VS 2010 or any other external tool!!
Shreyas said
Hi Jean,
I have been asked to create a PMO site using SharePoint. Which site I have to choose? Team Site or Publishing site?
Vinay said
Hi Jean,
How can I give access to sharepoint list programmatically based on user job levels?
For Ex: I have user1 with job level 1 and user2 with job level 2. I have two lists List A and List B.
Now I want to give access to user1 only to List A where as for user2 for all Lists.
jeanpaulva said
Hello Vinay,
In this case you have to break the ‘inherited permissions’ in the list level.
Then assign permissions to user1 & user2 respectively (full control, contribute, visitor).
Then, through code impersonate the user1 & user2
Regards,
Jean Paul
Vinay said
Hi Jean,
Thanks for your quick reply.
But I want to do it programmatically b,coz tomorrow if I add the user for ex user 3 and assign him job level 1 then he should automatically have access to list 1 without anyone adding him to the site.
jeanpaulva said
Then you have to use the SPList.RoleAssignments property to add users.
Please refer the code here >> http://stackoverflow.com/questions/358647/programatically-add-user-permission-to-a-list-in-sharepoint
I wanted you to understand the owners/members/visitors groups & fullcontrol/readwrite/read permission levels
http://technet.microsoft.com/en-us/library/cc288074(v=office.14).aspx
shreyas said
Hi Jean,
I have a list called Clients where I have items with columns Client and Project,
For Ex : Client Project
Test1 Desc1
Test2 Desc1
Test1 Desc2
Now I have another List called Requirement with few columns.
In this Requirement list, I want to bring Client and corressponding Project both in dropdowns (so that while creating requirement they can select client and its corresponding available projects) while creating new item for this list!!
How can it be done??
Regards,
Shreyas
jeanpaulva said
Hello Shreyas,
You can add a new column of type ‘lookup’ & specify the client list & property.
There you should be able to select the client name.
Regards,
Jean Paul
Vinay said
Hi Jean,
I have a Requirement list with Requirement title, Client, Project, Priority and Date created as columns.
Priority is a choice column with RED/AMBER/GREEN choices.
I want to create a pie chart out of this list showing RED/AMBER/GREEN slices.
I tried using chart web part. But my Y axis always Date and also I select Requirement tile as x axis and grouped by priority, I am not getting the desired graph.
What can I do? Am I missing something?
jeanpaulva said
Hello Vinay,
You can view this Pie Chart example.
http://office.microsoft.com/en-us/sharepoint-server-help/sharepoint-lists-vi-exciting-ways-to-display-your-list-data-RZ102425636.aspx?section=4
Regards,
Jean Paul
imran said
hai jean i want learn sharepoint please suggest me how to start my career in sharepoint right now i am a .net developer
jeanpaulva said
Hello Imran,
Welcome to the world of SharePoint!
You can move in the way installation > user view > administration > developer.
‘Interest’ is the key to ‘Love’ SharePoint.
All the Best.
Regards,
Jean Paul
Bhasker said
Hi Jean,
User has a task assigned through a Feedback Workflow from SharePoint. The link to documents and the link to “Open this Task” are from the task assignment in Outlook. When he opens the task and clicks the “Send Feedback” button, he is getting an error from Microsoft Outlook that says “This task cannot be updated at this time” – with an OK button only
I found the error in logs “This task is currently locked by a running workflow and cannot be edited” error.
Please help me in this.
Regads,
Bhasker
jeanpaulva said
Hello Bhasker,
Seems like an InfoPath issue, according to my search.
http://support.microsoft.com/kb/970199
Regards,
Jean Paul
Venugopal said
Hi Jean,
Could you please explain me briefly about
1) List Throttling
2) Orphan Pages
3) How to configure search?
jeanpaulva said
Hello Venu,
1) List Throttling about settings for managing huge lists.
http://blogs.technet.com/b/speschka/archive/2009/10/27/working-with-large-lists-in-sharepoint-2010-list-throttling.aspx
2) Orphaned pages/sites occurs randomly/configuration/migration outcome. They will be site/page with no parent/child relationship. You can delete the links through navigation menu OR delete the sites through powershell/c#.
3) Configuring search is a big topic, i recommend you to read my book especially content sources, keyword, crawling areas.
Regards,
Jean Paul
Shreyas said
Hi,
How can i display a list in Main Site which is present in a subsite out of the box??
Constraint is I can neither use SP Designer nor any custom coding nor any javascripts.
I tried Content Query webpart. I am able to show only 4 columns. I want to show all columns!!
jeanpaulva said
Hello Shreyas,
You can use the Content Query Web part, set the list of subsite, in the presentation separate fields by semicolon, for multiple column display.
Regards,
Jean Paul
Shreyas said
Hi Jean,
I tried but it does not work. It always shows only the first column in that field.
jeanpaulva said
You can try modifying the XSL >> http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx
seru said
Can you please explain me . How to do branding a site by using master page with screen shoots please.
(Logo+Image+ header+heading+ Article +aside article+bot am….
Thank you.
jeanpaulva said
Hello Seru,
SharePoint Branding is an extensive topic & i prefer you purchase one of the following book & learn.
http://emailerr1.com/sharepoint+2013+branding+and+user+interface+design+ebook.html
Regards,
Jean Paul
Arun kumar said
I would like the site to generate an email when I assign an action items to someone. The email should say something like: First Name, You have an action item assigned to you by “Source” for “Title”. Please click on this link to review more information “Provide link to the action Item”.
There will be a due date, the system should send an automatic reminder 1 reminder a week, until the action item is closed.
How to create this workflow using share point designer 2007, Any help/thoughts will be appreciated
jeanpaulva said
Hello Arun,
You can use the Alerts feature along with Tasks list. It will automatically send emails & reminders to the assigned user.
If you still wanted a workflow, you can use a combination of Email, Delay activities to achieve the same.
Regards,
Jean Paul
Arun kumar said
Hi, Thanks for replay jean
I want a workflow,
I would like the site to generate an email when I assign an action items to someone.
There will be a due date, the system should send an automatic reminder 1 reminder a week, until the action item is closed.
My challenge is how to handle updates to the item when the workflow is already in progress (item changes do not affect the running workflow). Essentially, I need to cancel the workflow when an item is changed and then kickoff the new workflow.
Is it possible to create this type of workflow using SharePoint Designer 2007.
Any help/thoughts will be appreciated.
Vinodh said
Hi Jean,
Currently i am working with sequential workflow for three level. For sequential workflow using Visual studio 2010 you have any books with examples ?
Thanks,
Vinodh
jeanpaulva said
Hello Vinodh,
You can refer this book > http://www.jeanpaulva.com/?p=3635
Regards,
Jean Paul
Vinodh said
I have an two level sequential approval workflow setup. The workflow runs correctly, however when I look at the workflow status, I recive an error after the task has been approved and completed.
Event Type:Error
User ID: System Account
Description:An error has occured in [name of workflow]
Any help/thoughts will be appreciated.
Thanks,
Vinodh
jeanpaulva said
Hello Vinod,
You can check the 14 hive logs for the error details.
Regards,
Jean Paul
Hari said
Hi Jean,
I am new to sharepoint environment,i got a chance to work on sharepoint 2010 project,i want to know how to maintain coding standards.
Regards,
Hari
jeanpaulva said
Hello Hari,
For SharePoint 2010 you can use Server Object Model for programming. It requires much learning & practice to start with SharePoint. Have your boss not given enough time? You can refer my free ebook here..
Regards,
Jean Paul
Vinodh said
Hi jean,
How to get current logged in user in Workflow.
i have tried follwoing
SPUser user = workflowProperties.OriginatorUser;
SPUser user = SPContext.Current.Web.CurrentUser;
SPWeb web = SPContext.Current.Web;
SPUser user = web.CurrentUser;
SPContext.Current.Web.CurrentUser.LoginName;
But everything failed. Any help/thoughts will be appreciated
Thanks,
Vinodh
jeanpaulva said
Hello Vinodh,
You can try HttpContext.Current.User.Identity.Name;
Regards,
Jean Paul
Joby Joseph said
Hi Jean,
You are doing a great job, thanks for the inspiration to learn Sharepoint.
jeanpaulva said
Hei Joby..
Thank You for the good words..
You can also try learning & sharing everyday & become MVP! 🙂
Regards,
Jean Paul
sowjanya said
Hi JEAN,
i am facing an error.
when user is trying to upload a document in library .he is getting like unauthorized error.
he is having Contributer permissions.
Can you plz help me
Thank you,
Sowjanya.
jeanpaulva said
Hello Sowjanya,
What is the type of document (extension)?
Have you ensured permission in library level too?
Can you check your ULS Log using corelation id?
Regards,
Jean Paul
Sumit said
Hi Jean,
Do you have any eBook or a any article on Power shell commands?
If yes then please share with me. I want to gain some knowledge on Power shell commands.
Thanks and Regards
Sumit
jeanpaulva said
Yes Sumit.. I think following link is a good one..
Plus, you can find some scripts over here..
http://www.sharepointcto.com/PowerShell/PowerShell.aspx
Sumit said
Thanks a lot jean!!..:)
ANURAG said
Hello Jean
Today i will order the book.
But is the foster project same in the book also or there is in the hardcopy book some other example also given
ANURAG said
Hello Jean
is there any live project in the hard copy of the book except foster?
Thanks,
Anurag
Sumit said
Can we use library content type for list or vice versa in particular site collection or any other site collection in SharePoint 2010 ?
Sumit said
Hi Jean,
I hope u r doing good.
I have to learn about SharePoint Administration as in Type of SharePoint Farms.
Do u have any article on it. If yes then please share it with me.
I can easily understand your article.
Your effort is highly appreciated 🙂
Thanks and Regards
Sumit
jeanpaulva said
Hello Sumit,
There is a book having Administration topics.
You can get it here: http://www.jeanpaulva.com/?p=3635
Regards,
Jean Paul
Sumit said
Hi Jean,
Can you please answer me if we are upgrading from SP 2007 to SP 2010. And we want that Users must be able to access all documents during the upgrade process.
I found the answer that we can do this with alternate access mapping URL redirection. I am not sure that this answer is correct or not. If yes please provide the reason that how can we do so.
Thanks and Regards
Sumit
Sumit said
Hi Jean,
Can you please tell me the approach to determine which web part is causing error on my site, If there are more than one web part present site ?
Your effort is highly appreciated
Regards
Sumit
Ranjana Singh said
Hello sir , I m trying to click above link but get error resource remove plz help me out. Thanks