Michael West
  • Member for 5 years, 4 months
  • Last seen this week
SOLR search field type of "textCollection" and "Coordinates" are not generated in schema.xml when using SXA
2 votes

We found that adding the following to the schema.xml in your Solr cores for master and web helped get the search working for content and geospatial searches. <dynamicField name="*_tm" type="...

View answer
Getting and setting the order of renderings/sublayouts on a page
1 votes

Exploring the commands Get-Rendering and Set-Rendering I found out this: The index of the renderings in the raw xml matches the ordered when calling Get-Rendering. Perhaps the "index" information you ...

View answer
SPE Remote Script Call Nullreference Exception
Accepted answer
1 votes

Potential fix scheduled for release with SPE 5.0. There are appears to be a concurrency issue in SPE that may be addressed with issue 997. Example: The following warms up the Sitecore instance and ...

View answer
SXA Item Queries vs Search Scope
Accepted answer
3 votes

The two features are similar in that they make use of the Query Builder field type, and are used in searching for items by SXA. Item Queries is used by list components such as the following: Archive ...

View answer
Broken Links Report Options Powershell vs. Fast Query?
4 votes

You can have a look at the following answer for several ways to query items in PowerShell. I would suggest you try the call to Axes to get items fast. $mediaItemContainer = Get-Item "master:/media ...

View answer
Redirect Maps for wildcards not working
Accepted answer
2 votes

I believe there is some logic in SXA to ensure that the text is actually a regular expression. It should start with ^ and end with $. Try this format: ^/careers/job-opportunities(/.*)?$

View answer
SPE How to add multiple items to package source
Accepted answer
9 votes

The script we use to bundle up SPE can be found here: /sitecore/system/Modules/PowerShell/Script Library/Platform/Development/PowerShell Extensions Maintenance/Prepare Console Distribution. From the ...

View answer
Sitecore Powershell Script to find all the items with Personalizations defined
6 votes

If you combine the answer from @Anton and @Sreekrishnan you get a nice and fast report. $query = "fast:/sitecore/content//*[@__renderings='%<conditions%' or @#__Final Renderings#='%<conditions%'...

View answer
Why do my movie genres come back empty in XA.Reference while using Solr?
2 votes

After discussing with Saul in the Sitecore Slack Chat, he pointed out that the field name needs to match what is in Solr. I suspect this is the case because it's not a custom computed index field, ...

View answer
Sitecore SXA vs. Hedgehog Feydra
Accepted answer
8 votes

SXA and Feydra are two completely different products attempting to solve completely different requirements. It's like comparing a convenience store (7-11) to a specialty drink store (Smoothie King). ...

View answer
Provide permission to one user to unlock items which are locked by other user in CE
5 votes

Below is a script I used as part of a Ribbon command in SPE. $item = Get-Item -Path . $user = Get-User -Id "sitecore\admin" New-UsingBlock (New-Object Sitecore.Security.Accounts.UserSwitcher $user) { ...

View answer
Set accessor for property "Proxy" unavailable - Sitecore PowerShell Extensions
1 votes

The reason you get this is because the Timeout value is intended to be in seconds. The proxy timeout being set is in milliseconds. I wrote the code to multiply it by 1000; therefore [int]::MaxValue * ...

View answer
Convert files to PDF when uploading to media library
Accepted answer
2 votes

No, there is no built-in way to do this. You can build a module that converts the files to PDF using iTextSharp, PhantomJS or Puppeteer. Once upon a time @adamnaj wrote a script to export media ...

View answer
How to get the current language in a Sitecore Powershell editor (context menu) script?
Accepted answer
5 votes

There are several variables found in the book which should make your life easier authoring scripts. The following variable will give you the language for the script item. $SitecoreContextItem....

View answer
How to upload an image programmatically from URL
5 votes

There are many great approaches to this as seen by the list of responses to this question. I would however recommend a solution that is very repeatable and perhaps more automated. Sitecore PowerShell ...

View answer
How to pass arguments to SPE's Invoke-RemoteScript
Accepted answer
8 votes

The SPE Gitbook provides some alternate examples using the $using:VARIABLE syntax. Example: The following will pass the $data object into the scriptblock for remote execution. Import-Module -Name ...

View answer
How do you resolve a MongoDB 'connection string is not valid' after upgrading?
Accepted answer
8 votes

The MongoDB driver between the two version changed, which includes a refactoring of the validation for connection strings. Checking with MongoDB.Driver.dll the version details can be seen as the ...

View answer
Number of concurrent Sitecore Users
4 votes

I found that checking through the API can be achieved. Here is an example using Sitecore PowerShell Extensions. PS master:\> [Sitecore.SecurityModel.License.LicenseManager]::GetEditorUserCount() ...

View answer
Package installation hangs on Sitecore 8.1
4 votes

Turns out there is quite a bit to consider with this one. Disabling the Analytics and Xdb are two separate tasks that need to be performed depending on the version of Sitecore. I ended up creating a ...

View answer
How do you create a random desktop background image like that in Windows?
Accepted answer
3 votes

Turns out that the contributors to the Sitecore PowerShell Extensions module thought of everything. Bundled with the module is a script under the script module Random desktop background. The script is ...

View answer
Are there any differences between Sitecore update version vs patching?
5 votes

There are two conditions in which I've encountered that relate to updates and patches. Upgrade with Updates Upgrade Sitecore versions using the .update package when moving from Sitecore 8.2u4 to 8....

View answer
Running PowerShell scripts without using Sitecore PowerShell Extensions module
4 votes

There is an option of performing the minimal installation, which does not make use of Sitecore items. You can find more details on the security page in the book. The Sitecore Marketplace has the ...

View answer
Adding custom javascript for a custom rendering in SXA
Accepted answer
3 votes

This is part of the standard setup for SXA themes. Sitecore outlines theme creation here. Simply add the script to the theme found in the media library. As for page specific, this question on SSE may ...

View answer
Sitecore PowerShell Extensions Remoting variables not working in Octopus Deploy
Accepted answer
2 votes

Without having an instance of Octopus Deploy, here are some items for consideration: The syntax $using:VARIABLE_NAME is used in the context of a remote server command. So you will only see it for a ...

View answer
Does Sitecore website performance improve when serving traffic over HTTP2
Accepted answer
3 votes

The usage of HTTP/2 is not specific to Sitecore. In fact, you could take advantage of this even for a static html site. You may find that browsers supporting HTTP/2 will only do so over TLS, so be ...

View answer
Sitecore Mixed Content error for workflow
5 votes

In my case we have a load balancer terminating TLS and then passing decrypted traffic to the backend CM server on port 80. The only solution we could get working is to add a the header Content-...

View answer
What are Composite Renderings/Components in SXA
Accepted answer
4 votes

In SXA, composite components are ones that get layered together. Think of the Tabs or Accordion components. Each of these require you to add a primary component, then add secondary components. The ...

View answer
What is the call depth limit in Sitecore PowerShell and can it be overridden?
Accepted answer
6 votes

There are two points to consider. Call Depth Limit Windows Powershell may have a call depth limit of 100. Consider changing your code to use tail-recursion trampolines as pointed out in the article ...

View answer
SXA How to create site using wizard
Accepted answer
3 votes

After you create a new Tenant you should see a new context menu for creating a site. If the insert option does not appear on the Tenant item then there may be an issue with the install. There may ...

View answer
Replace or Update Base Template of a Template
Accepted answer
2 votes

I imagine you are headed in the right direction when it comes to adding and removing base templates. You can use this command to help you determine when items are referring to a given template. # Id ...

View answer
1
4
5
6 7 8