Unanswered Questions
89 questions with no upvoted or accepted answers
8
votes
1
answer
1k
views
Sitecore Powershell SPE 5.1 "Could not validate access using the provided credentials" error
I have written the SPE powershell script in my local Sitecore 9.1.1 sandbox environment and trying to execute, it is asking session elevate privilege to enter credentials. Even though I am entering ...
8
votes
2
answers
641
views
Good workflow for SXA PowerShell scripts
I am trying to find a good way to work with PowerShell scripts that we use for SXA such as for scaffolding.
I have tried the PowerShell ISE client that was built into Sitecore but sometimes the UI was ...
5
votes
0
answers
302
views
How to add experience editor button with Sitecore Powershell?
I've created a script to aid editors publishing components on a page, and I've added it to the content editor item context menu, but I can't work out how to add a button to do the same from the ...
5
votes
0
answers
232
views
CI/CD Sitecore challenge: going from "wipe" to "overwrite"
We are set to release a large Sitecore-based system in a week. Presently the CI/CD process works by effectively republishing everything from a git repository as the source (we use TDS for day-to-day ...
4
votes
0
answers
101
views
Is it possible to install PowerShell Module for Sitecore and SPE Remoting module remotely?
Is it possible to install the PowerShell Module for Sitecore and SPE Remoting module remotely?
I'm wondering if it is possible to install it via ansible to a new Sitecore instance and then remotely ...
3
votes
1
answer
461
views
How to Find the unique rendering ID for a placeholder
We are currently upgrading a site from 8X to 10.2. We are trying to change the dynamic placeholders as per 10.2. But 8.2 dynamic placeholders are of format-
/a/b_1/c_1,
/a/b_1/c_2,
/a/b_2/c_3.
We ...
3
votes
0
answers
236
views
Moving parent item and create alias
I'm working on cleaning up sitecore items where i have bunch of items sitting under various nodes so what i'm trying to archive is to move all under single folder and create alias on the original path....
3
votes
0
answers
418
views
Get workflow history for an item by itemid in sitecore powershell extension - Sitecore 8.1
I need to create a report by Sitecore Powershell Extension where I need to include the details of "Workflow Approver" and "Date on which workflow approved".
I have got the list of referring items for ...
3
votes
1
answer
426
views
How to remove duplicate dynamic placeholders from Final Layout using SPE?
We got duplicate dynamic placeholders assigned in Final Layout. How can I remove the duplicates from the Final Layouts in all the languages?
This is how we are filtering out the placeholders ...
3
votes
0
answers
36
views
Restoring marketing taxonomies with Sitecore powershell extenstion
I am trying to automate Sitecore upgrade from 8.1 to 9.0.1.
In Upgrade steps, There is one step restoring deleted marketing taxonomies, which can easily be done with Url navigation and click button on ...
3
votes
0
answers
162
views
ShowFieldEditor on a media item detaching media
I have a simple script that we're running, where a content editor has bulk uploaded media and they want to go back through and provide attribution to the images (caption, alt text, photo credit) and ...
3
votes
0
answers
2k
views
Show-ListView called from action script display columns from parent Show-ListView
We're using Sitecore PowerShell Extensions to generate some reports.
We have a problem when calling "Show-ListView" from the "Actions" script that is in the parent "Show-ListView" result.
Looks ...
3
votes
0
answers
337
views
How to bulk upload media files and set each item's template to custom template?
I have a directory structure that looks like this:
-- Folder 1
---- Folder 2
------- File 1
---- Folder 3
------- File 1
And so on with Folder 1 being the parent folder. When I upload the files from ...
3
votes
1
answer
1k
views
Get-ItemReferrer : Object reference not set to an instance of an object
I am working on Sitecore PowerShell Extensions 5.0.0.42513 with Sitecore 9.0.
I have started facing issue as Get-ItemReferrer : Object reference not set to an instance of an object
Also shown below ...
2
votes
2
answers
147
views
Broken error message within PowerShell Receive-File dialog. Sitecore XP 10.1.2 (rev. 006578)
I have a simple powershell script that invokes file upload into the context item:
Receive-File -ParentItem (get-item .)
If I try to upload existing file (name of the item exists in the same folder) it ...