TIGblogs TIG | TIGblogs GROUP TIGBLOGS LOGIN SIGNUP
Ali Reza Manouchehri - My Blog
Ali Reza Manouchehri - My Blog
« previous 5


COMPUTERWORLD Recognizes The MetroStar Advantage!

Logo of ComputerWorld Best Places to Work in IT 2011

ComputerWorld recently released its annual report recognizing the 100 Best Places to Work in IT for 2011.  I am excited to announce that MetroStar Systems made the list with an impressive showing at #85 overall!  We also finished in the Top 10 of the Small Business Category and #2 in the South Atlantic Region.  In a region filled with many tech companies, it is also noteworthy to mention that MetroStar Systems is the only IT firm in Reston, Virginia ranked in the report.

Our commitment to employee learning and development gave us a significant edge in the selection process.  ComputerWorld created a special employer profile for each of the Top 100 companies and our Employer Profile highlights our innovative employee training, career development, and recognition strategies.

screen capture of MetroStar Systems employer profile in ComputerWorld Best Places to Work in IT 2011

We are excited to see that our dedication to excellence is being recognized by the one of the “leading sources in technology news and information for IT influencers nationwide.“  This special recognition also comes on the heels of a fruitful 2010 where we were awarded accolades for significant growth.  Job satisfaction, working in an enjoyable environment, employees benefits, and excellent employee morale add significant value to the quality of work we are able to provide to our clients, and acknowledgement for being a leader in this area only serves to strengthen our reputation. Special thanks to all of our team members who make MetroStar Systems one of the Best Places to Work in IT everyday!


July 5, 2011 | 12:07 PM Comments  0 comments

Tags:


Upgrading SharePoint 2007 Visual Studio Projects

This blog post will outline the steps required to upgrade a SharePoint 2007 Visual Studio Project to a SharePoint 2010 Visual Studio Project using the VSeWSS Import Tool for Visual Studio 2010 (http://archive.msdn.microsoft.com/VSeWSSImport). The tool is kind of old at this point, but it is still very useful and I haven’t found a better tool.

This post will be helpful to you if you have created custom SharePoint 2007 solutions using the VSeWSS Visual Studio extensions. The tool above can be used to easily upgrade these projects to SharePoint 2010 projects. This post should be especially useful if you are upgrading existing SharePoint 2007 sites to SharePoint 2010 that already have these Web Parts added and you would like the ability to add additional modifications to these projects.

Installing the VSeWSS Import Tool

The VSeWSS tool is actually provided as a Visual Studio Project, which needs to be compiled in order to build the executable to install the tool into Visual Studio. One other thing to note is that in order to open the solution in Visual Studio 2010, you need to install the Visual Studio 2010 SDK (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=47305cf4-2bea-43c0-91cd-1b853602dcc5&displaylang=en). Why this isn’t included in Visual Studio by default is beyond me. Or why it is not mentioned in the VSeWSS Import Tool installation instructions is also beyond me.

So basically, install the SDK, and then follow the instructions to install the new project type.

Importing Your Projects

To get started you want to copy any old Visual Studio project directories over to computer where you will be writing your Visual Studio 2010 solutions.

Once you have your old projects ready and have everything installed go ahead and fire up Visual Studio 2010. Click New Project and you will now have a new project template called Import VSeVSS Project (if the installation went well). See below:

Screen shot of 'New Project' window, project template Import VSeVSS Project

Next, name your new projects exactly like they are in the old solutions in order to ensure your solutions upgrade correctly. Once you have named the project click the “OK” button. You should see the import dialog like this:

Screen shot of VSeWSS upgrade tool extension wizard window, project template Import VSeVSS Project

In the dialog, set a debug URL if needed, and change the trust level to full-trust. Next, click the “Browse” button and browse to one of your old projects. Select the “Project configuration” file and click “Open“. Finally, click “Finish“.

The tool will then go through and upgrade the files to reflect the new layout of a SharePoint 2010 Visual Studio solution. Once the upgrade is complete, if there were no errors, you should see the new project laid out in the Solution Explorer. If you have not created any SharePoint 2010 solutions you will notice that the solutions are organized in a much more intuitive fashion (in my opinion at least). If you are upgrading something that deploys as a feature (like a Web Part) you will notice a Feature folder as well as the Package folder. Your solution explorer should look something like this:

Screen shot of Solution Explorer, project template Import VSeVSS Project

So that officially upgrades your solution! Technically you should be able to just run the deployment inside Visual Studio and deploy your solution as is, however I have found this to not always be the case.

Final Updates and Fixes

Below you will find a list of items that I make it a habit of checking before I consider the project officially upgraded. You may or may not need to make these changes. Hopefully these will save you some time as I spent about a week figuring most of these out on my own.

  1. Update Feature Title, Description, and Scope – for some reason when I upgraded some of my Web Parts the feature title and description did not get carried over. To update these expand the Features folder and double click on the item(s) within. Then just fill in the boxes. Also, my Scope was changed to Web for many of my features that were originally set to Site. Just change that in the drop down.
  2. Update the Deployment Path (this one is just me being a little bit retentive) – By default the feature will be deployed to the Feature directory in the form of <NAMESPACE_FEATURE>. For me the feature part was unnecessary so to remove this, while updating the section above you will see a property called Deployment Path in the Properties window. In this property you will see something like $SharePoint.Project.FileNameWithoutExtension$_$SharePoint.Feature.FileNameWithoutExtension$. You want to remove $_$SharePoint.Feature.FileNameWithoutExtension$.
  3. Add SafeControl entry to spdata file (if your project is a Web Part you may need to make this change) – The spdata file specifies the contents and behavior of a SharePoint project item. In order to see this file, click the “Show All Files” button at the top of the Solution Explorer. You should see the spdata file within your individual project directory. In the file paste the following below the Files element (replace the placeholders):

    <SafeControls>

    <SafeControl Name=”SafeControlEntry1” Assembly=”$SharePoint.Project.AssemblyFullName$” Namespace=”<NAMESPACE>”

    TypeName=”<TYPENAME>” IsSafe=”True” IsSafeAgainstScript=”False” />

    </SafeControls>

  4. Update Elements.xml – My elements.xml (actually not named elements.xml in my case) file is actually the file which caused me the most grief. For things like Web Parts, this file is what is used to specify what happens when the feature is enabled. For some reason when I would try to add a Web Part after enabling the feature I would get the following error:

Screen shot of Error message from webpage window

It turned out that the Web Part was actually being added to a folder within the Web Part catalog, which is why the error notes a directory. I’m not sure if this has something to do with differences in SharePoint 2007/SharePoint 2010 Web Parts or if it was an issue in the upgrade, but either way it needed to be fixed for every one of my Web Parts that are added as features.

To fix this issue, remove the directory part of the URL in the Url property of the Elements.xml file. More specifically within the File xml element you will see a Path and a Url. If within the Url you see something like <DIRECTORYexample.webpart>, remove “Directory.” This one drove me crazy because when I enabled the feature a file was getting added to the Web Part Gallery, but it wasn’t an XML file. It actually came down to me writing a PowerShell script to determine what exactly the file was.

Two more things that are probably just for good measure are to add “Type=GhostableInLibrary” to the File element and to specify a value for a group. Here is what mine looked like after everything was updated:

<?xml version=”1.0” encoding=”utf-8”?>

<Elements Id=”<ID>” xmlns=”http://schema.microsoft.com/sharepoint/”>

<Module Name=”Test” List=”113” Url=”_catalogs/wp”>

<File Path=”TestTest.webpart” Url=”Test.webpart” Type=”GhostableInLibrary”>

<Property Name=”Group” Value=”Custom” />

</File>

< /Module>

</Elements>

I hope this post is informative and time saving for you and I hope it will allow people to deploy much cleaner solutions to their brand new SharePoint 2010 environment. As always, please leave a comment if you have any questions, additional tips on this topic, or if you have a better solution to share. Thanks!


June 22, 2011 | 12:06 PM Comments  0 comments

Tags:


National Capital Area Tour de Cure 2011

Logo for American Diabetes Association Tour de Cure 20 Years events

The National Capital Area Tour de Cure is taking place this Sunday, June 5th 2011 at the Reston Town Center in Reston, VA.  The Tour de Cure is a series of fundraising events hosted by the American Diabetes Association (ADA).  The Tour de Cure is a “premier cycling event held in 80 locations in 33 states” that last year featured over 49,000 participants who helped raise over $19 million to support the ADA’s mission. The event is family friendly and features rides for all ages and cycling levels from the 10 mile ride to the big 100 mile ride.

Registration is still open and you can also check-in on the morning of the event. For all the information you need to know and to register, visit the National Capital Area Tour de Cure website at www.diabetes.org/nationalcapitaltourdecure

MetroStar Systems is proud to be a sponsor for this event and we will also be supporting the event with our MyStanly Twitter display tool. If you are participating in the event or if you are in the Reston area on Sunday, stop by our booth! You can follow the conversation on Twitter by searching the hashtag #TourdeCureDC, follow @TourdeCureDC, and keep track of MyStanly’s #TourdeCureDC feed.


June 3, 2011 | 1:06 AM Comments  0 comments

Tags:


Tech@State: Serious Games Conference

Poster for Tech@State: Serious Games event

The Department of State’s Tech@State team will be hosting the 5th edition of Tech@State events at the Jack Morton Auditorium in the Media and Public Affairs building of George Washington University on Friday May 27 and Saturday May 28. Over 200 attendees will “explore the mechanics of games, business and sustainability, design, education, international aspects, games for social change and much more.”

MetroStar Systems will be supporting the Tech@State team with our MyStanly twitter moderation/display application, and our CEO Ali Manouchehri is slated to speak on two separate panels on Day 1. He will first address the topic of “Games, Business and Sustainability” and then present with a panel about “Military and Government games”.  The event features an impressive collection of government, academic, non-profit, and industry experts/tech innovators who will be sharing their experiences and exploring many aspects of serious games. The agenda and complete schedule is now available at the Tech@State blog.

Here are some additional URL links that may be helpful if you are interested in attending or want more information:

For those of you who cannot attend the event, you are in luck! This event will be live streamed on Tech@State’s UStream channel: http://www.ustream.tv/channel/tech-state.  You can also follow the conversation on twitter by searching the hashtag #TechAtState and following our live tweets @metrostarsystem.


May 26, 2011 | 9:05 AM Comments  0 comments

Tags:


Persistent SharePoint 2010 Site Columns

Site Columns and Site Content Types are a great feature of SharePoint.  They’re easy to create/modify and provide granular configuration capabilities.  It’s commonly known that the Title Site Column can’t be removed from Site Content Types (or List Content Types, for that matter); it’s attached to the Item Base Content Type, after all.

But did you know that there are many Site Columns that can’t be removed from Site or List Content Types?

Edited screenshot of SharePoint 2010 "Change Content Type Column" form

Below is a list of Site Columns confirmed to be persistent on Site & List Content Types in SharePoint 2010.

Display Name Internal Name
Active RoutingEnabled
Aliases RoutingAliases
Article Date ArticleStartDate
Byline ArticleByLine
Contact PublishingContact
Contact E-Mail Address PublishingContactEmail
Contact Name PublishingContactName
Contact Picture PublishingContactPicture
Custom Router RoutingCustomRouter
Image Caption PublishingImageCaption
Page Content PublishingPageContent
Page Icon PublishingPageIcon
Page Image PublishingPageImage
Priority RoutingPriority
Properties used in Conditions RoutingConditionProperties
Property for Automatic Folder Creation RoutingAutoFolderProp
Rollup Image PublishingRollupImage
Route To External Location RoutingRuleExternal
Rule Name RoutingRuleName
Scheduling End Date PublishingExpirationDate
Scheduling Start Date PublishingStartDate
Submission Content Type RoutingContentType
Summary Links SummaryLinks
Summary Links 2 SummaryLinks2
Target Audiences Audience
Target Folder RoutingTargetFolder
Target Library RoutingTargetLibrary
Target Path RoutingTargetPath

Get-SPScripts provides some very helpful Powershell scripts to remove such columns if necessary.

UPDATE
It appears that Site Content Types using the above mentioned Site Columns can’t be deleted…


May 11, 2011 | 3:05 AM Comments  0 comments

Tags:


« previous 5


Ali Reza Manouchehri's Profile


Latest Posts
Is Your Website...
ReaderWriterLock vs....
IRequiresSessionState...
Setting up SSL on a...
Updating large...

Monthly Archive
December 2008
January 2009
February 2009
March 2009
April 2009
May 2009
June 2009
July 2009
August 2009
September 2009
October 2009
November 2009
December 2009
January 2010
February 2010
March 2010
April 2010
May 2010
June 2010
July 2010
August 2010
September 2010
October 2010
November 2010
December 2010
January 2011
February 2011
March 2011
April 2011
May 2011
June 2011
July 2011
August 2011
September 2011
October 2011
November 2011
January 2012
February 2012
April 2012

Change Language



10065 views
Important Disclaimer