Tech blogger and problem solver, I share hands-on experiences, insights, and practical solutions to real-world technical challenges. Backed by strong expertise in Microsoft technologies — including Power Platform, SharePoint, Azure, RPA, Copilot, AI/GenAI agents, and Python automation — I write about the issues I encounter in my day-to-day work and how I solve them. My goal is to support others in overcoming similar roadblocks and and make a meaningful contribution to the tech community.
Thursday, September 6, 2012
http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx
Web Services/Object Model
Available
with SharePoint 2007:
§ Administration
§ Alerts
§ Authentication
§ Data
Retrieval
§ Permissions
§ Sites
§ Search
§ People
and Profiles
§ Workflow
New
with SharePoint 2010:
§ List
REST access with ADO.NET Data Services
§ Excel
Services REST access
§ Client
Object Model
§ WSRP
(v1.1) Consumer Web Part
Monday, April 16, 2012
Need to know as sharepoint developr
You will find discussion topics for ASP.net, C#, JQuery, AJAX, SQL, VB.net, .Net Framework, WCF, WPF, WWF, WSS 3.0,MOSS 2007, OOPs Concepts, SQL Server, Programming.
Thursday, April 5, 2012
stsadm Operations:
Operations:
activatefeature
addalternatedomain
addcontentdb
addpath
addpermissionpolicy
addsolution
addtemplate
adduser
addwppack
addzoneurl
authentication
backup
backuphistory
binddrservice
blockedfilelist
canceldeployment
changepermissionpolicy
copyappbincontent
createadminvs
creategroup
createsite
createsiteinnewdb
createweb
databaserepair
deactivatefeature
deleteadminvs
deletealternatedomain
deleteconfigdb
deletecontentdb
deletegroup
deletepath
deletepermissionpolicy
deletesite
deletesolution
deletetemplate
deleteuser
deleteweb
deletewppack
deletezoneurl
deploysolution
deploywppack
disablessc
displaysolution
enablessc
enumallwebs
enumalternatedomains
enumcontentdbs
enumdeployments
enumgroups
enumroles
enumservices
enumsites
enumsolutions
enumsubwebs
enumtemplates
enumusers
enumwppacks
enumzoneurls
execadmsvcjobs
export
extendvs
extendvsinwebfarm
forcedeletelist
getadminport
getproperty
getsitelock
getsiteuseraccountdirectorypath
geturlzone
import
installfeature
listlogginglevels
listregisteredsecuritytrimmers
localupgradestatus
managepermissionpolicylevel
mergecontentdbs
migrategroup
migrateuser
monitordb
osearch
osearchdiacriticsensitive
patchpostaction
provisionservice
quiescefarm
quiescefarmstatus
refreshdms
refreshsitedms
refreshsitemap
registersecuritytrimmer
registerwsswriter
removedrservice
removesolutiondeploymentlock
renameserver
renamesite
renameweb
restore
retractsolution
retractwppack
scanforfeatures
setadminport
setapppassword
setconfigdb
setlogginglevel
setproperty
setsitelock
setsiteuseraccountdirectorypath
setworkflowconfig
siteowner
spsearch
spsearchdiacriticsensitive
syncsolution
unextendvs
uninstallfeature
unquiescefarm
unregistersecuritytrimmer
unregisterwsswriter
updateaccountpassword
updatealerttemplates
updatefarmcredentials
upgrade
upgradesolution
upgradetargetwebapplication
userrole
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsa
dm -o retractsolution -name ".wsp" -url "server name" -immedi
ate
Timer job successfully created.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsa
dm -o retractsolution -name "Wsp" -url "server name" -immedi
ate
Timer job successfully created.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsa
dm -o addsolution -filename "D:\NV4.3\XPoint\XPointBase\XPointBase\bin\Debug\xpo
intbase.wsp"
Operation completed successfully.
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>stsa
dm -o deploysolution -name ".wsp" -url "server ame" -immed
iate -allowgacdeployment
Timer job successfully created.
Wednesday, April 4, 2012
Multiple cases
Switch (value)
{
case 1: case 2: case 3:
// Do Something
break;
case 4: case 5: case 6:
// Do Something
break;
default:
// Do Something
break;
}
Tuesday, March 13, 2012
Create a list, columns and view programmatically
Create a list, columns and view programmatically
Next task on my prep – create a list programmatically. Then I want to add some columns to it, and show these on the default view. Actually, it’s mostly pretty easy (apart from that last part).
Well, creating a list is pretty easy.
SPSite siteCol = new SPSite(@"http://vm-moss2007/test/");
SPWeb site = siteCol.OpenWeb();
site.Lists.Add("New Calendar", "This calendar was created programmatically", site.ListTemplates["Calendar"]);
Here you can see me getting an SPWeb object, and then adding to itsSPListCollection. You have to supply a template for the list, and this depends on the templates available on the site – hence getting the template from theSPListTemplateCollection.
I wanted a custom list, and I wanted it to appear on the left navigation:
site.Lists.Add("My Custom List", "This list was created programmatically", site.ListTemplates["Custom List"]);
SPList newList = site.Lists["My Custom List"];
newList.OnQuickLaunch = true;
newList.Update();
Great! And now I want to add some columns. First I added a text column:
newList.Fields.Add("NewText", SPFieldType.Text, true);
And then a lookup column (as I figured this would be a hard one):
SPList targetList = site.Lists["My Lookup Target"];
SPField targetField = targetList.Fields["My Target Lookup Column"];
newList.Fields.AddLookup("NewLookup", targetList.ID, false);
SPFieldLookup lkp = (SPFieldLookup)newList.Fields["NewLookup"];
lkp.LookupField = targetField.InternalName;
lkp.Update();
First I get the target list and the target field for the lookup. I add a new lookup column, but for some strange reason none of the SPFieldLookup class’s constructors allow me to create one supplying a target list and column. Also, none of the SPFieldCollection’s methods allow me to add a lookup supplying a target column.
Thus, I end up getting the column I’ve just created and assigning the column that I want use as the value of the lookup. Crazy. I’m sure that there must be a better way of doing this (i.e. in one call) but I don’t see how.
Anyway, it works; my columns are added. Now I want to show them in the default view:
//*** Doesn't work for some obscure reason ***
newList.DefaultView.ViewFields.Add("NewText");
newList.DefaultView.ViewFields.Add("NewLookup");
newList.DefaultView.Update();
As the code subtly hints, this code didn’t work – my columns weren’t shown in the default view. However, the code below does work:
SPView view = newList.DefaultView;
view.ViewFields.Add("NewText");
view.ViewFields.Add("NewLookup");
view.Update();
Friday, March 9, 2012
"Column Limit Exceeded"
Just run these power shall commands
By Default MaxListItemRowStorage =6
$webApp = Get-SPWebApplication servername
$webApp.MaxListItemRowStorage = 8
$webApp.Update()
Thursday, March 8, 2012
SharePoint Web Application vs Site Collection vs Site vs Sub site
SharePoint Web Application vs Site Collection vs Site vs Sub site
Lately I'm playing a lot with WSS and MOSS. It wasn't really clear for me what the difference is between a web application, a site collection, a site and a sub site. This is what I found out. On top of the hierarchy is the web application. In technical terms, this is a web site in IIS (with an application pool associated). A web application needs to have at least 1 Site Collection. The Site Collection is the root site of the web site. Below the Site Collection, there can be one or more Sites. And a Site can contains sub sites.
An overview:
1. Web Application
1.1 Site Collection (SPSite)
1.1.1 Site (SPWeb)
1.1.2 Site (SPWeb)
1.2 Site Collection (SPSite)
1.2.1 Site (SPWeb)
1.2.1.1 Sub Site (SPWeb)
1.2.1.2 Sub Site (SPWeb)
The words between ( ) are the objects of the SharePoint API.
Backup
You cannot backup a web application from within SharePoint. But what you can do is save the configuration in IIS.
With stsadm.exe -o backup -url <site URL> -filename <filename> you can create a backup of a site and all sub sites. And you can restore it with stsadm.exe -o restore -url <site URL> -filename <filename>.
As far as I know there is no built-in option to backup or restore a sub site of SharePoint.
Web Applications
In my case I created three web applications. One for my private SharePoint, one for my blog (new blog soon) and another which allows anonymous access, but IP-filtered. Because each web application of SharePoint is a web application in IIS, you can setup all the security properties of IIS, like IP-based security.
Friday, January 6, 2012
Subscribe to:
Posts (Atom)
How to Deploy Your HTML Website on a Linux Server (Apache + SFTP)
Launching a simple HTML website on your own Linux server is easier than you might think. Whether you're sharing a static landing page or...
-
AI Builder is an add-on for the Power Platform that enables AI-powered automation within Power Apps and Power Automate . It provides pr...
-
Forget Naukri, Upwork, Fiver, and Indeed These are overcrowded... Here are 30 Websites for job seekers to check out in 2025! 🏷Save this ...
-
• SharePoint REST service architecture-2013 SharePoint 2013 introduces a Representational State Transfer (REST) service that is compar...