SharePoint Site Design - Auto Provision Custom SPFx solutions

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 3

  • @m365techhelp
    @m365techhelp  3 роки тому

    connect-PnPOnline -Url
    640bc02e-a777-4990-b49b-a6a6d5b9b1d3
    step 1 : Get-PnPApp
    step 2: COpy ID of App
    step 3: Update site script
    $site_script = '
    {
    "$schema": "schema.json",
    "actions": [
    {
    "verb": "installSolution",
    "id": "640bc02e-a777-4990-b49b-a6a6d5b9b1d3"
    },
    {
    "verb": "associateExtension",
    "title": "FeedbackAppCustomizerApplicationCustomiz",
    "location": "ClientSideExtension.ApplicationCustomizer",
    "clientSideComponentId": "1f77ea70-27c1-4cf4-95a2-da9c39451436",
    "scope": "Web"
    }
    ],
    "bindata": { },
    "version": 1
    }'
    ## Add script to SPOSiteScripts
    Add-SPOSiteScript -Title "ApplyFeedbackCustomizer" -Content $site_script -Description "Applying custom Feedback for XIMIT"
    9a8392f2-0fce-4e23-8565-cf23a48f7a37
    ## Add script to SPODesign
    Add-SPOSiteDesign -Title "XIMIT App Customizer" -WebTemplate "64" -SiteScripts "9a8392f2-0fce-4e23-8565-cf23a48f7a37" -Description "Applying custom solution for Feeback"

  • @dr.umeshpathak7041
    @dr.umeshpathak7041 3 роки тому +1

    Excellent 👍