Closed RaghuRider closed 5 months ago
Can you provide a video or animated gif of what you experience?
Hi @michaellwest ,
Please Refer the Video I had explained the issue, let me know if you need any further details
https://github.com/SitecorePowerShell/Console/assets/27493687/f44c8a21-281e-48e4-8002-6148a23a7ba9
Hi @michaellwest , Please let me know, if you can help me in this to fix
While it would not be impossible to solve - this issue creates a lot of edge cases.
I suggest we close this issue for now and if there is more interest, it can get reopened again.
Can now be done using the functionality implemented in #1340
Implemented as part of #1316
Expected Behavior
Post rename the item name using the PowerShell script it should update in the content tree with new name without refreshing the parent item or closing and opening Please describe the expected behavior.
Actual Behavior
Displaying the OLD name in the Content Tree until user refresh the parent item in the content tree or close and opens it [again] Please refer the below code for the reference which I am using (` try {
Get context page name (old role name)
Get SitecoreContextItem Item of the Microsite.
$ContextItemID = $SitecoreContextItem.ID.ToString() $name = $name.Trim() if ($name -eq "") { Exit }
} catch { $errorMessage = $_.Exception.Message Write-Host "An error occurred: $errorMessage" }`) Please describe the actual behavior.
Steps to Reproduce the Problem
Please include the version number of SPE and Sitecore. Sitecore version is 10.1.1 and PS version is 5, Please let me know how to resolve this issue.
[ ] Tested issue with clean install of Sitecore and the latest available version of SPE.
[ ] Asked questions on the Sitecore Slack Chat channel.
[ ] Reviewed questions and answers on the Sitecore Stack Exchange.