Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConvertTo-PnPClientSidePage : Cannot bind positional parameters because no names were given. #624

Open
rajeshlohar opened this issue Apr 19, 2022 · 0 comments

Comments

@rajeshlohar
Copy link

rajeshlohar commented Apr 19, 2022

Thank you for reporting a bug. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!

Problem Area

[ ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please
describe thoroughly the enhancement, how it can be achieved, and expected benefit.

Observed Behavior

If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.

Steps to Reproduce

Run Connect-PnPOnline -Url https://xxx.sharepoint.com/publishing site
Run Export-PnPClientSidePageMapping

$result = ConvertTo-PnPClientSidePage -Identity "xxx.aspx" -PublishingPage -TargetConnection $targetConnection -PublishingTargetPageName "xx.aspx" -PageLayoutMapping "C:\xxxxxx\xxxxxxxx-f07a6373-9ba9-4aca-93b6-1e348ae932c7.xml" -Connection $sourceConnection -TargetWebUrl "https://xxxxxxxxx.sharepoint.com/sites/xxxxxxxxx" -Overwrite

Submission Guidelines

Delete this section after reading

  • All suggestions or bugs are welcome, please let us know what's on your mind.
  • If you checked the "Page Transformation: Error during the use of page transformation from PnP PowerShell" checkbox then please provide:
    • The output you see in your PowerShell session
    • The output generated by calling Get-PnPException
    • The PnP PowerShell version. Run get-module -Name SharePointPnPPowerShellOnline and copy the version info
  • If you checked the "Page Transformation: Error during the use of page transformation from .Net" checkbox then please provide:
    • The exact error message you get
    • The stack trace of the error
    • The version of the SharePointPnP.Modernization.Framework.dll assembly

Thanks for your contribution! Sharing is caring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant