SharePoint Saturday New York (1/30/10) Session Materials and Wrap-Up

It was a pleasure to be back in New York City, speaking at my second SharePoint Saturday event there. This event was entirely devoted to SharePoint 2010, and here were a lot of eager attendees, hungry for information on the new version.

Information on the event can be found here: http://www.sharepointsaturday.org/ny

Michael Lotter did a bang-up job putting this event together, as he always does. A big thanks to him, and everyone who was able to lend him a hand in putting this event together. More thanks to all of the attendees of the event (especially those of you who came to my session!). And of course, a big thanks to the sponsors, who fund these events and make them possible.

I was also in town participating in the SharePoint 2010 Developer Ignite training which took place from Monday to Wednesday. Ignite training is put on by Microsoft to ramp up their partners with new releases. This worked out great, as it gave me a day off to do some touristy stuff around the city, which I have never done, even though I had visited there many times. So, I did the “Top of the Rock” Rockefeller Center observation deck thing, and even did the NBC Studios tour. The SNL set is much smaller in person! And a good friend even drive me through Times Square at night. So, 3 major touristy things under my belt. I am quite pleased!

Ok, so you didn’t come here to listen to what I did outside of SharePoint, you came here for my slide deck from the event. Thanks for dropping by at least! Below you will find my slides embedded via SlideShare. Please, if you would, leave me a few comments below if you were able to make it to the session, and let me know what you thought. We ran a little over on time, which worked out well, because my session was right before lunch, so we could bleed over a bit, and there was still enough pizza to go around.

If you have any questions on any of the materials – please, fire away in the comments section below.

In addition to the session – since all we did was write just a little code, I won’t bore you with my “Hello, World!” Visual Web Part code. However, I will show you my snippets which I used throughout my session, to save all of you from watching me spell-check myself.

Also, more information on SharePoint Server 2010 can be seen on my blog under the categories of SharePoint 2010 Beta 2, SharePoint Designer 2010, and SharePoint 2010.

PowerShell commands to enable the Developer Dashboard

   1: [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings.DisplayLevel='OnDemand';
   2: [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings.Update();


PowerShell command to get a listing of the URL, Author, and Title of a Web

   1: Get-SPweb -site http://whatsnewin2010.dev.grace-hunt.com | ft Url, Title, Author

PowerShell command to get the Title of all of the lists within a Web

   1: Get-SPweb -site http://whatsnewin2010.dev.grace-hunt.com | foreach { $_.Lists | ft $_.Url, Title }

PowerShell command to get the listing of all of the Resource settings for the User Code service (Sandbox Solutions)

   1: [Microsoft.SharePoint.Administration.SPUserCodeService]::Local.ResourceMeasures


PowerShell commands to enable the User Code service to run on a Domain Controller (local image development for Sandbox Solutions)

   1: $acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName
   2: $person = [System.Security.Principal.NTAccount]"Users"
   3: $access = [System.Security.AccessControl.RegistryRights]::FullControl
   4: $inheritance = [System.Security.AccessControl.InheritanceFlags]"ContainerInherit, ObjectInherit"
   5: $propagation = [System.Security.AccessControl.PropagationFlags]::None
   6: $type = [System.Security.AccessControl.AccessControlType]::Allow
   7: $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type)
   8: $acl.AddAccessRule($rule)
   9: Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl

PowerShell commands to view the Property Bag of a Web

   1: $web = get-spweb -site http://whatsnewin2010.dev.grace-hunt.com
   2: $web.AllProperties | ft

 

Registration Open for SharePoint Saturday Boston

image

I am pleased to announce that registration is now open for SharePoint Saturday Boston! Register today to reserve your spot. Registration is on a first-come, first-serve basis.

What’s SharePoint Saturday Boston?

SharePoint Saturday Boston is a free community‐focused SharePoint event dedicated to educating and engaging members of the local technical community. SharePoint Saturday draws upon the expertise of local SharePoint IT professionals, developers and solutions architects who come together to share their real world experiences, lessons learned, best practices, and general knowledge with other like‐minded individuals.

When is SharePoint Saturday Boston?

Saturday, February 27th, 2010
8:45AM – 6:00PM

Where will SharePoint Saturday Boston be held?

SharePoint Saturday Boston will be held at the Microsoft Waltham office at 201 Jones Rd., Sixth Floor, Waltham, MA 02451

Who is organizing this event?

Talbott Crowell, Pradeepa Siva, Michael Lotter, Chris Bowen, Geoff Varosky

How do I register?

Registration is limited and based on first come first serve basis.  http://www.clicktoattend.com/?id=145192

 

SharePoint Saturday Boston – Call for Speakers Closing on 1.11.10

SharePointSaturdaySmall

We have received lots of speaker submissions so far for the second SharePoint Saturday Event. Thanks to all who have submitted their sessions for review! We will be closing speaker submissions for this event on Monday, January 11th, 2010. So if you are still interested, there are only a few days left!

If you are interested in speaking at SharePoint Saturday Boston on February 27th, 2010, please download the speaker’s submission form here (right-click, and choose Save Target As... to avoid password prompts).

After completing the form, please return it to SPSBoston@live.com as soon as possible as the speaker slots fill up fast.

Once your outline is received we will review and send email confirmation that it was accepted.

See You at SharePoint Saturday Boston!

FOR MORE INFORMATION: http://www.sharepointsaturday.org/boston/

 

Speaking at SharePoint Saturday New York on January 30th

It seems that just a few months ago, I was in New York City, speaking at a SharePoint Saturday event… oh wait, I was! Yes everyone, SharePoint Saturday is coming back to the Big Apple, and this time, all content will be focused on SharePoint 2010! So, if you were unable to attend the SharePoint Conference in Las Vegas back in October, or other events since then, here is your chance to soak up some information on SharePoint 2010, for free!

I am excited to be heading back to New York City to be speaking at another SharePoint Saturday event there. I will be delivering a session on “What’s New for Developers in SharePoint 2010”. SharePoint 2010 offers developers a unique and well deserved set of tools to aid in the development of SharePoint 2010 solutions. In this session we’ll cover improvements in the UI and the toolsets themselves, from PowerShell as a powerful scripting interface to the API, the Developer Dashboard, the SharePoint Toolkit in Visual Studio 2010, and more.

Sound interesting? Then come on and register for the event, and I’ll see you there!

Registration is now open, click here to register for the event! https://www.clicktoattend.com/invitation.aspx?code=144473

So, what is this SharePoint Saturday thing anyways?

”Join SharePoint architects, developers, and other professionals that work with Microsoft Office SharePoint Server 2007 for ‘SharePoint Saturday’, on Saturday, January 30th, 2010.  SharePoint Saturday will be an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics.  SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!”

It also takes place on a Saturday.

And go here for more information: http://www.sharepointsaturday.org/ny/

 

SharePoint Saturday DC Session Materials and Wrap-up

484037770

First of all, a big thanks to all of the attendees who made it out to Reston, VA at the Microsoft Office, to listen to all of the speakers talk about SharePoint, for free (I do no think anyone requested a refund that I am aware of), on a Saturday, in the snow. We had a good crowd, even with the weather, and I had a great time. Thank you all for coming out, definitely made the trip down there worth it! It was great to meet you all, and I had great interaction in my session from the attendees, as well as some sideshow humor, photo ops, heckling from Mark Rackley and Dan Usher (just kidding, you had some good questions!), and some live pair programming with the help of Christina Wheeler.

Another go out to the organizers of the event, Dan Usher, Dux Raymond Sy, and Gino Degregori. They all did a great job of putting this together, and for the sponsors for making this happen! These are great events that really drive the SharePoint community. It is events like these that make the virtual of social networking and online learning actual and physical.

APPLAUSE

Wow, I just realized that is probably the first animated gif I have posted in an extremely long while. Sorry for that… So, you may want to scroll down a bit to stop that and read the rest of this [code, slide presentations, etc.].

Anyhow, as per my presentation, I said I would get these up here as soon as possible, so here they are. Below is the presentation hosted at SlideShare.net, with short clips hosted at screencast.com, without audio, of the demonstrations themselves. I hope to soon re-record those and post them here, as those were my backups, just in case my virtual image did not want to play nice during my demos (it’s happened before, so now I always come prepared!).

And even further down the page away from the annoying applause animated gif above, are the code samples from my demonstrations as well. In addition to what we reviewed in the demos, I also included two additional sources (with pre-compiled WSPs, per the request of an attendee, they are included in the ZIP files below), that were briefly mentioned.

However, before I do that, I would kindly request from some of my attendees, that you please respond in the comments of this post to let me know what you thought of the session, if you will be using Custom Actions in your SharePoint development, if you have put this to use, and any questions you have regarding any of the material that I had presented. This goes a long way in helping me craft future versions of this topic, and plants seeds for others. Thanks in advance!

  • Demo #1 – Creating a Simple Custom Action
    • SPS.SiteActionsSolutionManagement
      • This was the link to the Solution Management page within SharePoint Central Administration off of the Site Actions menu. This is hard-linked however to my local system, to: http://litwareserver:9999, you will need to modify this within the solution, and rebuild the WSP to use for your CA URL and port.
    • SPS.SiteRecycleBin
      • This was the second deployment I quickly ran through, which added a Site Recycle Bin link to the Site Actions page under the Site Administration Custom Action Group
    • SPSDC.SiteActionsRecycleBin
      • This is the solution that I walked through during the first demonstration. This will add links to both the current site recycle bin, as well as the site collection recycle bin to the Site Actions menu.
  • Demo #2 – Creating a Slightly More Complex Custom Action
    • SPS.CompleteTask
      • This is the solution from the second demonstration. This solution will add Complete Task links to the Tasks and Gantt Tasks (Project Tasks) lists shown in the Edit Control Block. This will allow you to set the task Status field to Completed, and the Percent Complete field to 100% for the given task.
  • Demo #3 – Hiding Custom Actions
  • Demo #4 – Custom Action Groups

Some additional resources for Custom Actions I have on my blog that I had made mention of during my presentation:

The presentation and code samples above will also be made available on the SharePoint Saturday DC website.

Thanks again for attending, and please let me know what you thought of the event and the session! Dux mentioned that the DC events will be taking place twice a year. My plan for the next time, is to show how Custom Actions are used within SP2010, and possibly a session on building features and solutions… so be sure to keep an eye out for the next SharePoint Saturday DC!

 

SharePoint Saturday Boston – Call For Sponsors!

[re-posted from http://www.sharepointsaturday.org/boston/]

SharePoint Saturday Boston is currently looking for sponsors.  SharePoint Saturday is free to all attendees and a not for profit event.  Sponsorships help provide the necessary resources to facilitate the event.  If interested please download and review sponsorship document (right-click, and choose Save Target As... to avoid password prompts).  If there are any questions or want to sponsor an item please email SPSBoston@live.com.  Sponsorship for SharePoint Saturday Boston is on a first come first serve basis.

What: Join SharePoint architects, developers, and other professionals that work with Microsoft SharePoint Technologies for the 2nd ‘SharePoint Saturday’ Boston event, to be held on Saturday, February 27th, 2010 at the Microsoft Office on Jones Road in Waltham, MA.  SharePoint Saturday will be an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics.  SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

When: February 27th, 2010

Where: Microsoft Office, 201 Jones Road, Waltham, MA

Follow us on twitter at @SPSBoston, and use the hashtag #spsbos when tweeting about the event. Visit the SharePoint Saturday Boston website for the most up-to-date information as well: http://www.sharepointsaturday.org/boston

 

SharePoint Saturday Boston – Call for Speakers

[re-posted from http://www.sharepointsaturday.org/boston/]

If you are interested in speaking at SharePoint Saturday Boston on February 27th, 2010, please download the speaker’s submission form here.

After completing the form, please return it to SPSBoston@live.com as soon as possible as the speaker slots fill up fast.

Once your outline is received we will review and send email confirmation that it was accepted.

What: Join SharePoint architects, developers, and other professionals that work with Microsoft SharePoint Technologies for the 2nd ‘SharePoint Saturday’ Boston event, to be held on Saturday, February 27th, 2010 at the Microsoft Office on Jones Road in Waltham, MA.  SharePoint Saturday will be an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics.  SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

When: February 27th, 2010

Where: Microsoft Office, 201 Jones Road, Waltham, MA

Follow us on twitter at @SPSBoston, and use the hashtag #spsbos when tweeting about the event. Visit the SharePoint Saturday Boston website for the most up-to-date information as well: http://www.sharepointsaturday.org/boston

 

Save the Date! SharePoint Saturday Boston Announced 2.27.10

I am pleased to announce that the second SharePoint Saturday Boston event has been announced, and, that I am able to help organize this event!

What: Join SharePoint architects, developers, and other professionals that work with Microsoft SharePoint Technologies for the 2nd ‘SharePoint Saturday’ Boston event, to be held on Saturday, February 27th, 2010 at the Microsoft Office on Jones Road in Waltham, MA.  SharePoint Saturday will be an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics.  SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

When: February 27th, 2010

Where: Microsoft Office, 201 Jones Road, Waltham, MA

Follow us on twitter at @SPSBoston, and use the hashtag #spsbos when tweeting about the event. Visit the SharePoint Saturday Boston website for the most up-to-date information as well: http://www.sharepointsaturday.org/boston

Also, follow the other organizers of the event for more information

More information to come!

 

Speaking at SharePoint Saturday DC on December 5th

484037770

I am pleased to announce that I will be speaking at SharePoint Saturday DC (well, actually Reston, VA) on Saturday, December 5th. There is a trio of excellent people organizing this event (Dan Usher, Dux Raymond Sy, and Gino Degregori) so it should be a good one!

The event registration sold out on the same day registration had opened, however, you can still sign up for the waiting list here: http://www.eventbrite.com/event/484037770

I will again be presenting my session “Introduction to Developing Custom Actions within SharePoint”, however a modified version based on prior feedback and time limitations from the Boston, Baltimore, and New York City events.

An official speaker and session list has not been released to the SharePoint Saturday DC site as of yet, however, you can follow along to the chatter in twitter by searching for hashtag #spsdc, and be sure to follow @SPSaturday_DC, @usher, and @meetdux for more information regarding the event.

I am excited to be involved in yet another SharePoint Saturday event, and am looking forward to presenting, seeing some old friends, and making some new ones.

 

Registration Open for SharePoint Saturday DC

If you are in, or will be in the Washington DC area on December 5th, and are involved with SharePoint in any way, shape, or form, I highly suggest you do yourself a favor and sign up for SharePoint Saturday DC. And you better be quick about it, registration is limited to the first 200 signups!

Wondering what SharePoint Saturday is?

Join SharePoint architects, developers, and other professionals that work with Microsoft SharePoint Technologies for ‘SharePoint Saturday’, on Saturday, Dec 5, 2009 at the Microsoft Technology Center on Sunset Hills Road Reston, VA.  SharePoint Saturday will be an educational, informative & lively day filled with sessions from respected SharePoint professionals & MVPs, covering a wide variety of SharePoint-orientated topics.  SharePoint Saturday is FREE, open to the public and is your local chance to immerse yourself in SharePoint!

These are great events, where many respected names in the SharePoint community dedicate their Saturday to teach you more about SharePoint, on their own dime, to give back to the SharePoint community. There will be some sessions on SharePoint 2010 as well!

So, give a visit to http://www.sharepointsaturday.org/dc/ for more information and to register to attend this great event!