Tag Archives: design

SharePoint JavaScript – Page Load Add function: _spBodyOnLoadFunctionNames

Do you need to add a Javascript method at Page load in a SharePoint content page? Here’s the perfect solution –

http://raamspeaks.wordpress.com/2010/05/27/sharepoint-javascript-%E2%80%93-page-load-add-function-_spbodyonloadfunctionnames/

Thanks to Raam’s Blog

Advertisements
Tagged , , , , , , , , ,

Getting the Current User Name or ID in SharePoint using SharePoint Designer (no code)

So there I was, a project purely to be developed without code, a former coder’s worst nightmare! I came across a slight issue where I needed to allow certain users access to edit fields on a form and others to view. The following article helped a bundle:

 http://blogs.msdn.com/b/joshuag/archive/2008/06/03/getting-the-current-user-name-or-id-in-sharepoint-using-sharepoint-designer-no-code.aspx?Redirected=true

It was written for SharePoint Designer 2007 but still applies for 2010 🙂

Thanks to Josh Gaffery …

Tagged , , , ,