Author Archives: Cengizhan Dündar

Pre-Populate People Picker Value With Current User

Here is how you can set the current user into a person/group field for example on a NewForm.aspx page. All you need is JQuery and a Content Editor Web Part (CEWP) on the NewForm.aspx page. Just change the name of your People Picker field in line 4 below.

SharePoint Url Query Parameters

Today I’m posting some useful URL query parameters for SharePoint: Web Part Maintenance Page http://siteUrl?contents=1 User Information List http://SC-Url/_catalogs/users/simple.aspx http://SC-Url/_catalogs/users/detail.aspx Open Page in edit mode http://siteUrl?ControlMode=Edit&DisplayMode=Design Quick Deploy List (Hidden) http://SC-Url/Quick%20Deploy%20Items/AllItems.aspx Taxonomy List (Hidden) http://SC-Url/Lists/TaxonomyHiddenList/AllItems.aspx Nintex Workflow History List (Hidden) http://SC-Url/Lists/NintexWorkflowHistory/AllItems.aspx Get the version of the SharePoint server http://SC-Url/_vti_pvt/Service.cnf Save site as a template http://siteUrl/_layouts/savetmpl.aspx […]

OfficeWebApp “Ribbon.Read” has not been made available for this page or does not exist

If you receive following error: “The Ribbon Tab with id: “Ribbon.Read” has not been made available for this page or does not exist.” while trying to create a new office document by clicking new document and selecting one of the office documents: Then you should try to rebind your SharePoint WOPI bindings to your OfficeWebApp […]

Adieu InfoPath:-(

Microsoft announced that they’re retiring the development of the product InfoPath. No new version of InfoPath will be released in the future. So the last version is InfoPath 2013. But Microsoft is investing effort in a new forms technology which will better integrate SharePoint, Access and Word. MS Office Blog Post So what about product […]

PowerShell Error: Microsoft SharePoint is not supported with version 4.0.30319.1008 of the Microsoft .Net Runtime

For some reason I got following error as I tried to run a PowerShell command: “Microsoft SharePoint is not supported with version 4.0.30319.1008 of the Microsoft .Net Runtime.” Luckily this one was already documented by Microsoft in following KB article: http://support.microsoft.com/kb/2796733 To work around this issue, change the Target field value for SharePoint 2010 Management […]

Clear SharePoint System Cache

If you have trouble with e.g. your SharePoint Workflow Timer Job, which seem to stuck in state “Running” for many hours, then it might be helpful to clear the file system cache on your frontend servers. To do so, follow the steps below on all of your servers, which are running the Windows SharePoint Services […]

Timeout When Publishing InfoPath Form Template

When you ever run into a timeout issue when publishing large InfoPath forms to the server, then you should add/change some parameters in the web.config of the SharePoint WebApplication. Usually this file is located here: C:\inetpub\wwwroot\wss\VirtualDirectories\<Portnumber> Make sure that you make a backup of this file before you change anything in there. … … maxRequestLength […]

InfoPath 2010 Get Manager Of Current User

Displaying the current user in an InfoPath 2010 form is not that tough, but how about the manager of the current user? Well in this post i will show you how you can do that with rules and a SharePoint web service. First of all put 2 fields of type Person/Group Picker into your form. […]

SharePoint / Nintex Workflow Status Codes

Here are the SharePoint workflow status codes which you can reference in SharePoint to filter your list/library view or use them in the workflow itself. 0 = Not Started 1 = Failed on Start 2 = In Progress 3 = Error Occurred 4 = Canceled 5 = Completed 6 = Failed on Start (retrying) 7 […]

Activate Publishing Feature With PowerShell

Maybe you also struggled about this, too. Trying to activate the SharePoint Publishing feature results in an error and it’s not possible to activate it over the SharePoint UI. In this case the PowerShell script below will do the activation. The script will also update a property of the web, indicating that the feature is […]