IASPUG December Recap

Despite the miserable roads, we had a good crowd show up for Kirk‘s talk. The deck should be available shortly. Also, thanks to ITAGroup for hosting and to Todd for making the trip with some books to give away. Enjoy the holidays and we hope to see you in February!

I was also asked two good questions during the break, which I thought I would share here:

Q: What’s the best way to hide a list field?

A: There are a lot of examples online of using SPD to replace the default new/edit/display list forms, but they are clumsy, break support for attachments (unsupported hack and hotfix notwithstanding), and require customizing (unghosting) the page.

An easier solution is to leverage these properties of SPField:

  • ShowInDisplayForm
  • ShowInEditForm
  • ShowInListSettings
  • ShowInNewForm
  • ShowInVersionHistory
  • ShowInViewForms

These values can be set in a feature receiver or a simple console application, but it’s trivial with PowerShell, as Christian Lessner shows here. Or if you’re writing a feature for a custom content type/list template, the FieldRef element has a similar set of attributes.

Q: Is it possible to e-mail an item in a document library as part of an SPD workflow?

A: While not supported out of the box, I figured it would be possible through custom code. Kirk pointed me to the SPDActivities project on CodePlex, which has an activity to Send Email with List Item attachments. I’m not sure if it works for files in a document library, but it should be an easy fix if it doesn’t.

Advertisements
Posted in Community, Object Model, SharePoint. Tags: , , , , , . Comments Off on IASPUG December Recap

Iowa SharePoint User Group Returns

The Iowa SharePoint User Group returns on December 3 at ITAGroup in West Des Moines. My colleague Kirk Hofer will be presenting SharePoint Development Deep Dive: How SharePoint Works:

Go under the covers and get a great understanding of how SharePoint sites are created.  We will walk through how SharePoint works from the internals of Site Definitions and Site Templates.  Look at how Features work and how the different versions of SharePoint “staple” on additional items.  Ever wonder what the best options are for creating your own?  We will those options in great detail.

Details:

If you have ideas or requests for future IASPUG topics, please send them to info@sharepointia.com.

Posted in Community. Tags: , , . Comments Off on Iowa SharePoint User Group Returns