Provision the PnPAlert only from the Starter Kit but this seems to fail with a JavaScript Error

Regular Contributor

Hi

 

I have successfully provisioned the starter-kit on our (FR) test tenant and was able to demonstrate the PnPAlert ( application customiser).  Next steps are to demonstrate this functionality in another  hub site ( on the same tenant).

 

  1. created  provisioning template from my target site
  2. In the resultant xml template file I copied the following markup frm starterkit.xml for: site fields, PnP Alert content type ,  List instance and Custom Actions
  3.  Applied my provisioning script

 

 

Connect-PnPOnline -Url $SourceSiteUrl -UseWebLogin
Apply-PnPProvisioningTemplate -path .\my-provisioningTemplate.xml

# for small changes to the script I simply selected the relevant handlers
Apply-PnPProvisioningTemplate -path .\my-provisioningTemplate.xml -Handlers CustomActions
Apply-PnPProvisioningTemplate -path .\my-provisioningTemplate.xml -Handlers Lists​

 

 

  •  Add an Alert item to the Alert List:
  • Alert item.png
  •  Waited , waited and..... nothing happens:sad:
  •  
  • Issue wih GroupComms site.PNG
  • Did some dfurther checks 

 

 

Get-PnPCustomAction

Name              Location                                  Scope Id
----              --------                                  ----- --
DiscussNow        ClientSideExtension.ListViewCommandSet    Web   71cd5d36-f198-4ec2-9dfc-6eab524fc194
AlertNotification ClientSideExtension.ApplicationCustomizer Web   5c92d46c-6c28-48ae-8cf2-f31eb2b37f53

# Also ensured custom scripting works
 Connect-SPOService -Url $adminSiteUrl
 Set-SPOsite $sourceSiteUrl -DenyAddAndCustomizePages 0

 

 

 

I am obviously missing a dependency but I have no idea what this is. 

 

 

0 Replies