Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New columns in mysites?

0 views
Skip to first unread message

John S

unread,
Nov 24, 2009, 8:27:01 AM11/24/09
to
I've created a feature that installs a couple of new columns in all site
collections on our portal but how do I get the same feature to be made
available for everyones Mysite

Steven Cheng

unread,
Nov 24, 2009, 11:04:42 PM11/24/09
to
Hi,

Regarding on the site column installation, I think it would be quite hard
to do it via feature or site template as those component can only help
apply the certain data/items to a specific site or future site(will be
created) based on a certain site template(such as using feature stapling)

#Introduction to SharePoint Feature Stapling ?Part 1
http://sharepointmagazine.net/technical/development/introduction-to-sharepoi
nt-feature-stapling-part-1

One means you can try is using object model to add column into site
programmtically:

#How to: Add a Column to a Site
http://msdn.microsoft.com/en-us/library/aa543203.aspx

And if you want to site column populatino be done at the feature's install
or activating time, you can consider add feature receiver assembly and
perform the object model code (which add site column to certain site) in
the certain feature events:

#Common actions feature receiver
http://stefan-stanev-sharepoint-blog.blogspot.com/2009/10/common-actions-fea
ture-receiver.html

#Feature Events
http://msdn.microsoft.com/en-us/library/ms469501.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

--------------------
From: =?Utf-8?B?Sm9obiBT?= <js...@newsgroup.nospam>
Subject: New columns in mysites?
Date: Tue, 24 Nov 2009 05:27:01 -0800
t

0 new messages