Quantcast
Channel: Developer to developer
Browsing all 9076 articles
Browse latest View live

Unique email

Hi!Is it possible to make the email field for an episerver user unique, to avoid users with duplicate emails? Or do we have to create custom logic around this?This question applies both to aspnet...

View Article


Image may be NSFW.
Clik here to view.

Programatically creating Block in folder with Approval Sequence does not...

Using: EPiServer.CMS version=11.12.0 Programatically creating a Block in sub-folder whose parent has an Approval Sequence does not generate the Notification emails, is this a bug?This works: Manually...

View Article


Custom ContentProvider performance issue

HelloWe're writing a custom ContentProvider to enable editors to reference data from an external system in the page properties.It seems that when there are a lot of child nodes for a content item, then...

View Article

Regex-validation on properties

Would be nice if we could specify an regular expression for validation on a property.

View Article

FOREIGN KEY constraint SQL Error while creating a new page programmatically

I get this DB Error on saving a new page programmatically:"The INSERT statement conflicted with the FOREIGN KEY constraint \"FK_tblWorkContentProperty_tblContent\". The conflict occurred in database...

View Article


Render Block in XhtmlString field

Hi!I use Episerver 11 and a standalone Nuxt front-end. I having problem rendering blocks (which are Vue components) in XhtmlString field. It work well when I write the same code into...

View Article

Stuck in publishing loop

Essentially, I'm attaching to the publishing event like socontentEvents.PublishedContent += MyMethodOnPublish;then eventually saving my content like socontentRepository.Save(editablePage,...

View Article

Cannot change the order of available content types when creating pages. Sorts...

I am unable to change the order of available page types in edit mode when creating new pages.I have tried in code to change "order" for the content type (see code below), but the pages are sorted in...

View Article


Share cart across devices/browsers

Hi there,I have a case where I would like to share an "anonymous" cart across devices. Here it is possible for me to send "CustomerId" in a QueryString to the other device.I use this code to share the...

View Article


Advice for packages with optional variants

I want to let buyers configure their own package. The package can by default contain variant A, B and C, but the user should be allowed to swap C with D.Can this be solved by extending PackageContent,...

View Article

Inventory level not accurate

We having an issue relating to inventory levels and behaviour that results in the overselling items that should have 0 inventory and be out of stock.The issue is intermittent and happening a number of...

View Article

Strategy Block Styling

I am using the Strategy Block that comes with EPiServer.PErsonalization.CMS.UI. I want to override the styling/markup. With EPiServer Forms, I can just create new user controls in my solution with the...

View Article

A/B Testing, does it affect content returned by IContentLoader?

So i have an interesting scenario.We have a site with menu items defined via a settings page, separate to any content pages, these pages then load the menu as part of their loading logic via the...

View Article


Image may be NSFW.
Clik here to view.

How to get PrincipalInfo in web api?

Hi!I have a site which is built on AspNet Identity, and I would like to have an api method (not using Headless) that returns logged in status for the current user.Is this possible?It looks like this:As...

View Article

Get Property Attributes

Hi,I have a content area Property with a Custom Attribute called AllowedTypes which restricts BlockData in this Content area.I want to find this attribute from code and apply Blockdata based on the...

View Article


EPiServer.TinyMCESpellChecker 2.0.0 makes XHR request to a ressource on HTTP

I seems like it makes XHR request to a ressource on HTTP and therefore cannot be used if you serve your site on HTTPS. Can anyone confirm?Best,Bilal

View Article

"For This Site" folder is not updating for different sites

We have a multisite setting on DXC with " Use site-specific assets" turned on every site. But when I go to the folder "For this Site" of each site, the content never change. The content I uploaded to...

View Article


Image may be NSFW.
Clik here to view.

Catalog Import throws "sql duplicate key error" although overwrite option is...

When we call to Mediachase.Commerce.Catalog.ImportExport.Import method in order to import one catalog from an xml file , we are getting an Sql error regarding "Violation of Unique Key" but it shouldn't...

View Article

Image may be NSFW.
Clik here to view.

EPiServer CMS loads slowly

HiOur client reported that using the EPiServer CMS is slow. I looked into it and noticed that when opening the CMS about 1000 files are being loaded by the dojo.js. This is causing so much overhead...

View Article

Azure Best Practices

Hello folks,I couldn't find an Azure-related forum, so I'm am going to try my questions here.  Do let me know if there is a better place to discuss the following...I am the new Dev Ops Engineer/Epi...

View Article
Browsing all 9076 articles
Browse latest View live