Category: SharePoint
-
Start Visual Studio form PowerShell
I am moving on to a new project – our migration from SharePoint 2007 to 2010. First thing I wanted to do was to upgrade my Solutions/Features from 2007 to 2010. I installed Visual Studio and started looking at how to recreate my Delegate JQuery Control (more on that later). The first thing I found annoying…
-
Reporting Services report from related data in SQL and a SharePointList via SSIS
This is an older project that I wanted to talk about. I worked on this last June. It was a longer post, so i procrastinated. I wanted to create a “mash up” of data from a SharePoint List and a set of SQL tables. I tried several things, somehting that should be easy, was not…
-
Pseudo workflow approval with out SharePoint Workflows.
I wanted to have a form that a person would submit (for an example a request of some type) and then it would be approved by the appropriate people. I find the built in workflow functionality too limiting and too difficult for users, so this is what I came up with: I would have one…
-
Using ajax to query XML in SharePoint Doc Lib, for use in a form’s input autocomplete
Long title, but I wanted to get across what I was trying to do. If I had and XML file in a document library (you could mail enable the doc lib, and send XML from a query in SQL server using the “FOR XML” statement!), could I use jquery to add Autocomplete values to an…
-
jQuery, SharePoint Web Services and adding thumbnail to a List
We have a SharePoint list with thumbnails attached to the list items. The request was to show a thumbnail of the image that is attached. I believe this can be done via SharePoint designer, but I thought jQuery would be easier. I added a Content Editor WebPart to the top of the page. Next I…
-
Hide a field in a SharePoint edit form based on other values
We have a form (list) that we want to have everyone edit and give comments. Once everyone has edited the item, we want an “overall status” field to trigger a workflow (send extended email). Be we did not want the overall status to be changed until everyone has chimed in. To achieve this, we created…
-
How to make a field in a SharePoint Edit form readonly
Paul Galvin showed how to hide a field in a SharePoint. I wanted to use this code to make a field “read only” once a from has been submitted. Forgetting about DataSheet view (for now), we can put a Content Editor Webpart on the top of the EditFrom.aspx page (to add a CEWP to the…
-
How I created a “Copy to new item” functionality for a SharePoint list – Part 2
Second part. First Part can be found here. On the second page (NewForm.aspx), I grabbed out of the querystring the values for the source list item and the name of the list. I used this person’s query string parser. Then I used the following SOAP query : In the last three lines I changed the…
-
How I created a “Copy to new item” functionality for a SharePoint list – Part 1
I wanted to create a “copy to new item” functionality for a SharePoint list. Steps I came up with: The first thing I had to do was add a link to the context menu (I learned that it is called an ECB) and have it point to the NewForm.aspx. Once I got that, I could…
-
How to get into Web Part Page Maintenance mode
For when you screw up a CEWP with bad code, you can use the query string “contents=1” to remove the offending webpart.
