Tag: SharePoint 2010
-
Install-SPSolution, Add-SPSolution and Update-SPSolution return error: not supported with version 4.0.30319.269 of the Microsoft .Net Runtime.
Just tried to install a soliution, and I received the error: Install-SPSolution : Microsoft SharePoint is not supported with version 4.0.30319.269 of the Microsoft .Net Runtime. I just installed the new PowerShell 3.0. To fix, launch a new powershell with -Version 2, and then run your command again: powershell -version 2 That is what I…
-
How to find the pid of your SharePoint site in Windows server 2008 (for Visual Studio attaching to w3wp.exe)
C:\Windows\system32\inetsrv\appcmd.exe list wp
-
Sharepoint 2010 URL for a Calendar’s Week and Month Views
This may be a post for myself, and everyone may already know this, but I couldn’t find it quickly in a google search. I wanted to have a link to the “Week” view of a SharePoint 2010 calendar, but could not find the parmters to pass. Here they are: ?CalendarPeriod=week ?CalendarPeriod=month ?CalendarPeriod=day And to have…
-
How I went about creating two related lists using JavaScript, Client Object Model and SharePoint 2010-Part3
This is the final part of these previous, posts. They setup everything (I hope) so give them a quick peak. At this point we have the following: We are editing a “new” meeting item in the MeetingList’s EditFrom.aspx page We have a modal dialog box open that contains the AttendeeList’s NewForm.aspx A QueryString has been passed to the modal…
-
How I went about creating two related lists using JavaScript, Client Object Model and SharePoint 2010-Part2
In Part1, I talked about how I wanted to relate items in two lists using the ID of an item in the first list. The setup for this article is here, hopefully it makes sense. At this point, I have a MeetingList item that I am editing, and the ID of the current item is…
-
How I went about creating two related lists using JavaScript, Client Object Model and SharePoint 2010-Part1
I was struggling with how I could create two lists in SharePoint 2010 that were related. Scenario: Let’s say that you want to have a list of meetings (we will call it MeetingsList), with each meeting having the potential of unlimited number of attendees. How can I do this in SharePoint? It is not possible…
-
How I am using a Delegate control, code in a Document library, and jQuery to customize SharePoint 2010
In this post, I showed how to put a delegate control at the top over every page, and in the control add the links to the jQuery libraries. This is nothing new, there are many articles that show how to do this. I took this a step further and I included code to do the…
-
How to add custom JavaScript code to all SharePoint 2010 pages (DelegateControl)
As I said in this post, there are plenty of articles on how to do this. This is more of a note for myself, as I have to “re-learn” this every time I need to customize SharePoint. There are 2 ways (that I know of) that you can add code to every page in SharePoint…
-
‘b’ is null or not an object
This is a reminder to my self that this blog post has the solutoin to the “b” error when working with the Client Object Model. Basically I need to change this: createDelegate(this, this.onSuccessMethod) to this: createDelegate(this, onSuccessMethod)
-
Move the “Add new item” to the top of a list page in SharePoint 2010
We did not like how SharePoint 2010’s “Add new item” was on the bottom of the page. we wanted to move it to the top. The following jQuery code moves it to the top of the page: $(“#s4-mainarea”).prepend($(“td.ms-addnew”)) hope that helps someone.
