I am trying to perform deserialization with Sitecore Powershell Extensions 251. I cant get deserialization to work. Here is what I did :
I serialized the item sitecore\content\settings\testItem. Serialization was successful, package was created.
Get-Item "master:\content\settings\testItem" | Serialize-Item -Recurse
I delete the item sitecore\content\settings\testItem and try to deserialize it with the command :
Deserialize-Item -Path master:\content\settings\TestItem -Recurse
I get the following exception :
writeErrorStream : True
Exception : System.Exception: path is not under the root
bei Sitecore.Data.Serialization.PathUtils.GetShortPath(String path)
bei Sitecore.Data.Serialization.Manager.LoadTree(String path, LoadOptions options)
bei Cognifide.PowerShell.PowerShellIntegrations.Commandlets.Serialization.DeserializeItemCommand.Deserialize(String path)
bei Cognifide.PowerShell.PowerShellIntegrations.Commandlets.Serialization.DeserializeItemCommand.ProcessRecord()
bei System.Management.Automation.CommandProcessor.ProcessRecord()
TargetObject :
CategoryInfo : NotSpecified: (:) [Deserialize-Item], Exception
FullyQualifiedErrorId : System.Exception,Cognifide.PowerShell.PowerShellIntegrations.Commandlets.Serialization.DeserializeItemCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {0, 1}
PSMessageDetails :
I have searched the web, but I could not find documentation/examples for deserialization. Can anyone write me how to do the deserialization, and if available, refer to the documentation or example resources on the web?`
Thanx