Anton
  • Member for 5 years, 3 months
  • Last seen this week
SXA CLI skips uploading pre-optimized-min.css.map, says "Incorrect File Name."
0 votes

The answer, relevant for Sitecore SXA 10.2 (@sxa/celt@10.2) Sitecore SXA 10.2 will save your map files in a format pre-optimize-min-css.map and pre-optimize-min-js.map. It doesn't cause any problems ...

View answer
ASP.NET Webforms with Sitecore 10.2
1 votes

I can confirm that Sitecore 10.2 works with ASP.Net Webforms renderings. If you install clean Sitecore 10.2 - you will see that home page is built using layout(/layouts/Sample Layout.aspx) and ...

View answer
Sitecore 9.3 output cache VaryByCustom
2 votes

The usual place to put cache key generation logic is mvc.renderRendering pipeline, where you should be able to replace Sitecore.Mvc.Pipelines.Response.RenderRendering.GenerateCacheKey, Sitecore.Mvc ...

View answer
How to include a dll for publish in Visual Studio
2 votes

There is an attribute Exclude that should works for you. You can add Exclude="Sitecore.Commerce.ServiceProxy.dll" to the corresponding ExcludeFromPackageFiles node. <ItemGroup> ...

View answer
TDS Item sync issue Length of field content doesn't match the content-length attribute
2 votes

TDS serialization uses the default Sitecore serialization format. For this case all fields are saved with content-length, e.g.: ----field---- field: {A60ACD61-A6DB-4182-8329-C957982CEC74} name: Text ...

View answer
Dynamically generated PDF display on browser Issue with Sitecore MVC
1 votes

How to fix approach 2: Register a custom ASP.NET MVC route for your action. You need to create new processor: public class RegisterCustomRoute { public virtual void Process(PipelineArgs args) { ...

View answer
Jss not recognized as internal or external command while running in C#
1 votes

JSS command line is an part of @sitecore-jss/sitecore-jss-cli npm package. It means that rules on how to run it are exactly the same as for other npm packages. You need either: Install @sitecore-jss/...

View answer
Sitecore on MAC machine using Docker
1 votes

Sitecore uses Windows-based Docker containers. You could not run Windows containers directly on OS X. You have 2 options: Install Bootcamp on your machine and allow dual boot between OS X and Windows ...

View answer
SXA CLI skips uploading pre-optimized-min.css.map, says "Incorrect File Name."
1 votes

Update from November 2021: The answer is relevant if you use Sitecore SXA(@sxa/celt) lower than 10.2. And it looks like Sitecore SXA 10.2 was inspired by this answer. If you use Sitecore SXA 10.2 or ...

View answer
How to resolve SQL Injection flaw in sitecore.logging.dll
Accepted answer
1 votes

I suggest you don't worry about it and with high probability, you can ignore it. Open Sitecore support ticket and ask them about it to be confident that it is not an issue. You can open Sitecore....

View answer
How to expose Sitecore SXA website content in JSON format to third party using custom API?
Accepted answer
3 votes

There are few options: Use Sitecore RESTful API. It doesn't matter SXA or not, but you will be able to get items in JSON format. Use JSON device to get page data. SXA allows you to model your data ...

View answer
Event responsible for move field type from Shared to Versioned
2 votes

It is a known Sitecore issue. (There is a description of packages, but the Unicorn issue has the same origin.) Sitecore does the movement of data from one table to another when you change field ...

View answer
Customize start location for "insert Sitecore link" in rich text editor
Accepted answer
0 votes

Sitecore even doesn't have the ability to configure starting location for the GeneralLink field type out of the box. You can ensure in it, but looking into the implementation of Sitecore.Shell....

View answer
Send email to contact before deleting the contact
Accepted answer
4 votes

Email Experience Manager(ExM) doesn't send and finish all things related to email immediately. Your code will put the email into an "automated message bus". And then your email will be sent. ...

View answer
How does the SXA Datasource Workflow work?
2 votes

Code provided by Mark Gibbons works in general, but it has major 2 issues: Datasource will not be moved through the workflow if you haven't set initial state. if (item.Access....

View answer
How to ensure rendering cache invalidates after a direct edit to the .CSHTML file
3 votes

The easiest way to clean the HTML cache is to trigger publish. Sitecore doesn't have watchers on .cshtml files, so it is expected behavior.

View answer
Has anyone ever tried to replace an RTE in Sitecore, with something custom like tinyMCE? If there is there any instructions?
0 votes

I faced the same question some time ago. The good starting point for me was taking Emanuele Ciriachi module and extending it. Then I did: Unicorn serialization Using npm for getting TinyMCE Updating ...

View answer
CreateConnection method doesn't exits in DefaultSolrStartUp - Sitecore 9.3
2 votes

Let's firstly define, why do you need it? It looks like your code forces Solr to use POST requests instead of GET requests. It is usually done to prevent error The remote server returned an error: (...

View answer
SXA Error when open page in Experience Editor
0 votes

I have got this error when Parameters Template field on Controller Rendering had the wrong value(broken link). It worth checking all renderings on your page. One of the renderings causes this issue. (...

View answer
SXA Creative Exchange Import triggered via SPE not working
0 votes

I got a very similar issue, but with Sitecore SXA Creative Exchange content export. It looks like the reason is the same here. Get-CreativeExchangeImportResponse executes ceImport.import pipeline. ...

View answer
Attempting to Export Creative Exchange through script web api
0 votes

I got the same issue on a different version of Sitecore and SXA. And here is the solution that works for me. Get-CreativeExchangeExportResponse executes ceExport.export pipeline. ceExport.export ...

View answer
Sitemap generating random urls
2 votes

bgsi/public/group_scheme/index.jsp Sounds like Java Server Pages. Sitecore is based on .Net and doesn't use this page extension. That is why I assume that it could be added by some external sitemap(...

View answer
How to supply value for HttpContext.Current when the OnItemSaving event is triggered via SPE?
2 votes

If you are using Sitecover Powershell ISE: by default, the script executes as a background job. You can try to click on dropdown under Execute button and select "Execute in http request context&...

View answer
Problems with solr docker suggester in context query: blanks are not correctly processed
Accepted answer
1 votes

Suggester works on terms. That is why, first of all, open Solr admin console and check terms for sugStreet field. According to your question, this information should be availably by this URL: http://...

View answer
Sitecore ItemService API resolve .../link.aspx?_id=abc
Accepted answer
3 votes

It is not possible out of the box in Sitecore. Filling of item properties is not configurable, it is hardcoded: private static void FillProperties(ItemDataModel itemModel, Item item, string urlPrefix) ...

View answer
Getting Sitecore Users faster, filtering based on custom property
1 votes

Sitecore user management is based ASP.Net Membership. () The architecture of ASP.Net membership wasn't designed to perform operations that you try to do quickly. How your code will work internally: ...

View answer
Azure AD B2C via MSAL.js and Sitecore Federated login
1 votes

How I did a similar thing for Sitecore 7: Disclaimer: I expect that it could be done easier with the configuration of Federated Authentification, but there were no Federated Authentification at that ...

View answer
Passing Code Generation Properties to TDS T4 templates
Accepted answer
1 votes

You try to get a property like it is passed into a session variable. But TDS passes Additional Code Generation Properties into SitecoreItem model. That is why you need to use a different approach to ...

View answer
General link field value reverting on save
Accepted answer
0 votes

I have got the same issue, but with other field types. Steps how I reproduced the same issue: We have Unicorn serialization We have automated deployment of Unicorn I changed few(but it could be even ...

View answer
Find-item Greaterthan not recognized by SPE 3.0
1 votes

Sitecore Powershell Extensions 3.0 contains only next filter types: None, Equals, StartsWith, Contains, EndsWith Please upgrade PowerShell to the latest version. You will get bigger list of filters: ...

View answer
1
2 3 4 5