Logo 
Search:

Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Refer Site Column in Custom List Definition

  Asked By: Shea    Date: Nov 20    Category: Sharepoint 2010    Views: 1809

I need help. I searched in google, but didn't find much help. I
need to create a Custom List Definition based on a Custom List template in
SP 2010. I could do this using the following MSDN link.

msdn.microsoft.com/en-us/library/ff728096.aspx

Now, I have a site column in the site. How can I refer this site column in
my Custom List Definition. I tried many ways, but didn't succeed. One more
point is, the site column is of Yes/No type. Please help me with this. Also,
I need to know how to add site column through feature and also make sure
that the Custom List Definition feature cannot be activated, before this
site column is added to the site. Is Feature Activation Dependency, the
answer for this?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Amrita Bunha     Answered On: Nov 20

This will require Visual Studio to create a package. In a Visual Studio
SharePoint project, you can add all the elements you need, including site
columns and list definitions, and deploy them as one feature (no dependencies
needed).

You can see my opinion, and that of others, as to how non-developers might
approach a problem like this here:
tech.groups.yahoo.com/.../40332

In short, unless you want to become a professional developer, it is wise to find
a qualified person or company to develop this for you. A simple feature for a
site column and list definition should not take more than a couple consultant
hours. Or you can have a go at it yourself if you have access to Visual Studio
2010.

 
Answer #2    Answered By: Chandrabhan Baroova     Answered On: Nov 20

I am using Visual Studio 2010 , I referred the MSDN link only.I am a developer and hence I would like to do it the developer / technical way.

 
Didn't find what you were looking for? Find more on Refer Site Column in Custom List Definition Or get search suggestion and latest updates.




Tagged: