All Questions
12,017
questions
6
votes
1
answer
140
views
How can I update my photo on the Sitecore MVP Directory?
I am (used to be) a Sitecore MVP and I appear in the Sitecore MVP Directory.
How can I upload or change my photo?
0
votes
1
answer
36
views
Results not filtering by language
I have an item which has 2 language versions - English & Chinese.
This Search query is returning both versions when the expected is only English.
Not passing the languageCode so by default it is ...
1
vote
1
answer
63
views
How is robots.txt content created
This is a multisite implementation with sites under one tenant. There is no robots.txt file in the root.
This is what I have tried:
I have cleared the content for Robots content field for all sites. ...
1
vote
0
answers
39
views
How to render link / text field as seamless button in Experience Editor
Imagine we have a link field ctaLink and a text field ctaText which are rendered as follows:
<div className={styles['cta']}>
<Link field={fields?.ctaLink as LinkField} className={styles['...
0
votes
0
answers
24
views
SXA Creative Exchange Upload Action is failed using gulpBuildMain
I'm working on Sitecore 10.2 with SXA. I'm creating a theme and tried to upload the same using gulp commands like gulp buildMain but facing the issue.
Status code:500
Answer:<!DOCTYPE html>
<...
0
votes
1
answer
55
views
Sitecore Form Thankyou message popup is showing directly when trying to open the form 2nd time
I have Sitecore form which shows thank you message as a popup. So once form is submitted and when user again tries to open the form(2nd time after submitting successfully) by clicking on form link it ...
0
votes
2
answers
60
views
Experience editor - not able to edit renderings or make changes to page layouts
We are using Sitecore 9.3 and facing issues with the experience editor only for some specific page items. We are unable to make any edits to the renderings in the Experience editor (Basically the ...
0
votes
1
answer
25
views
Details component for Taxonomy - Self items
I am creating a detail page for a taxonomy value and I want to show only the Parent field.
My problem is Details component only allows me to show Self items field, that shows both Child and Parent, ...
0
votes
1
answer
34
views
C:\WINDOWS\TEMP\*.cs could not be found
I deleted all the files from the temp directory (C:\Users\Username\AppData\Local\Temp) as my local instance was loading too slow.
And now the Content Editor doesn't load.
I tried deploying all the ...
1
vote
1
answer
22
views
Reorder the top menu items
I want to reorder the top menu items. Is it possible?
Thank you!
0
votes
0
answers
31
views
SVG file showing as plain image in image component
I am using Sitecore 9.1 with SXA 1.8. I have uploaded SVG file under media library. It is showing perfectly there but when I am trying to get it on the image component then it is showing as a plain ...
0
votes
1
answer
44
views
Unable to create API Key
I have superuser access and created a CMP Content Collection. Added an existing item of Type - Advertisement.
When I try to create an API key, it does nothing.
In the console I see this error -
500 &...
1
vote
1
answer
78
views
Resource files synchronization failed due to service error
In Sitecore 10.2 we're seeing the following errors in the publishing logs (App_Data\logs\Publishing.log.20230220.113941.txt):
10820 11:39:52 INFO Started synchronizing resource files with Publishing ...
0
votes
1
answer
111
views
Provided SSC API Key is not valid
Likely a fringe case, but one that took a few days to track down.
If you get the following error response from the GraphQL UI:
"Error": "Response not Successful: Received Status Code ...
0
votes
1
answer
28
views
Automatically assign a specific user group and modules to a new user
I want to automatically assign a specific user group and modules to a new user. I was able to successfully assign the user group with DefaultUserGroups property, but I can't find how to assign the ...
0
votes
3
answers
118
views
Modifying session timeout for content authors not working
We are working on Sitecore 10.2 Instance, where we want the Content Author to be logged out after 5 minutes of inactivity.
For that, we have made the changes in the below files, but it didn’t work:
...
0
votes
0
answers
24
views
How do I configure a Trigger action on entity duplication
A duplicate operation for entities exists within Content Hub. How can I configure a trigger to fire an action when an entity is duplicated`?
0
votes
2
answers
471
views
The expected type comes from property 'field' which is declared here on type 'IntrinsicAttributes & TextProps'
In terms of Sitecore NextJS, I'm a complete beginner. This problem is beyond my knowledge. Please assist me in resolving the following issues.
Complete Code:
import {
Text,
Field,
...
1
vote
1
answer
42
views
Automatically add a javascript when a certain form field is added
I understand that in order to add a script in Sitecore Forms, I must add it in the script field of the form. However, this could be cumbersome for the content editors since they would have to add the ...
1
vote
1
answer
52
views
Sitecore Unit Testing Trouble w/ NSubstitute and Nunit
I am newer to Sitecore and extremely new to its unit testing. been following examples online that mimic exactly what I am trying to accomplish but I seem to be getting an object reference(you will see ...
0
votes
0
answers
22
views
How to organize bucketable items automatically without clicking the sync option every time after creating a bucketable item [duplicate]
I have changed the existing template to a 'bucketable item'. When I create a page using that template, I have to click the sync option to create that item in the correct bucket structure (otherwise it ...
0
votes
3
answers
59
views
Solr - How to fetch data by page
There are no results when I apply pagination to the query. But when I comment that code, I get results.
Search log without pagination:
INFO Solr Query - ?q=: AND
val:__boost&start=0&rows=...
0
votes
0
answers
16
views
How to set autocomplete attribute for form fields [duplicate]
Using Sitecore 10.2
I would like to add autocomplete=off for these form fields - Single-Line, Multiline, Email.
Like any Name Value List field type where we can add custom attributes & values.
...
0
votes
0
answers
28
views
Reset Multipage Sitecore Form on click on close button
How to Reset Multipage Sitecore Form on click on close button. On last page I am showing thank you message with close button. i want to reset the form on click of close button.
0
votes
1
answer
49
views
Solr query not returning search results
I can see all the records in the Solr portal when I run the query. Here is the data of one product.
https://localhost:8983/solr/stratum_products_master_index/select?q=_templatename%3A%22product%...
0
votes
0
answers
39
views
does publish-item powershell command fire publish end event and can we get property like rootItem
$singleitem=get-childItem -path $RootItemPath -Language
"en" -Recurse | Where {$_.TemplateName -eq "TEST"} | Select-Object -first 1
publish-item -Item $singleitem -publishmode ...
1
vote
1
answer
38
views
XM Cloud SXA add SEO fields to page template best practices
Based on a new requirements, we want to add a way for Content Editors to be able to specify the metadata SEO fields. I wanted to know if the following is a recommended way or if there is a better ...
0
votes
0
answers
27
views
Content Hub search reports?
We want to see what people are searching for in Content Hub. I couldn't find any Search Reports in the documenation or blogs, or any search events in the logs. I'd prefer a dashboard or download, ...
1
vote
0
answers
43
views
In Pages editor, how can I add a droplist control so that I can add specific parameters for a Text Field?
I want to be able to add a droplist control (and have it appear) under the "Content" section when I select-to-edit a Text Field in the Pages editor.
My purpose for this is to add a way to ...
0
votes
1
answer
60
views
Solr Error : ["undefined field query"]
We have upgraded our Sitecore instance from 8 to 9.0.2 version. In one of our component on datasource level we are using query like below.
query:./ancestor-or-self::*[@@templatename='Website']/Local ...
3
votes
2
answers
96
views
Getting the url of the reference fields using Graph QL
I want to expose my Sitecore data to frontend using GraphQL edge queries. How do I get the url of the items selected in the multilist field? I tried using url keyword but getting the below error (see ...
0
votes
1
answer
23
views
Show Intercept Survey based on IP
I have sitecore Form Intercept Survey that I want to show to random users based on User IP if they have spent specific amount of time on Site.
How to handle this scenario ?
1
vote
2
answers
72
views
Item Name Validation rule for hyphens
I have been successful in creating a field validation rule where the Title should not have hyphens by using a regex validation. That is working as expected. Now, I need to validate the items while ...
0
votes
3
answers
68
views
Solr - Recommended way to search by filters
I'm trying to build a generic Search method GetSearchResults that would fetch results from Solr.
Sample use Case: Get a list of all products where the searchTerm can be in the Title OR Description ...
1
vote
1
answer
67
views
How to Compress and Optimize the Video File Size
We are using SXA module in Sitecore 9.0.2. Our requirement is that while uploading a video file in to Sitecore CMS, how can we optimize or compress the size of video file. Please help on how to ...
2
votes
1
answer
81
views
Is there a way to set fields on the Sitecore Headless / JSS Settings for the site via environment variables?
Prior to SXA-JSS you could define the JSS Site settings in the config and therefore be able to use environment variables for things like the serverSideRenderingEngineEndpointUrl.
Is there a mechanism ...
0
votes
1
answer
42
views
Could not find configuration node: reporting/dataProvider
We are suddenly getting this error message on our Sitecore CD instances. It is only affecting one portion of the website, Blog. We use WeBlog module to manage blog content. Content editors claims they ...
-1
votes
1
answer
52
views
Is there a way to link a Powershell script to a custom button?
I'm trying to run a PS script I made via custom buttons. The scripts must be loaded from Sitecore Script Library (/sitecore/system/Modules/PowerShell/Script Library)
The script runs perfectly if I run ...
2
votes
3
answers
167
views
When to enable Sitecore cache by query string
When should HTML Cache be enabled in Sitecore using "By Query String"? I believe one case would be search. Even in that case, on which component should it ideally be enabled?
0
votes
1
answer
50
views
How to add <picture> tag in Sitecore rich text editor
My requirement is to customize Rich Text so that when an image is added to RTE, the image tag gets converted into a picture element
example :
Image tag
to
picture tag
so that responsive images in ...
2
votes
2
answers
39
views
Is it possible to generate Sitecore Search Scope across the entire tenant?
I have a requirement to display pages based on two different templates on two separate sites.
For example: Let's say I have one site called Site A and another site called Site B. In Site A, I have a ...
2
votes
1
answer
63
views
Sitecore Solr - Content Editor search returns no results but Experience editor and context search works fine
We are having the following issue. Please let me know if you have come across a similar issue or know of a potential solution.
In Sitecore Content Editor, all search queries works fine if logged in as ...
1
vote
1
answer
61
views
Solr - The Content field in SearchResultItem is always null
Using Sitecore 10.2 with Solr 8.4.0.
I have Product pages which inherit from a template - Product Details.
This template has the following fields:
Title - Rich Text
Description - Rich Text
Category - ...
1
vote
0
answers
83
views
SXA facet search API intermittent empty result
Issue: This is an intermittent issue reproduced in Sitecore 10.2 XM Scaled setup. It takes time to get reproduced. SXA Facet API (//sxa/search/facets) gives an empty collection, sometimes if the ...
2
votes
1
answer
71
views
Is there any difference between GraphQL on Experience Edge vs the XM / XM Cloud Edge Preview endpoints?
Is there any functional, behavioural, or schema differences between GraphQL on the Experience Edge API vs the Sitecore Platform XM or XM Cloud Edge Preview endpoint?
2
votes
3
answers
60
views
Solr stripping out the HTML from Rich Text Field while indexing
I want to prevent stripping out the HTML from my one of the Rich Text Field.
I have the following field reader by field name in my index configuration file in place under the mapFieldByTypeName ...
0
votes
1
answer
90
views
Implement Cookie and consent management in Sitecore Headless App
I implemented the Cookie and consent management functionality (Manage a contact's tracking consent choices (sitecore.com)) in the Sitecore 10.1 + Sitecore NextJS (18.0.0) using the Sitecore.Analytics....
2
votes
1
answer
83
views
Sitecore login - Without IdentityServer application
I have Sitecore 9.3 instance. I stopped the IdentityServer application from the IIS. When I am using the below URL, can see the login screen:
https://sc93sc.dev.local/sitecore/login?fbc=1
I can see ...
1
vote
1
answer
51
views
Need to know which role to enable to get Indexing Section Enabled
I have a user that we dont want to give admin access to, but still want some of the functionallity from it. The indexing section to where you can boost values, rules and include in search is all ...
3
votes
1
answer
80
views
How do you authenticate the GraphQL endpoint in Postman?
I am getting 403 "Authentication required." when i hit the GraphQL query in Postman.
I am able to execute the same query in Sitecore GraphQL Playground.
In postman, i am passing the URL as ...