Category: SharePoint-2010
-
Delete orphaned SharePoint Service Application Pool
Get-SPServiceApplicationPool | select id, name Remove-SPServiceApplicationPool -Identity "UserProfileServiceApplicationPool"
-
Some farm products and patches were not detected on this or other servers. Install missing patches.
When running the SharePoint products configuration wizard, you get this screen: One useful link that I referred to: http://njbblog.blogspot.com.au/2014/03/sharepoint-server-or-project-server.html
-
Basic Zone Area using SharePoint Designer–2007/2010/2013/O365
<WebPartPages:WebPartZone runat="server" ID="x0e5f5212505f48a9aac43df13eeae4f9" Title="Section 3" AllowCustomization="True" AllowPersonalization="True" PartChromeType="None"><ZoneTemplate></ZoneTemplate><!–webpart here–></WebPartPages:WebPartZone>
-
Excel Service Configuration & OData access
Verify Application Pool. Get-SPServiceApplicationPool | Select Name Get the existing Application Pool. $SvcAppPool = Get-SPServiceApplicationPool "SvcApp_SPServiceApplicationPool_01" If you are creating a new application pool: Determine which service account you will use to run the application pool that will be assigned to the. If you need to, create and register a service account to run the…
-
Assign date as a string to SharePoint’s DateTime type field
If you want to assign date as a string to SharePoint’s DateTime type field then you must format this string as an invariant date. The following line of code explains better what I mean. item["MyDate"] = DateTime.Now.ToString(DateTimeFormatInfo.InvariantInfo); If you guarantee that dates are in invariant format then you have no problems when assigning values to…
-
Calling a function from SP.JS (Open word document directly using client application)
When calling a function from SP.JS during the page load, just make sure that you allow the page to load before you call any method, otherwise you will get undefined error. in my case, I was trying to open a word document using the function “editDocumentWithProgID2” defined in SP.JS as below: <script type="text/javascript"> $(function…