Showing posts with label Access on ContentBD for deployment using PoweShell. Show all posts
Showing posts with label Access on ContentBD for deployment using PoweShell. Show all posts

Sunday, 26 May 2019

Hide Site Content and other Layout pages using spfx

Hide Site Content using SPFX extension

1. Create a SharePoint group "HideApplicationPages" .
2. Deploy package in App catalog "hide-application-pages-with-site-content.sppkg".
3. Add App on SharePoint site where you  want to hide the site content.


Download package from here Click here


Monday, 14 March 2016

Access on ContentBD for deployment using PoweShell


1. Open PowerShell window "Run as Administrator"
2. put in below script desired SiteCollectionName and UserName whom need to grant permission.



$contentdb = Get-SPContentDatabase -Site http://serverName/sites/siteName
Add-SPShellAdmin -UserName 'domainName\userloginid' -database $contentdb