English 中文(简体)
Feature activate via UI but does not show in the Libraries and Lists
原标题:
  1. I am really hating SharePoint as there are hardly any good/concrete documentation.
  2. I developed custom List "MainCatalog" with few columns (not site columns).
  3. Create features and elements with MOSS feature builder at Site collection level so scope="site"
  4. installed via stsadm
  5. activated via UI "went to site collection website", Site Setting > Site collection Feature (and saw my custom list "MainCatalog") and was able to activate.
  6. then went to "mySiteCollection > Site Settings > Site Libraries and Lists "
  7. My list is showing
  8. But it shows in the "mySiteCollection > Create > Custom Lists > "MainCatalog"
  9. I guess it s showing there as a template...

But my intention is to deploy this list from development to test environment. EXTREMELY STRESSED. I AM ON THIS FOR LAST 8 DAYS.....

问题回答

So you ve successfully created, deployed and activated the Feature which provides the template for the list, as you say. You can then create an instance of the list manually, using the template, or you can have the Feature automatically provision an instance when activated. To do so, add the following to your Elements.xml (or whatever you have named it):

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListTemplate Name="MainCatalog" Type="12345" BaseType="0" SecurityBits="11" DisplayName="Main Catalog" Description="Create a Main Catalog list instance" Image="/_layouts/images/itgen.gif" RootWebOnly="FALSE" OnQuickLaunch="TRUE"/>
<ListInstance Id="MainCatalog" TemplateType="12345" Title="Main Catalog" Url="Lists/MainCatalog" Description="Main Catalog list"></ListInstance>

Then deploy this Feature to your test environment.





相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...

热门标签