Comment ajouter un calendrier et une liste d'annonces à mon modèle Web personnalisé?
-
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é:
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:
- Defaultdws.aspx
- Default.aspx
- ONET.XML
- éléments.xml
Que faire dans quel fichier?
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