Geeks With Blogs
Fringe SharePoint Continued SharePoint
CKS tools to Package Columns\Content Types\Lists Templates and List Instances
I have some basic rules when it comes to checked in code to TFS. The one at the top of the list of rules is that, any developer should get the latest code from TFS, deploy and have a working web part, workflow or any other customization in SharePoint. This means that all dependencies should be deployed with the customization. If the web part uses a custom list as a data source, then a developer should not have to manually create site columns with the ‘correct’ internal and display name, list instances ......

Posted On Monday, February 20, 2012 10:00 PM

'To Sign or not to Sign' that is the question!
A while back I was helping a client upgrade SharePoint 2007 code to SharePoint 2010 and I came across this interesting problem. I was working web parts that were created in Visual Studio 2008 using WSPBuilder extensions. The first order of business was to convert them to Visual Studio 2010 templates instead of using WSPBuilder 2010 extensions. Why Use Visual Studio 2010 templates? There are two main reasons I highly recommend using Visual Studio 2010 templates instead of using WSPBuilder 2010 templates. ......

Posted On Sunday, February 19, 2012 8:25 PM

Pre-Upgrade check and Database Schema issues
I have been trying to put a staging environment together to upgrade from SharePoint 2007 SP1 to SharePoint 2007 SP2. Then we will run the preupgradecheck command to varify that the database wil upgrade properly. We ran into the infamous error: Issue : Content database with modified database schemas User modifications to the SharePoint content database, including but not limited to table schemas, index, stored procedures, are not supported and will cause upgrade to future versions of SharePoint to ......

Posted On Tuesday, August 23, 2011 4:23 PM

SharePoint 2010: Assign a Unique MasterPage to a Page Layout in a Publishing Portal
This post is a quick one to post some SharePoint code. This post refers to the post posted by Eric Overfield. Refer to the post to get the full background, but he explains how the OnPreInit event method overrides any MasterPage assignment you might put on your Page Layout. He eludes to the fact that you can use reflector to see that the URL to a master page is overridden. I thought I would post the code. So you understand what is happening in the method and how you can set the master page url. It ......

Posted On Thursday, August 4, 2011 9:56 AM

3 Helpful PowerShell Tips
I have been working with power shell quite a bit lately, I thought I’d write about 3 tips that have helped me. Notice how it is titled, "Helpful"? not "Ground breaking". It includes helpful commands that I have been using and a nice little Script editor that has one feature enough to win me over. Other's have writen about the commands (most of the time I write so I remember what I've done and how I have resolved issues) but I have not seen others write about other script editors. If you have been ......

Posted On Friday, July 29, 2011 3:54 PM

SharePoint 2010 Diagnostic Studio Remote Diag
I have had some time this week to try out some tools that I have been meaning to try out. This week I am trying out the SP 2010 Diagnostic Studio. I installed it successfully and tried it on my development evironment. I was able to build a report and a snapshot of the environment. I decided to turn my attention to my Employer's intranet environment. This would allow me to analyze it and measure it against benchmarks. I didn't want to install the Diagnostic studio on the Production Envorinment, lucky ......

Posted On Tuesday, June 28, 2011 3:35 PM

SharePoint 2010 Branding
This past week the company I work for re-launched our external facing internet site, all powered by SharePoint 2010. I already blogged about it, but have you ever wondered, what does it take to build a great looking site? There are 3 basic levels of Branding in SharePoint 2010: Low Effort Remember the themes in SharePoint 2007? well its incredibly easy to build them in SharePoint 2010.The best examples out there are the ones that use Power Point 2010 to produce color schemes and styles and apply ......

Posted On Saturday, May 7, 2011 3:46 PM

The Beauty of Great Looking SharePoint UX
This pas week, the company I work for re-launched our external facing Internet site, complete powered by SharePoint 2010! Check it out at www.imaginets.com. I get two concerns when clients look at doing something like this, either internally or externally: You can't really get a great looking site with SharePoint. We can't justify a great looking site. Well if you facing the same issues consider the great looking site that was put together by some very talented guys. If you think it can't be done ......

Posted On Saturday, May 7, 2011 1:46 PM

Windows 7 or Windows Server 2008?
I am in the proccess of putting together a demo machine. i arleady have a Windows 7 VM with the essentials for SharePoint Deveopment. But I spent some part of the weekend putting together a demo machine and after some thinking I decided to share some points that you might want to consider when putting together a Development or Demo machine as a SharePoint Developer\Consultant. I also welcome any comments and opinions or rebuttles to any of these points. I spent some time and put together a WIndows ......

Posted On Monday, April 4, 2011 7:23 PM

Upgrading SharePoint 2007 Projects to SharePoint 2010
I recently did some training for a client and one of the topics that came up was upgrading existing 2007 code to SharePoint 2010 Projects. I just wanted to share some of the issues that came up and the discussion that might be usefull to others. If you developed customizations for SharePoint 2007 you either Visual Studio 2005/2008 VSeWSS 1.1/1.2/1.3 or you used WSPBuilder. A lot of fellow SharePoint MVP's and experienced SharePoint Developers used WSPBuilder. I personally prefered it over the VSeWSS ......

Posted On Tuesday, March 29, 2011 8:48 PM

Perspective Is Everything
Sitting on a window seat on my way back from Seattle I looked out the window and saw the large body of water. I was reminded of childhood memories of running as hard as I could through burning hot sand with the anticipation of the splash of the ocean. Looking out the window the water appeared like a sheet draped over land. I couldn’t help but ponder how perspective changes everything. Over the last several days I had a chance to attend the MVP Summit in Redmond. I had a great time with fellow MVP’s ......

Posted On Friday, March 4, 2011 6:39 PM

MOSS 2007 WSP Retraction 'Error"
This one is a quick post , but I thought I would post this information as I could not find anything that helped me on this specific scenario. Please read the entire article before taking action as there are some irreversable or very troublesome routes I caution about! Problem: I had a client trying to retract a WSP from Central Admin and would eventually go to an, 'Error' State. I could not retract it and after looking at event logs I figured it was a problem with security. I tried several accounts, ......

Posted On Monday, January 10, 2011 11:37 AM

Upgrading to SharePoint 2010? Get started by evaluating
I recently spoke at Tech Days 2010 in Winnipeg. These are some tools that will I showcased to help you evaluate where you are now. · PreUpgradeCheck o http://technet.microsoft.co... · SharePoint BPA o http://www.microsoft.com/do... · SPSReport o http://spsreport.codeplex.com/ · SPSFarmReport o http://spsfarmreport.codepl... I also showed a Solution Downloader found here: http://spsolutiondownloader... ......

Posted On Wednesday, December 15, 2010 10:31 AM

Adding data to a 'User/Group' SharePoint Column
Part of working with Web Services is pushing data to SharePoint. There are numerous Blogs and articles that show you how to update, delete and add new list items. One of the things you will want to do is add metadata, specifically adding values to "User/Group" columns. The problem is that SharePoint has a specific format that needs to be followed. If you look closely, underneath the covers SharePoint keeps an 'ID;#username' format. You might be wondering, "What is the ID for? and where does it come ......

Posted On Monday, November 22, 2010 9:07 PM

Query SharePoint Web Service Result
I have been working with infopath 2007 to build an application for SharePoint. I put together a dashboard that pushes and pulls data from lists within SharePoint. With Visual Studio Tools for Applications you can write code that will accompany the form for extra functionality. Part of the code is that you can reference the "Microsoft.SharePoint.dll" to have access to the SharePoint object model and ultimately the data in SharePoint. Part of the architecture decisions I made quite early was to implement ......

Posted On Monday, November 22, 2010 8:33 PM

To use, or not use SharePoint
The common question as a SharePoint consultant and developer is, "Should we use SharePoint or not?. I was faced with that decision this week and I thought I would share it. I am working with a solution that involves an ASP.Net Application being connected to SharePoint that was being used as the document management piece of the solution. The Asp.Net application had a feature that created a project. Part of creating a project required creating a document library in SharePoint as part of that creation ......

Posted On Sunday, November 7, 2010 5:40 PM

Speaking at Tech Days 2010
I am very excited to speak again at Tech Days 2010 Winnipeg! The Details are listed bellow. session title is: Microsoft SharePoint Server 2010 for Developers of Microsoft ASP.NET session day and time: Day 2 (December 8), from 2:20 – 3:25 p.m. Winnipeg. Organizations always ask, what is the difference between SharePoint Development and ASP.Net development? well, the answer is...Not MUCH! Come out and check out issues, differences and similarities between the two. Tech days is a great opportunity to ......

Posted On Sunday, October 24, 2010 12:02 PM

"Yes\No" fields in Moss 2007 Metadata Property Mappings Causing Issues?
I have been working with a client that has several metadata property mappings. One of them being a "Yes\No" FIeld. The client has a "Confidential" field wich is really a check box. If a document is confidential then it is checked off, by default all documents are NOT confidential therefore, they field is un-checked. Well needless to say during a search query on that field, it would say, "error occured" What the "H" is going on here!!?? looking at the windows logs didn't help as it was complaining ......

Posted On Monday, August 23, 2010 5:54 PM

SSIS and SharePoint - Moving SharePoint content to SQL 2008 via SSIS
I was recently on a project that required me to move SharePoint content to SQL Database. As I searched the best way to do this, I thought of a timer job that would run nightly and move the data to SQL, a co-worker who is a SQL expert suggested I use SSIS to move the data over. I started searching online and came up with a couple of options the most notable being the technet article. The problem with the example on technet is that it uses a custom connector that connect one Document library or List ......

Posted On Wednesday, June 23, 2010 6:29 PM

Web Part Development in SharePoint 2010 - What you need to know!
Visual Studio 2010 is the new and improved development tool for SharePoint 2010. Major improvements are that all the Project Templates for SharePoint 2010 are included out of the box. This means a better development experience with debugging, unit testing, TFS!!! and automated builds! As I was experimenting with the overall experience I noticed some funny things I thought I would blog about. 1) Visual Web Parts are the only option available as part of a template. This can be kind of confusing to ......

Posted On Sunday, October 24, 2010 11:35 AM

Winnipeg SharePoint User Group Event Oct 25 2010!
Hi All, I have been crazy busy in the last while, I am hoping that now I will be able to blog about all the things I have been busy with and have the community benefit from the projects and experiences I have had over the last while. Stay tunned for a bulk of Blog posts in the next month!!! I wanted to let everyone know that I will be speaking at the Winnipeg User Group Event on Oct 25 2010. Here is a copy of the abstract. Everyone is welcomed, please help pass on the word and let anyone you think ......

Posted On Tuesday, October 19, 2010 11:23 AM

So you want a French Site?
I thought I would write a quick write up of how to create a french site in SharePoint 2007. I'm not talking about a Variation but just a plain French Site from the ground up. There were some gotchas that I felt were worth blogging about. First: go to Microsoft Telnet Article and follow the install instructions. Make sure that when you get to the download page that you select "French" as part of the drop down and you download and install the right language pack. I noticed that if you did not click ......

Posted On Friday, May 14, 2010 5:22 PM

What's Bringing SharePoint 2007 Server to a hault?
I've been having issues with my teste environment and I'm hoping someone has run into this problem and can point me in the right direction. I noticed: SharePoint Server Memory is through the roof at times and so is the CPU usage. Most of CPU usage is a sql proccess. Running out of disk space all the time. I looked in the Logs located in the 12 hive and sure enough I have 1G log files that are hard to open because of the size. The following are the 3 error messages that are flooding my SharePoint ......

Posted On Tuesday, April 6, 2010 11:01 AM

An Honest look at SharePoint Web Services
INTRODUCTION If you are a SharePoint developer you know that there are two basic ways to develop against SharePoint. 1) The object Model 2) Web services. SharePoint object model has the advantage of being quite rich. Anything you can do through the SharePoint UI as an administrator or end user, you can do through the object model. In fact everything that is done through the UI is done through the object model behind the scenes. The major disadvantage to getting at SharePoint this way is that the ......

Posted On Monday, March 8, 2010 6:01 PM

Possible to write Memory leak free code, but SharePoint might still have memory leaks
I had an interesting scenario where a bunch of memory leaks were showing up. I googled around and found a bunch of issues. I'm sure if you are reading this, you have either just started the search or have been to every blog post about memory leaks. This might be a bit repetative but if you are in the first group that just started maybe this is a nice way to point you in the right direction. You are probably experiencing errors that start like this: "Potentially excessive number of SPRequest objects ......

Posted On Wednesday, February 24, 2010 1:48 PM

Deleting SharePoint Groups from Site Collection
I recently wrote a feature that was to be activated on a custom site definition. I believe this is called Feature Stapling. I could be wrong. Either post will show you the funny thing I found when trying to delete the groups in sharepoint, that were the custom groups that were created as part of the site definition. What I wanted to do was to create a new site based on the site definition and then do a little house cleaning to set a master page, a css and clean out the groups that were created and ......

Posted On Wednesday, February 24, 2010 12:31 PM

What those sites wont tell you!
More memory leaks. I have been fighting with SPLimitedWebPartManager for a little while now. It seems to be producing issues with memory leaks. If you are reading this, you probably are too. Bryan Napier wrote this blog post about 3 years ago. In it he identified the problem of an internal SPWeb object being developed by the SPLimitedWebPartManager and how to handle it properly. Habanero also posted a nice little how-to to handle intricacies with the object. The thing that they don't tell you is ......

Posted On Wednesday, January 27, 2010 7:16 PM

Endless Memory Leak Issues Continued
I recently developed a WCF solution with SharePoint that once I deployed cause so many issues with memory leak that it service was shutting down. If you are having issues with a WCF service that hits the SharePoint object model and it is unexpectedly shutting down, most likely it is because memory leaks. I will not write about simple memory leaks since there are lots of great blogs which cover the topic really well. I have had issues with LINQ and SharePoint and I wrote several .Net method extensions ......

Posted On Wednesday, January 27, 2010 6:35 PM

Another weird Content Type and property Quirk
I have been working with Folders, creating them and adding metadata to folders. Along with that I have chosen to implement the property bag for the "ID" for each folder. I guess I could have just used the "ID" as the metadata field in sharepoint, but I like the idea of property bags on sites, and thought I would implement it here as well. I was experiencing something a little funny so I thought I would share, my result looks like this, when trying to create a folder and add metadata and the Id as ......

Posted On Monday, December 7, 2009 2:37 PM

Linq in SharePoint Interesting Result
I just love Linq in SharePoint. I think it is just an awesome way to write quick queries and get at data quite quickly. I've been working with it for a while on several projects and have been seeing some quirky things with it. First, the one problem that has been blogged about the most is that linq does with SPSite and SPWeb objects do not get properly disposed after they are used. You can google around for these issues and fixes. I implemented extension methods that properly disposed of the SPSite ......

Posted On Monday, November 30, 2009 5:13 PM

SPWeb.EnsureUser before granting site access
I recently wrote a post where I discussed code that gave site access to users. I have had several deployments already that make that code fail. I do not know why it works in some environments and not the other. The real issue is SharePoint recognizing users on a site. Usually there is a SpUserCollection in context of an SPWeb or SPSite. The problem stems from users actually existing in that collection. By default only users given access to the site are actually in the collection. When the group, ......

Posted On Monday, November 30, 2009 2:40 PM

Finally Installed Sharpoint 2010!!
So, I finally got around to installing SharePoint 2010! I will get a chance to poke aroudn this week and take a look at the new features and start blogging. I had a couple of issues I thought I would direct people in the right direction. I run all my vm's on Mac OSX, I had to upgrade to Snow leopard which has is an x64 OS and I upgraded my vm version. I actually run Parallel's for Mac. The newest version is version 5. I am not 100% sure but I don't think that creation x64 OS on parallels is a new ......

Posted On Monday, November 30, 2009 10:06 AM

Giving user access to site with custom permission level
Adding a new user to a site looks like this: public static void AddPrincipalRoleToSite(SPPr... entity, SPRoleType role, SPWeb web) { SPRoleAssignment roleAssignment = new SPRoleAssignment(entity); SPRoleDefinition byType = web.RoleDefinitions.GetByTy... roleAssignment.RoleDefiniti... web.RoleAssignments.Add(rol... } Principle is the parent object to SPUser and SPGroup. Therefore you can use this method and send both user or group in and it will add it to the ......

Posted On Friday, September 4, 2009 5:13 PM

Mission Imposible Part 2 (Quota Solution)
I started a series that I titled Mission Impossible. Read the Introduction if you have not already done so, you can find it here. This Post will cover the quota issue and some ideas I put out for the client to decide. This solution can be approached in two different ways, a passive approach and a pro active approach. Let me describe. Let me describe the problem first. A site collection exists with sub sites. The client wanted a quota set to a 2G limit on each sub site. There are no way that can be ......

Posted On Tuesday, September 1, 2009 11:07 PM

Mission Imposible Part 1 (introduction)
I feel a series coming on! I have been involved with a client to develop and customize their present SharePoint Environment. I have incorporated several solutions I would like to share. It was a learning experience and it was definitely Fringe SharePoint!!! The purpose of this post is to set up the scenario and to describe all the factors that were involved with the decision making of the overall solution. I hit several walls and blocking issues and feel it's important for anyone doing anything remotely ......

Posted On Tuesday, August 25, 2009 7:25 PM

Extending SharePoint: Checking if a List exists (Web Services)
During my project that is heavily centered around web services, I often found that before I could execute one overall integration, I would need about 3 or 4 web Service calls to collect all the parameters I needed to actually call the web service call I was really trying to execute. I came across an interesting situation where I need to retrieve the List from SharePoint. A web service call will send back an XMLElement with all the information available for a list. The problem is that the list needs ......

Posted On Wednesday, August 19, 2009 5:39 PM

Unexpected WCF web Service Behaviour
I am currently on a project that consists of an integration between a web application and SharePoint. Both applications live in their own servers and so it was necessary to use web services. I have come to many weird glitches and many unresolved issues at this time, I will make an effort to document as much as possible to save people time when working with WCF, SharePoint Web Services, and Visual Studio 2008.0 The first issue I'm going to write about is fairly easy to identify but it was frustrating ......

Posted On Wednesday, August 19, 2009 5:17 PM

Why Blog and Reference Code that does no Work??
In the last week, I have been working on a project that involves web services. It has been an interesting project, SharePoint projects are always a surprise in that code is supposed to work a certain way and it never really seems to work the way it's supposed to. I feel as though i need to apologize for this post because it's kind of a rant. I still feel like it needs to be said. If someone out there is going to blog please post up code that is your own! and more importantly post up code that actually ......

Posted On Friday, July 31, 2009 9:45 AM

Linking Documents in SharePoint 2007
I recently met with a client that asked if you could like documents in SharePoint. I had many internal reactions the client asked but one specific memory stood out for me. A year ago I performed a migration from a document management system called DocuShare to SharePoint 2007. Docushare Migration to SharePoint 2007 There is very little out there on Docushare Migration, I thought maybe I would take the time to write a paragraph about this. I'm sure that Quest Software and DocAve have something to ......

Posted On Monday, July 20, 2009 10:46 AM

Web Config Changes Security Issue
Hi all , I recently was working with a client that implemented a telerik navigation control as a quicklaunch. They decided to split up all the sub-sites into their own site collection. They wanted to place quotas on subs sites, and if you don't know, you can only set quotas on site collections and not sub sites. This switch or splitting of sites posed some interesting problems. 1) Telerik Control now needed to be added to each sub site for navigation. The control specifics were added to a master ......

Posted On Tuesday, July 14, 2009 9:32 PM

SharePoint MVP!
Hi all, Just wanted to tell you all that I am now a SharePoint MVP!! Thanks to Darcy Lussier for the nomination.So what does this mean? I certainly don't feel smarter, or that I'm any more compitent than before. This Brings me back to evaluate why I blog and why I give to the community. Make no mistake, this award is something that means a lot to me but it does not magically give me special powers! It is nice to be recognized by my peers and I look forward to all the perks that come along with being ......

Posted On Tuesday, July 14, 2009 8:19 PM

Copyright © juanlarios | Powered by: GeeksWithBlogs.net