All Questions
12,741
questions
0
votes
0
answers
15
views
Glassmapper issue with Sitecore 9.3 causing intermittent 500 error on pages [duplicate]
We are experiencing below issue in few of our CD site urls. We tried below fixes, but no luck.
Index rebuild
Restarting CD instance
Validated the memory and CPU load on CD and Redis which looks fine
...
0
votes
1
answer
26
views
Unit testing logic with Template.InheritsFrom [closed]
Conundrum
Is there a way to mock Template.InheritsFrom using NSubstitute? For example, suppose we wanted to write a test checking if item inherits from baseTemplateId. This won't work:
...
0
votes
0
answers
30
views
Next.js Multisite Add-on not working in local containers because of CORS issues
Wondering, has anyone at all managed to make Next.js Multisite add-on work well?
I spent lots of time trying to overcome a CORS issue, which I don't know how to solve. There is a troubleshooting guide,...
0
votes
2
answers
25
views
how to create Sitecore dictionary folder under dictionary domain programmatically
I am trying to insert a new country item under the path /sitecore/content/Corporate/MasterSite/MasterSite Dictionary/Country programmatically.
Is there any way to achieve the above requirement?
0
votes
0
answers
11
views
Sitecore Remote event not consumed by CD servers in AKS setup
We have a custom functionality where a job triggers remote events to execute it. I see the event in the event queue table but its NOT consumed by any of the CD pods in AKS.
It works fine in the ...
0
votes
1
answer
12
views
XM Cloud NextJS - can we publish the specified version of workflow for previewing API instead of latest version?
Given that we have an item with 3 versions, v1, v2 and v3.
Can we select a specified version, eg. v2, of the item for previewing on Nextjs headless? Currently, XM Cloud always publishes the latest ...
0
votes
0
answers
18
views
'Session' does not contain a definition for 'IdentifyAs' and no accessible extension method 'IdentifyAs' accepting a first argument of type 'Session'Z [duplicate]
We are upgrading our Project from 9.3 to 10.3.1
While doing that we were facing error
and no accessible extension method 'IdentifyAs' accepting a first argument of type 'Session' could be found
"'...
0
votes
1
answer
24
views
What are the alternatives to Sitecore 9.3 SXA image gallery components [closed]
I am trying to find some alternatives to built in Sitecore SXA image gallery component. So far I haven't found many. This is to evaluate if it makes sense to buy some component that already out there ...
0
votes
0
answers
20
views
FIlter Sitecore Form Dropdown Value based on other dropdown [duplicate]
I have custom drop-down fields that read data from API's.
I have lot of records in 1 dropdown around 30k. SO i need to filter dropdown value based on value selected in first dropdown.
How to handle ...
3
votes
2
answers
170
views
Create custom RESTful API in XM Cloud
I am new to Sitecore products and my company has just purchased XM Cloud. We have the request to build a backend service to expose APIs so our frontend application (built in NextJS) consumes it. The ...
0
votes
2
answers
36
views
Setup Scheduled Job and custom ribbon in XM Cloud to perform sync action
our team has recently acquired Sitecore XM Cloud, and I am completely new to the Sitecore.
We need to implement a feature where a button in the Content Editor allows marketers or developers to ...
1
vote
1
answer
48
views
The images or media from CD returns http instead of https on Sitecore
I have setup Sitecore JSS project from Getting Started template and I am using XP1 topology with CD and CM on separate containers to simulate actual production environment. However my problem is the ...
0
votes
0
answers
30
views
Invalidated single key on properties database
For persistent storage our system has used Properties database. The value is incremented per request base. this works fine with single server environment as the application context is same. But ...
1
vote
1
answer
25
views
How to set the JVM Memory for Solr running on an Azure App Service
If you are following one of these blog posts on setting up Solr in an Azure App Service (instead of an VM) such as: https://www.getfishtank.com/blog/installing-solr-app-service-in-sitecore-azure-paas, ...
0
votes
0
answers
29
views
Sitecore 10 Developer License [duplicate]
I am inquiring about the availability of a trial version for Sitecore 10 version, typically offered for a limited period, such as 60 days, for developers to explore the platform's capabilities.
For ...
1
vote
0
answers
27
views
BundleTransformer AssetTranslationException error
I am using BundleTransformer for bundling the css and javascript. This is working fine with my Sitecore 9.3's MVC solution. I just upgraded sitecore to 10.3 and deployed the managed code. There is an ...
0
votes
1
answer
37
views
Is there a quick way to include all dependent items in a Sitecore package
Currently, I would add item by item in the Package Designer.
Is there a way to add just the page item and it would include all its dependent/associated items in the package, e.g.: Templates, ...
0
votes
0
answers
13
views
How to create "read only" version of the 'Sitecore Client Account Managing Role'?
As per the title, I am trying to create a role which can read-only/view User Accounts - Similar to a "read only" version of the 'Sitecore Client Account Managing' role.
As far as I know ...
2
votes
0
answers
41
views
Modify the domain name for media items in XM Cloud
On our XM Cloud site built using Nextjs the URL for media items is structured as follows: https://edge.sitecorecloud.io/prod/media/project/videos/video1 and it currently works correctly. However, my ...
1
vote
3
answers
35
views
How to publish an item to multiple targets at a time, by using powershell script
I am working with Sitecore 10 and using powershell 6.2 version when trying to publish an item to multiple targets at a time, getting an error while using this SPE code:
Publish-Item -Item $item -...
0
votes
0
answers
35
views
Problem with CD Environment after installing SXA (SC 10.2) [closed]
I added Sitecore SXA to the current instance using the glass mapper from the instructions on the Sitecore website. On CM it works fine, however on CD, it gets an error related to the glass mapper and ...
0
votes
0
answers
10
views
Sample M.Content export profile for exporting a reference field
I am looking to export M.Content items including column where I have used Reference fields. I can't figure out how M.Content relates the Reference field types.
My sample reference field (...
0
votes
0
answers
34
views
Get List of all template fields
I have to generate a list of all fields in a template with 3 columns, FieldName, Section of that field, and the name of the template that field is inherited from using Sitecore PowerShell
0
votes
0
answers
46
views
How to add parameter to custom form submit action
I'm new to sitecore development so am possibly missing some basic concepts, but using sitecore 9.11 I've managed to create a custom form submit action, that sends an email with the form values so a ...
3
votes
1
answer
88
views
xDB index rebuild gets stuck and get Request Entity Too Large exceptions
I encountered an issue during a manual trigger of an xDB index rebuild. The process appears to get stuck at approximately 7%, and despite waiting for hours, there's no further progress.
Upon ...
0
votes
0
answers
35
views
Sitecore.NET 10.1.0 (rev. 005207) Google recaptcha Implementation issues [closed]
I am integrating Google reCaptcha for my Sitecore forms.
I have followed all the steps that have been mentioned in the below documents.
https://www.addact.net/how-to-implement-google-recaptcha-field-...
1
vote
3
answers
70
views
How would i change the values of a particular attribute inside of an XML string value in sitecore
im trying to change the value of target to "" inside of an XML string value.
Heres what ive got so far:
New-UsingBlock (New-Object Sitecore.Data.BulkUpdateContext) {
# Get Home items
$root =...
2
votes
0
answers
34
views
Sitecore Forms onclick of back button clearing data
I have a country field in Sitecore Forms which gets data populated from AJAX call on page load.
When I enter all the values in the form and navigation to next page all the fields looks fine.
I am ...
0
votes
0
answers
24
views
Is it possible to install Sitecore in local for free? [duplicate]
Is it possible to install in local for free just for learning purpose? . please help me with it.
0
votes
1
answer
16
views
Boosting rules do not work in Sitecore Search
I am trying to configure a boosting rule for my Search Results widget. The rule should boost documents with a specific value in one of the attribute. I have made this attribute available for boosting ...
0
votes
0
answers
15
views
Unable to login to Sitecore Content Hub due to basic authentication set to false and external authentication not working
I'm unable to login to Content Hub due to my external authentication which is set to Sitecore, routing to the not found page and I have disabled basic authentication.
So I'm locked out of the content ...
0
votes
1
answer
33
views
Custom Submit Action Not Getting Called [closed]
Sitecore Version - 9.3
I have created a custom submit action but it is not working. It is not even getting called when I hit with debugger.
Submit Action Code -
using Sitecore;
using Sitecore.Data;
...
3
votes
1
answer
48
views
SwitchOnRebuildSolrCloudSearchIndex not working with manual update strategy
Our Sitecore 9.3 platform has a custom index called "OurProject_crawledcontent" which is used by the search functionality on the main website. This index is rebuilt by a Sitecore task every ...
1
vote
0
answers
22
views
Getting error while deploying SCS $name item via AzDo pipeline: "Unable to find item data for $name"
We're working with Sitecore 10.2 and utilizing the Sitecore Content Serialization CLI. During the deployment of serialized items in the Dev environment using the Powershell SCS package installation (...
0
votes
2
answers
79
views
How to get child items specific format
I need show the product and Version from the below folder structure. Please help to achieve on this.
Requirement Screen Shot
Sitecore Folder Structure
So far I wrote some code for review
var item = ...
0
votes
0
answers
9
views
Creating M.ContentVersion from the WebClient SDK
I am writing a job that reads from a JSON file and creates new M.Content items using the WebClient SDK. The ask is to create a new M.Content item if it doesn't already exist, otherwise create a new ...
0
votes
1
answer
43
views
Iterating through a linklist in sitecore via a powershell script
ive currently got a powershell script in sitecore which goes through the Home directory and changes the target value for all general links to "Active browser"
What i would now like to do is ...
1
vote
0
answers
19
views
Any way to prevent "[LOGMONITOR] ERROR: Error in log file monitor" entries in Docker logs?
I am not experiencing a specific issue, however, I frequently see these types of Docker log entries coming from my cm and cd Docker services:
[LOGMONITOR] ERROR: Error in log file monitor. Failed to ...
1
vote
1
answer
55
views
How to Handle 500 error Page in Sitecore Headless
I have created a custom 500.tsx page under the pages folder. But still, I am unable to get my 500 page working, instead, it shows the default error message.
I have tried deleting my custom 500 pages ...
0
votes
2
answers
34
views
Non admin users not able to lock and Edit Items which are getting generated by Data Provider [closed]
There is a Data Provider implemented in the solution which is creating items in my Sitecore solution from an SQL server database. The implementation was done by someone else so I am not too sure what ...
1
vote
1
answer
26
views
How can we remove the renditions from the renditions list
In Content Hub how can we remove the renditions from the Renditions list on the Asset detail page that were deleted from media processing?
I have already tried refreshing renditions with all options, ...
1
vote
0
answers
23
views
How to find out unused items
The CMS has many duplicate/redundant items and I would like to delete them.
When I select an item (say Item-A) and check Navigate > Links, there are no items that refer Item-A.
But, somewhere else, ...
0
votes
1
answer
47
views
Is it possible to reuse the Manage Items functionality in Pages on our own components?
The Link List component that ships with XM Cloud + SXA allows you to add and remove links which are just child items on the datasource item. Can we reuse this functionality on our own components, for ...
0
votes
0
answers
12
views
SXA search result API is not giving the result for the custom index on newly setup preview CD based on publishing target
We have created the custom indexes on the newly set CD server based on the new publishing target using docker. Please quickly check one of the posted questions to get an idea of how I've set up the ...
1
vote
1
answer
26
views
How to find unlinked fields on a clone?
I am writing a Sitecore PowerShell Extensions script to determine which fields on a cloned item are unlinked from its original item. The easiest check is to compare the field value of the original and ...
0
votes
0
answers
42
views
Sitecore9.0.1 Error Code:ERROR_DACFX_NEEDED_FOR_SQL_PROVIDER. SqlSysClrTypes(x64) ,SqlDom(x64) is missing in default location which I was installed [duplicate]
I am trying to install Sitecore 9.0.1 but I got below error
[---------------------------------------------- InstallWDP : WebDeploy -----------------------------------------------]
[WebDeploy]:[Path] C:...
0
votes
1
answer
38
views
Map droplist field in SearchResultItem not working
I have a template EventPage defined several attributes, datetime, single-line text, droplist etc.
I defined a EventPageSearchItem inherit from SearchResultItem as follows:
public class ...
2
votes
0
answers
35
views
Glass 5.8 language fallback seems to be working differently to 5.4
We’ve upgraded from Sitecore 9.02 to 10.3 and also GlassMapper to 5.8. We have a strange situation, where in Glass 5.4/Sitecore 9.02 if there is no specific version of an item for a language it would ...
0
votes
0
answers
37
views
Order search results by frequency of the search item (Wildcard and substring)
Extending my previous question
We have a requirement to order search results based on the number of occurrence of the search term (wildcard and substring) in a list of fields(not all the fields).
Ex :
...
0
votes
1
answer
41
views
How to post a MVC form in Sitecore controller rendering?
I am trying to develop a MVC controller rendering to achieve the following goal:
the view has a textbox and a button, some dropdowns such as topics, and sorted by
when user click on the button, I ...