Readdy Write

WebPart Manifest

13.03.2020 (👁5677)


In der Manifest Datei wird die ID, der Typ, die Version und Standardwerte für Eigenschaften festgelegt.

Die Manifest Datei befindet sich im WebPart Ordner  mit der Endung .manifest.json

In der Datei WebPartnameWebPart.manifest.json

{

  "$schema""https://developer.microsoft.com/json-schemas/spfx/client-side-web-part-manifest.schema.json",

  "id""89fe7fa5-aaa0-4750-8fcf-ae0625e3ee9c",

  "alias""WebPart01WebPart",

  "componentType""WebPart",

  // The "*" signifies that the version should be taken from the package.json

  "version""*",

  "manifestVersion"2,

  // If true, the component can only be installed on sites where Custom Script is allowed.

  // Components that allow authors to embed arbitrary script code should set this to true.

  // https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f

  "requiresCustomScript"false,

  "supportedHosts": ["SharePointWebPart"],

  "preconfiguredEntries": [{

    "groupId""5c03119e-3074-46fd-976b-c60198311f70"// Other

    "group": { "default""Other" },

    "title": { "default""WebPart01" },

    "description": { "default""Demo eines SharePoint Webparts" },

    "officeFabricIconFontName""Page",

    "properties": {

      "description""WebPart01"

    }

  }]

}


0,00 €