Tag: SharePoint 2010
-
A better jQuery selector to hide a row in a SharePoint 2010 Edit Form
In the past, I had used this code to hide a row in a SharePoint Edit Form (EditForm.aspx): The problem with this is that if you have two fields that contain the text “Attendees” (For example “NewAttendees” & “OldAttendees”), then it matches both of them (this always seems to to be an issue for us).…
-
Using jQuery to change to the Items tab in a SharePoint 2010 list.
In my last post, I showed how to use a query string parameter to start a user out on the items tab of a SharePoint list. This is well documented, I just can’t seem to remember it (that is why I posted it!). I wanted to take it a step further and use jQuery to…
-
How to default to the Items tab in a SharePoint 2010 List
I wanted users to see the “Items” tab when the landed on a SharePoint 2010 list, rather than the “Browse tab”. The quick solution was to modify the link that points to the list, and append:
-
Replace the New Item button on a SharePoint 2010 list with jQuery
I have a SharePoint 2010 Business Data Catalog (BDC) pointing to our MS CRM 20111 back end. This is a good way to show paged views of the database. But at the top, there is still a “New Item” button. This does not make much sense for a BDC (or External list) without update queries.…
-
SharePoint 2010: How to access check permissions if site was not mounted with UpdateUserExperience
I am working with a site where we could not UpdateUserExperience when moving to 2010. I wanted to check a users permissions, but the icon was missing. To check a users permissions in 2010 with out an updated user experience, you visit : /_layouts/chkperm.aspx
-
PowerShell command to allow inline PDF viewing in SharePoint 2010
My users like to view PDFs in their browser on our SharePoint site. I needed to allow this in 2010: Here is the powershell to allow inline PDF viewing in SharePoint 2010
-
Using jQuery to add a new item to the breadcrumbs at the top of a SharePoint 2010 site.
I wanted to add a bread crumb item to a sub site that pointed back to the home page. This is the jQuery code I used to insert it. This code also aadds the little arrow divider
-
PowerShell 3: Invoke-WebRequest vs Invoke-RestMethod and a SharePoint 2010 list with more than 1000 entries
When using Invoke-RestMethod with a SharePoint 2010 list and ListData.svc, it returns an “System.Xml.XmlElement#http://www.w3.org/2005/Atom#entry” object. Not sure why, but the end result is that you can’t get access to the “rel=next” url, or am I doing something wrong? I had to use Invoke-WebRequest and then take the Content and put it in an XML variable,…
-
SharePoint 2010 modal dialog (showModalDialog) without an existing page
I was retrieving Activity data from a Microsoft CRM 2011 REST query. I wanted to have a popup with more information. I decided to use the built in showModalDialog. The problem was that all the examples I found showed how to popup an existing page. I wanted the modal to contain data that didn’t exist…
-
PowerShell script to backup all SharePoint 2010 lists in all webs in all sites
More backups the better. I wanted a file level backup of every list. Below I used PowerShell to iterate through all the lists on the server and dump them into a folder
