¿Cómo agregar una lista de calendario y anuncio a mi plantilla web personalizada?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/63178

  •  10-12-2019
  •  | 
  •  

Pregunta

Estoy usando SharePoint 2010 y VS2010.

He implementado este tutorial para crear una plantilla web personalizada:

http://usmanmughal.wordpress.com/2011/04/26/how-to-create-web-template-in-sharepoint-2010-using-feature/

Ahora me gustaría agregar la lista de calendario y anuncios a la página de inicio.¿Dónde y cómo hago esto en mis archivos de plantillas web como a continuación:

  1. defaultdws.aspx
  2. default.aspx
  3. onet.xml
  4. elementos.xml

    ¿Qué hacer en qué archivo?

¿Fue útil?

Solución

You need to modify Onet.xml file,

http://msdn.microsoft.com/en-us/library/ms474369(v=office.12).aspx

If you go through article link I given above you will figure out that in Onet.xml file you need to add

<ListTemplates>
  <ListTemplate .. tag for calendar list and then />
  <ListTemplate .. tag for calendar list and then />
</ListTemplates>

You will need to change list template type for calendar and annoucement in list template, I will let you do it yourself.

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