Come aggiungere calendario e elenco di annuncio al mio modello web personalizzato?

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

  •  10-12-2019
  •  | 
  •  

Domanda

Sto usando SharePoint 2010 e VS2010.

Ho implementato questo tutorial per creare un modello Web personalizzato:

http://usmanmughal.wordpress.com/2011/04/26/How-Create-Web-Template-in-SharePoint-2010-USH-Feature/

Ora vorrei aggiungere l'elenco di calendario e annunci alla home page.Dove e come faccio a farlo sui miei file modello web come di seguito:

    .
  1. defaultDWS.aspx
  2. default.aspx
  3. onet.xml
  4. elementi.xml

    Cosa fare in quale file?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top