¿Cómo agregar una lista de calendario y anuncio a mi plantilla web personalizada?
-
10-12-2019 - |
Pregunta
Estoy usando SharePoint 2010 y VS2010.
He implementado este tutorial para crear una plantilla web personalizada:
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:
- defaultdws.aspx
- default.aspx
- onet.xml
- elementos.xml
¿Qué hacer en qué archivo?
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
No afiliado a sharepoint.stackexchange