Posts tagged SharePoint

SharePoint 2010 – Creating a Content Query Web Part (CQWP) Link Target

0
When you setup a CQWP and point to a Links List it allows you to define a few fields of data in the output: 'Title' and 'Link' (unless you have an image as part of your link). This is fine, however we also want to provide a target value. I'm sure there's way to hack at the webpart and do something creative with the XSL, however I've come up with a much simpler method using a calculated field.

Customizing the SharePoint 2010 Welcome Menu (PersonalActions)

2
Creating a CustomAction is pretty easy, you just need to identify the GroupId and Location of the menu you wish to modify and then you're good to go. You even have a simple function called a URLAction where you can direct people to page when they click on your custom action. What isn't so obvious is if you actually wanted your application page to popup in a modal view. Here is the code I used to get this done.

Sharepoint Security: Minimum Rights Required to Check SPBasePermissions

1
Recently I was tasked with securing an ASP Button on our Sharepoint 2010 portal using C#. What we needed was to check and see if the SPContext.Current.User had specific rights to an SPList, then display the button if they did.

Adding an ‘Up Folder’ button to a SharePoint 2010 List View Webpart

20
Why oh why did Microsoft remove the button to navigate up within a SharePoint 2010 document library? Luckily someone took action on this issue back in 2008 when they noticed it was mising from SharePoint 2007 however their code is only applicable to SharePoint 2007. Here is a 2010 Version.

Embedding a PDF Object in a SharePoint 2010 Web part using C#

3
Recently I was assigned the task of displaying a PDF in a SharePoint Web part. I figured it’d be easy enough to display it in an iframe or simply embed it on the page, but unfortunately my assumption couldn’t have been further from the truth.

SharePoint 2010 Discussion Board Alternative

0
An ongoing project of mine is to create a SharePoint portal for my company that not only supports the concepts of knowledge management, but also provides a framework to support business process management. The topic of a discussion board/forum actually crosses into both areas. Whilst there is a large component focused on internal collaboration, there is also a valuable process from a human resources perspective, on how to share that information throughout the organization.

Export Gridview to CSV in a SharePoint 2010 Webpart

3
I was recently tasked with creating a Gridview in a SharePoint 2010 Webpart. In addition to assigning data to the Gridview, I also needed to create a way to export the data. The code to export to Excel was working, but with ugly user prompts. so I went with CSV. Here's the code...
Go to Top