Comment ajouter un calendrier et une liste d'annonces à mon modèle Web personnalisé?

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

  •  10-12-2019
  •  | 
  •  

Question

J'utilise SharePoint 2010 et VS2010.

J'ai mis en œuvre ce didacticiel pour créer un modèle Web personnalisé:

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

Maintenant, je voudrais ajouter la liste de calendrier et d'annonces à la page d'accueil.Où et comment puis-je faire cela sur mes fichiers de modèle Web comme ci-dessous:

  1. Defaultdws.aspx
  2. Default.aspx
  3. ONET.XML
  4. éléments.xml

    Que faire dans quel fichier?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top