Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Columns and content types are not available to multiple sites

$
0
0

Hi,

I have created a custom webpart with newly added columns, content types and features to the existing site. The webpart is working fine to site. But it is not working to other sites due to not availability of the columns. I can see the content types and columns to the newly created site in sharepoint 2010. I am not sure why it is not available to other sites. I am newbie to sharepoint. 

I am getting the error like this:

System.ArgumentException: Column 'IMSFormType' does not exist. It may have been deleted by another user.    at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)     at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)     at Microsoft.SharePoint.SPListItem.get_Item(String fieldName)     at IMPAQ.IMS.Applications.ApplicationsUserControl.Page_Load(Object sender, EventArgs e)     at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)     at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)     at System.Web.UI.Control.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()    at System.Web.UI.Control.AddedControl(Control control, Int32 i...8c4d49a2-45f7-4f93-819c-20e8a2e9763a

I have the checked the site collection features are at Site scope and web feature at Web scope . I also added the upgrade actions to the webfeatures.template.xml

<UpgradeActions>

    <VersionRange BeginVersion="0.0.0.0" EndVersion="1.0.0.0">
        <ApplyElementManifests>
          <ElementManifest Location="ApplicationsList\Elements.xml" />
      </ApplyElementManifests>
    </VersionRange>
  </UpgradeActions>

I appreciate your help.

thanks.

rego


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>