Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Custom Site Metadata

  Asked By: Angelique    Date: Jan 28    Category: Sharepoint 2010    Views: 1857

When I create a site in SP2010 from a custom site template, I would like
to attach custom metadata to the site, such as color=green and purpose=fun. I
think I can accomplish this using the Property bag of the SPWeb object, but I'm
looking for a no code solution.

Any ideas?



5 Answers Found

Answer #1    Answered By: Julia Washington     Answered On: Jan 28

What is it that you want to make "green" and "fun?" What elements are you
talking about adding metadata to?

Answer #2    Answered By: Shashwat Takle     Answered On: Jan 28

You can use property bag to store the text value of the term but you have to
code it. You have to write a feature receiver that writes to the property bag
when site is provisioned. Also you will require a mechanism to display site
metadata and update it. All can be accomplished but will require coding.

Alternatively you can have one custom list on your site with metadata columns
and keep a a single record in the list which contain metadata. This will be a no
code solution.

Answer #3    Answered By: Aastha Acharya     Answered On: Jan 28

For clarification, I would like to attach the custom metadata to the site

Answer #4    Answered By: Glenda Roth     Answered On: Jan 28

You can use SharePoint Designer 2010 to achieve this without code.

Open the site in SPD, then click on Site Options, you can put the custom site
meta data over there.

If you have many sites, then you have to do this many times.

Answer #5    Answered By: Jada Clemons     Answered On: Jan 28

Are you using the Metadata Manager at all?

Didn't find what you were looking for? Find more on Custom Site Metadata Or get search suggestion and latest updates.