You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have narrowed the issue to the Thumbnails view of the Picture view, but I don't have the skill to figure out WHY
This script will create a new site, add the Picture library, extract the XML version of the template, create a new test site, apply the template to that site. You will now see that the Quick Edit option is missing.
Delete the Picture library in the test site, and manually delete the "Thumbnails" view and apply the template again and now the Quick Edit option is there as expected
$testsite = New-PnPSite -Type TeamSite -Title 'QuickEditTestsite' -Alias "QuickEditTestsite" -Connection $conn
$testsiteConn = Connect-PnPOnline -Url $testsite -Interactive -ReturnConnection
Invoke-PnPSiteTemplate -Path C:\temp\MissingQuickEditIssue.xml -Connection $testsiteConn
#note that the Quick Edit options are missing in the TestPictureLibrary list
break
Remove-PnPList -Identity "TestPictureLibrary" -Connection $testsiteConn -Force
#Edit the XML file, remove the Thumbnails view from the list TestPictureLibrary and apply the template again
Invoke-PnPSiteTemplate -Path C:\temp\MissingQuickEditIssue.xml -Connection $testsiteConn
#note that the Quick Edit is available now
break
The text was updated successfully, but these errors were encountered:
I have narrowed the issue to the Thumbnails view of the Picture view, but I don't have the skill to figure out WHY
This script will create a new site, add the Picture library, extract the XML version of the template, create a new test site, apply the template to that site. You will now see that the Quick Edit option is missing.
Delete the Picture library in the test site, and manually delete the "Thumbnails" view and apply the template again and now the Quick Edit option is there as expected
$conn = Connect-PnPOnline -Url "https://[YourTenant].sharepoint.com" -Interactive -ReturnConnection
$referencesite = New-PnPSite -Type TeamSite -Title 'QuickEditissueSite' -Alias "QuickEditissueSite" -Connection $conn
$referencesiteconn = Connect-PnPOnline -Url $referencesite -Interactive -ReturnConnection
New-PnPList -Title "TestPictureLibrary" -Template PictureLibrary -Connection $referencesiteconn
Get-PnPSiteTemplate -Out C:\temp\MissingQuickEditIssue.xml -Force -Connection $referencesiteconn -ListsToExtract "TestPictureLibrary"
$testsite = New-PnPSite -Type TeamSite -Title 'QuickEditTestsite' -Alias "QuickEditTestsite" -Connection $conn
$testsiteConn = Connect-PnPOnline -Url $testsite -Interactive -ReturnConnection
Invoke-PnPSiteTemplate -Path C:\temp\MissingQuickEditIssue.xml -Connection $testsiteConn
#note that the Quick Edit options are missing in the TestPictureLibrary list
break
Remove-PnPList -Identity "TestPictureLibrary" -Connection $testsiteConn -Force
#Edit the XML file, remove the Thumbnails view from the list TestPictureLibrary and apply the template again
Invoke-PnPSiteTemplate -Path C:\temp\MissingQuickEditIssue.xml -Connection $testsiteConn
#note that the Quick Edit is available now
break
The text was updated successfully, but these errors were encountered: