Suppose the Share Point ListField DateTime Field needs to update programmatilcally as default value as Today . Below is the code for the updating Today as the Default Value. using (SPSite site = new SPSite(“http://Sitename/”)) { using (SPWeb web = spsiteObj.OpenWeb())   { SPList list = web.Lists[“list”];      Guid id=list.ID;      SPField dateTime = list.Fields[“dateTimeField”];

Read More
How to update a SharePoint DateTimeField default value as ‘Today’

After installing SharePoint, you start noticing some health warnings in Central Administration which tell you that you shouldn’t use built-in accounts for application pools or service identities. For SharePoint 2013, 2 of the services which you will find running typically under a built-in account are: SharePoint Tracing Service (SPTraceV4) Distributed Cache Service (AppFabricCachingService) It’s actually pretty easy to

Read More
Change Service Identities for SPTraceV4 and AppFabricCachingService

I’m sure we all have our own stories about how we “fell” into the SharePoint-verse. Perhaps your employer decided to make the switch and your job title suddenly expanded to include “SharePoint Administrator/Architect/Developer”; you were considered “computer savvy” and you were recruited by your company to help with the SharePoint transition; or your role was

Read More
I Needed a Job so I Learned SharePoint: or Why I Went Over to the Dark Side

Here is a Powershell Script to that deploys a WSP and activates a SharePoint feature $solutionName=”solutionname.wsp” $featureName=”featurename” $SolutionPath=”C:\wsp\”+$solutionName if($args[0] -eq ‘DEV’) { $webAppName=”http://url” } elseif ($args[0] -eq ‘QA’) { $webAppName=”http://url” } elseif ($args[0] -eq ‘PROD’) { $webAppName=”http://url” } else { Write-Host “$(Get-Date -Format o) Environment not specified – please pass appropriate environment to deploy -”

Read More
How to deploy a WSP and activate a SharePoint Feature with Powershell