New answers tagged

1

Perform below steps to Install PSE into Sitecore: Go to the Sitecore Download website from https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/9x/Sitecore_Experience_Accelerator_930.aspx Click on the highlighted link in red and Download the SPE version for SC 9.3 Install the SPE module with your SC instance. For more details about the SPE ...


0

See this conversation here on github as @WulfgarDK is saying above - https://github.com/SitecorePowerShell/Console/issues/912 But this was not the reason in our case. We had the same issue and solution was to enable Spe.IdentityServer.config at \inetpub\wwwroot\website\App_Config\Include\Spe. OOTB this file comes with Sitecore Powershell module as disabled. ...


5

I managed to get it working using this approach: $item = Get-Item -Path "master:{F4819743-C9D5-48A4-911B-017F8BA1415C}" # Change the name 'ShowRule' to whatever your rule field is called $renderer = New-Object Sitecore.Shell.Applications.Rules.RulesRenderer ($item.ShowRule) $sw = New-Object System.IO.StringWriter $renderer.Render($sw) $records = ...


3

Assuming your markedItemIds.txt file contains comma separated IDs like {ID1},{ID2}, based on your powershell script I was able to filter the referrer ID's using: $allImages = Get-ChildItem -Path 'master:/sitecore/media library/Images' -recurse -Language * -Version * $results = @(); $ItemIdList = Get-Content -Path 'D:\markedItemIds.txt' $allImages | ...


Top 50 recent answers are included