Guest User

Untitled

a guest
Dec 9th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ID="{a3596ed5-625b-4bf4-abf5-37be33dfcaa6}" Name="LBP_Fields_Communication_Date" DisplayName="Date" Type="DateTime" Required="FALSE" Group="LBP_CDR" /> <Field ID="{2f7d98b9-05d0-4521-97fc-e0e8e7e60c37}" Name="LBP_Fields_Communication_OrdreDuJour" DisplayName="Ordre du jour" Type="Text" Required="FALSE" Group="LBP_CDR" /> <Field ID="{64870503-038a-4eb1-b14e-238897571521}" Name="LBP_Fields_Communication_Presentateur" DisplayName="Présentateur" Type="User" Required="FALSE" Group="LBP_CDR" /> <Field ID="{7e5babbf-9e6f-4006-aac0-685904c588a7}" Name="LBP_Fields_Communication_Categorie" DisplayName="Catégorie" Type="Choice" Required="FALSE" Group="LBP_CDR"> <CHOICES> <CHOICE>ComCA</CHOICE> <CHOICE>ComTR</CHOICE> </CHOICES> </Field> <ContentType ID="0x010042D0C1C200A14B6887742B6344675C20" Name="Communication" Group="LBP_CDR" Description="Type de contenu Communication"> <FieldRefs> <FieldRef ID="{a3596ed5-625b-4bf4-abf5-37be33dfcaa6}" /> <FieldRef ID="{2f7d98b9-05d0-4521-97fc-e0e8e7e60c37}" /> <FieldRef ID="{64870503-038a-4eb1-b14e-238897571521}" /> <FieldRef ID="{7e5babbf-9e6f-4006-aac0-685904c588a7}" /> </FieldRefs> </ContentType> <ListInstance CustomSchema="CommunicationSchema.xml" FeatureId="00bfea71-de22-43b2-a848-c05709900100" Title="Communication" Description="Liste Communication" TemplateType="100" Url="Lists/Communication"> </ListInstance> </Elements>
  2.  
  3. <List xmlns:ows="Microsoft SharePoint" Title="Communication" EnableContentTypes="TRUE" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/Communication" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/"> <MetaData> <ContentTypes> <ContentType Name="Communication" ID="0x010042D0C1C200A14B6887742B6344675C20" Group="LBP_CDR" Inherits="FALSE"> <FieldRefs> <FieldRef ID="{a3596ed5-625b-4bf4-abf5-37be33dfcaa6}" /> <FieldRef ID="{2f7d98b9-05d0-4521-97fc-e0e8e7e60c37}" /> <FieldRef ID="{64870503-038a-4eb1-b14e-238897571521}" /> <FieldRef ID="{7e5babbf-9e6f-4006-aac0-685904c588a7}" /> </FieldRefs> </ContentType> </ContentTypes> <Fields/> <Views> <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pagesviewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx"> <XslLink Default="TRUE">main.xsl</XslLink> <JSLink>clienttemplates.js</JSLink> <RowLimit Paged="TRUE">30</RowLimit> <Toolbar Type="Standard" /> <ViewFields> <FieldRef Name="LBP_Fields_Communication_Date"/> <FieldRef Name="LBP_Fields_Communication_OrdreDuJour"/> <FieldRef Name="LBP_Fields_Communication_Presentateur"/> <FieldRef Name="LBP_Fields_Communication_Categorie"/> </ViewFields> <Query> <OrderBy> <FieldRef Name="ID" /> </OrderBy> </Query> </View> </Views> <Forms> <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages/Communication/form.aspx" WebPartZoneID="Main" /> <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages/Communication/form.aspx" WebPartZoneID="Main" /> <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages/Communication/form.aspx" WebPartZoneID="Main" /> </Forms> </MetaData> </List>
  4.  
  5. {
  6. "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
  7. "solution": {
  8. "name": "lbp-cdr-client-side-solution",
  9. "id": "******-3a***-***-ae1d-e0f94a9c52f8",
  10. "version": "1.0.0.3",
  11. "includeClientSideAssets": true,
  12. "features": [{
  13. "title": "ContentTypes-Lists-lp-cdr-client-side-solution",
  14. "description": "ContentTypes-Lists-lp-cdr-client-side-solution",
  15. "id": "f715b3dc-1c44-40ed-90c4-1fd39c6cc5fd",
  16. "version": "1.0.0.0",
  17. "assets": {
  18. "elementManifests": [
  19. "Communication/CommunicationElements.xml"
  20.  
  21. ],
  22. "elementFiles": [
  23. "Communication/CommunicationSchema.xml"
  24. ]
  25.  
  26. }
  27. }]
  28. },
  29. "paths": {
  30. "zippedPackage": "solution/lbp-cdr.sppkg"
  31. }
  32. }
Add Comment
Please, Sign In to add comment