Apr 18 2017 10:52 PM
Apr 18 2017 10:52 PM
Good Day Everyone !!
My client has requested for the responsive design to be applied in their project which is an On-Permise. And I tried using the Pnp Responsive package, but somehow i'm getting the below issue.
--> The Connect-PnpOnline was found in the module 'SharePointPnPPowershell2013', but the module could not be loaded. For more information, run 'Import-Module SharePointPnPPowershell2013'.
I have tried everything and still the above issue persists. Any of you have idea on how to correct this ? Or any other solutions ?
Apr 19 2017 07:18 AM
Apr 19 2017 07:46 AM
Hi Luis,
Appreciate your response. I went through the path C:\Program Files\WindowsPowerShell\Modules and found 2 folders.
1. PackageManagement
2. PowerShellGet
And, the Install-Module SharePointPnPPowerShellOnline is for SharePoint O365 only right (Correct me if i'm wrong) ? I'm looking the solution for On-permise. Do you have any idea for On-Permise ?
I'm getting the error mentioned in the image.
Apr 19 2017 07:57 AM
Apr 19 2017 09:01 AM - edited Apr 19 2017 09:02 AM
After, getting the error, I used the command Install-Module SharePointPnPPowerShell2013. Installed the supporting files using PS and, i get the same problem after installing this.
The command Connect-PnPOnline seems to be mentioning the O365. Do you know the alternate keyword for On-Permise ? May be like Connect-PnpOnPermise kind of. I have also installed the SharePointPnPPowerShell2013.msi file(FYI). And then executed the .\Enable-SPResponsiveUI.ps1 -TargetSiteurl. Still the same error occurs.
Apr 19 2017 11:00 PM
Apr 19 2017 11:00 PM
Please take a look at this blog it may help you https://rencore.com/blog/using-the-officedev-pnp-powershell-cmdlets-for-both-on-prem-and-in-the-clou...
i could not find a different way of connecting then you descripted
Apr 19 2017 11:02 PM
Apr 19 2017 11:02 PM
Apr 22 2017 01:00 AM
Apr 22 2017 01:00 AM
Apr 23 2017 10:40 PM
Apr 23 2017 10:40 PM
It seems you have a xml reference to a file locally which does not exists are you sure the path is the same and the file is there?
Apr 23 2017 10:45 PM
Apr 23 2017 10:45 PM
Yes. When i copy and paste the url "http://hvsp10/sites/mysimplesite/style library/sp.responsive.ui/sp-responsive-ui.js" im able to download the js file. Also, i have the xml file placed in the same folder. Please refer the image.