Pregunta

La revelación completa: Sharepoint novato desarrollo. Actualmente tengo 3 partes web personalizadas construidas en una solución SP en VS2010. Me construir y desplegar mi proyecto a cabo en nuestro cuadro de Sharepoint dev local. Sin embargo, después de desplegar, solamente las primeras piezas de la tela 2 personalizados aparecen en la categoría personalizada en la sección de la cinta "Insertar elemento web". Revisé el archivo elements.xml para los 3 webparts, todos están configurados para ser incluidos en el grupo personalizado. ¿Alguna idea sobre cómo puedo depurar este? Cualquier consejo constructiva es muy apreciada.

Inicio elements.xml

<?xml version="1.0" encoding="utf-8"?>
 <Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
  <Module Name="Home" List="113" Url="_catalogs/wp">
    <File Path="Home\Home.webpart" Url="Home.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Custom" />
    </File>
  </Module>
</Elements>

IdeaEditor elements.xml

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
  <Module Name="IdeaEditor" List="113" Url="_catalogs/wp">
    <File Path="IdeaEditor\IdeaEditor.webpart" Url="IdeaEditor.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Custom" />
    </File>
  </Module>
</Elements>

IdeaGrid elements.xml

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
  <Module Name="IdeaGrid" List="113" Url="_catalogs/wp">
    <File Path="IdeaGrid\IdeaGrid.webpart" Url="IdeaGrid.webpart" Type="GhostableInLibrary" >
      <Property Name="Group" Value="Custom" />
    </File>
  </Module>
</Elements>
¿Fue útil?

Solución 3

I figured out the issue. I'm not sure why, but changing the feature name in my solution seemed to fix the problem. Thanks for the help, though.

Otros consejos

Make sure that there are no naming conflicts of your .webpart files. Please update your question with contents of the elements.xml file(s). Have you used several SPI's (SharePoint project items) for the Web Parts or one single?

Have you checked the package editor to ensure that all 3 web parts are being packaged up when you deploy the solution?

Licenciado bajo: CC-BY-SA con atribución
scroll top