Como adicionar lista de calendário e anúncio ao meu modelo web personalizado?

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

  •  10-12-2019
  •  | 
  •  

Pergunta

Eu estou usando o SharePoint 2010 e vs2010.

Eu implementei este tutorial para criar um modelo web personalizado:

http://usmanmughal.wordpress.com/2011/04/26/HOW-TO-Create-web-template-in-sharepoint-2010-using-featur/

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:

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

    O que fazer em qual arquivo?

Foi útil?

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
scroll top