Geeks With Blogs
Wayne Magnum's Blog SharePoint 2010
SharePoint Password Recovery
Below is the powershell Script to recover SharePoint passwords.
&$env:windir\system32\inetsrv\appcmd.exe list apppool "SharePoint Central Administration v4" /text:ProcessModel.Password

Posted On Wednesday, January 23, 2013 2:30 PM

Access BCS Data via C#
The below code snippet allows for access BCS data via C#SPFarm farm = SPFarm.Local;SPServiceProxy... spc = farm.ServiceProxies;BdcServ... sap = (BdcServiceApplicationProxy)( (from sp in spc where sp.TypeName.Equals("Business Data Connectivity Service") select sp).First().ApplicationProx... catalog = sap.GetDatabaseBackedMetada... IEntity ect = catalog.GetEntity("WPI.Shar... "ProjectDataEntity");ILobSy... ......

Posted On Tuesday, January 22, 2013 1:31 PM

JQuery Add New Item to SPList
<div> <p> Task Title: <input id="Text1" type="text" /> <input id="Button1" type="button" value="Create Task" /> </p> </div><script src="http://ajax.googleapis... <script> $(document).ready(function () { $("#newTaskButton").click(f... () { CreateNewItem($("#newTaskTi... }); }); function CreateNewItem(title) { var batch = "<Batch OnError=\"Continue\"> \ <Method ID=\"1\" Cmd=\"New\"> ......

Posted On Monday, July 23, 2012 12:52 PM

Export HTML Table to Excel with JS
<html xmlns="http://www.w3.org/19... runat="server"> <script Language="javascript"> function TableToExcel() { var strCopy = document.getElementById("de... window.clipboardData.setDat... strCopy); var objExcel = new ActiveXObject("Excel.Applic... objExcel.visible = true; var objWorkbook = objExcel.Workbooks.Add; var objWorksheet = objWorkbook.Worksheets(1); objWorksheet.Paste; } function exportToExcel() { var oExcel = new ActiveXObject("Excel.Applic... ......

Posted On Monday, July 16, 2012 3:56 PM

SharePoint Search Server 2010 Error
I was experiencing the below error message. While searching the internet and poking around on my SharePoint farm for a possible solution to the error i was able to find the below solution. Error: The mount operation for the gatherer application [GUID] -crawl-0 has failed because the schema version of the search gatherer database is less than the minimum backwards compatibility schema version supported for this gatherer application. The database might not have been upgraded. Solution: Go to the Central ......

Posted On Thursday, September 29, 2011 9:41 AM

Copyright © Wayne H Magnum | Powered by: GeeksWithBlogs.net | Join free