Como adicionar lista de calendário e anúncio ao meu modelo web personalizado?
-
10-12-2019 - |
Pergunta
Eu estou usando o SharePoint 2010 e vs2010.
Eu implementei este tutorial para criar um modelo web personalizado:
Agora eu gostaria de adicionar a lista de calendários e anúncios à página inicial.Onde e como faço isso em meus arquivos de modelo web como abaixo:
- .
- defaultdws.aspx
- default.aspx
- onet.xml
- elements.xml
O que fazer em qual arquivo?
Solução
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 em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange