User Tools

Site Tools


about_listdefinition_ids

Ids bei Listdefintions

schema.xml

Das Feld ID ist Guid der Listdefinition

<List xmlns:ows="Microsoft SharePoint" Title="ListDefinition1" FolderCreation="FALSE" 
Direction="$Resources:Direction;" Url="Lists/ListDefinition1" BaseType="0" Name="ListDefinition1" 
Id="851a3799-8816-440d-9e57-556c2e6e5557" 
Type="100" xmlns="http://schemas.microsoft.com/sharepoint/">

Die ID taucht auch bei ListDefinition.xml auf:

 <Eleements Id="851a3799-8816-440d-9e57-556c2e6e5557" xmlns="http://schemas.microsoft.com/sharepoint/">
...

Und ggf. bei instance.xml als FeatureID (wenn Listeninstanz im wsp mit angelegt werden soll):

<?xml version="1.0" encoding="utf-8"?>
<Elements Id="9ff836fa-9ed7-4b30-aa7b-21f4250a10fc" xmlns="http://schemas.microsoft.com/sharepoint/">
  <!--
  The following Guid for FeatureId is used as a reference to the list definition, 
  and it will be automatically replaced with actual feature id at deployment time.
  -->
  <ListInstance FeatureId="851a3799-8816-440d-9e57-556c2e6e5557" 
                Title="ListDefinition1 instance" 
                Url="Lists/ListDefinition1">
  </ListInstance>
</Elements>

Die ID bei Elements ist wahrscheinlich die FeatureID der Listeninstanz

about_listdefinition_ids.txt · Last modified: 2022/08/09 15:20 (external edit)