Static Helper Class vs Dependency Injection
Hi guys, very simple question, I had a static helper class that provides for me the Content References for some of the most used pages in the solution. Then other developer said, let' not use it but...
View ArticleMake LinkItem a valid property type
LinkItemCollection is great but if you only want one link it would be nice to be able to create a LinkItem property.
View ArticleAll products is available on the new created market
Hi guys, I have recently created a new market for a Episerver commerce site. It seems Episerver Commerce automatically set EVERY product is available in this new market.Is it any setting in commerce...
View ArticleFuzzy Matches and Stemming
Hi!I use Find v13.0.1 and Find.Commerce v10.2.0Let's say I want to search though Variations:var variationSearchResult = Search().For(searchQuery) .InField(variation => variation.DisplayName)...
View ArticleDelete all assets(images) of a specific type
Hi,We need to delete about 60000 imageassets (imported from inriver) for a specific type from the web and cm database.Anyone have any code or sql script for a this operation?Commerce version:...
View ArticleEpiServer and SignalR for pushing data to pages.
I'm aware EpiServer uses websockets via SignalR already (for the CMS Editor), and I was wondering if SignalR can also be used push data to the front end for any pages that require it? We've a client...
View ArticleError on notifications for content approval
Added content approval on our stage site but when i click on the notification bell, it doesn't show anything and console show this error:Anyone with the same problem?Episerver CMS: 11.10.5
View ArticlePromotions : excluding certain line items from promotions
Hello everybody, I have a requirement on a project I'm working on whereby pricing information for products can be pulled in one of two ways:Via a list price configured in EPi itselfVia a "special"...
View ArticleCustom report / GUI-plugin texts in language files?
How on earth do i translate display name etc on custom reports?The report page gives me a hint on whats missing:/reportcenter/report[@name=""]/description does not exists for language Swedish.My best...
View ArticleContent Delivery API returns null content if browser has wrong language set
Hey,I've spent couple of hours investigating why my content API returns null content response. I've finally managed to find the reson. It has turned out that my browser has set multiple languages and...
View ArticleHow can I set selected tab in EPiServer edit view?
We have an EPiServer (forms) edit view with a number of tabs. The customer has requested that the tab which is #2 (called "alternative content"), should be automatically selected under certain...
View ArticleNestedTermsFacetFor with additional Filter on the none nested object
Hi,I created a term facet to show products that are currently on sale for a user this works well.However I would like to combine this facet with additional none nested filters.By default, TermsFacetFor...
View ArticleUsing TermFacets to return a list of product namespaces under a node
Hi,I need to run a Find Query to return a list of product namespaces which exist under a category node. So when the category loads, it will hit Find to ask what types of products exist as descendants...
View ArticleCreating customer groups programtically
Hi, I am trying to look for way to add a new customer group programatically. I dont see any examples, does anybody have any idea about this? I want to update pricing based on customer groups, and if...
View ArticleHow to customize validation message for each field episerver form.
Hi,I want to implement custom validation message for each filed in form,Does anyone know if we can customize a validation message for each field? Now I have two textboxes (Name, Email), those are...
View ArticleIssue with EPiServer.Web.Routing.UrlResolver.GetUrl for Commerce content...
Hi,When using the EPiServer.Web.Routing.UrlResolver.GetUrl method to get the url of multiple content versions (published and previous published) of the same Commerce content it always return the same...
View ArticleEpiserver Find How to index pages with no template
Hi,I am relatively new with working with Find so sorry if this might be a stupid question :) I am currently working on a project where we have implemented Episerver Find and we have a PageType that...
View ArticleIf user is logged in via Azure the _customerContext.CurrentContactId changes...
HiI have this method which checks if a cart already exists:protected ICart GetExistingCart(string name) => _orderRepository.LoadCart<ICart>(_customerContext.CurrentContactId, name,...
View ArticleDoes consuming another EPiServer site's content require an extra license?
Hi! A friend of mine told me that if I have a non-EPiServer website which consumes content from an EPiServer website, then an extra EPiServer-license is required. Is this true? Lets say I have a...
View ArticleCustomer Service Representatives UI and OWIN?
Hi,I'm trying out the new beta of "Customer Service Representatives UI" but when fetching data from "https://..../EPiServer.Commerce.UI.CustomerService//countries" I get a 401 unauthorized response.The...
View Article