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

Expired Carts not Expiring

Hey,I have a lot of carts with a null for meta.modified.  This means the Episerver expiry script will not expire those baskets as it says Meta.Modified < GETDATE() am I missing something or is there...

View Article


CreateWritableClone and Dynamic properties

I have one dynamic property, let's call it globalProp.I'm changing the content by code like this:PageData NewPage = CurrentPage.CreateWritableClone();NewPage.Property["globalProp"].Value = "Test";But...

View Article


Image may be NSFW.
Clik here to view.

Date format for built-in properties in All Properties tab for a page

Hello, I am trying to set a site to show built-in dates such as Published and Created dates for a page to show in Australian date format dd/mm/yy. This is when the user is logged in as an admin and...

View Article

How to get expiry date of product or variant?

How to get expiry date of product or variant programmetically?

View Article

Image may be NSFW.
Clik here to view.

Updating hidden field with javascript. The value doesn't submit.

I've got a couple of Hidden fields where I'm setting the values with jQuery but the values don't come through in the submission.Data array.I can see in the browser dev tools that it is set.Any clues? 

View Article


Linked dropdown does not display value

Having used this setup on o website since it ran 7.5 (http://world.episerver.com/blogs/Duong-Nguyen/Dates/2014/1/Country-Region-drop-down-lists-in-All-properties-mode/) and it has worked great. Now the...

View Article

TinyMce error after upgrade

I upgraded a site to Commerce 12.17.2 and when I try and edit a page using on-page editing or all properties I get the below mentioned error:https://www.screencast.com/t/CpAgmVwhsAny ideas on this will...

View Article

CollectionEditorDescriptor - How to display a list of complex types?

Hi Guys,First off apologies if this has already been posted.That aside, Now for my issue....I have the following class structure:public class MenuItem{public virtual LinkItemCollection Links { get;...

View Article


Creating meta fields for serialized carts

Hello,I am working on a project that currently uses non-serialized carts, I now need to Enable the serialized carts and make the necessary changes. I am folllowing the below mentioned developer guide...

View Article


Route /api/episerver/v2.0/content not found (but /api/episerver/v2.0/site is)

Hello,I'm trying to enable the Content Delivery Api in my application, but it seems I have a problem with routing. I simply added the NuGet packages "EPiServer.ContentDeliveryApi.Cms" and...

View Article

Getting the page by passing it's content

I've a class likepublic class IndustryPage {[CultureSpecific][Display(Name = "Categories",Description = "Categories",GroupName = SystemTabNames.Content,Order =...

View Article

ImageFile export

I currently want to compress the images we have on our website(jpg and png). There are about 1k of them so I've used the export function and selected the ImageFile.The things I would like to have...

View Article

EPiServer and ImageResizer in Azure

HelloWe are looking into adding ImageResizer to one of our sites running in Azure(not DXC).Simply just adding ImageResizer is no problem. Our questions are about caching.Do the DiskCache plugin work in...

View Article


Image may be NSFW.
Clik here to view.

CollectionEditorDescriptor does not show value of calculated field in table...

In my project, we have a field using IList<Item> in a page type, we have an issue when we edit a page using this page type:When I add a new value to IList using CollectionEditorDescriptor:The...

View Article

Error "Index was outside the bounds of the array." while loading purchase order

We added new custom properties to the PurchaseOrder. The new properties of type of "DictionaryMultiValue" and "DictionarySingleValue". Now in our code when we convert cart to order it works perfectly...

View Article


Image may be NSFW.
Clik here to view.

Updating hidden field with javascript. The value doesn't submit.

I've got a couple of Hidden fields where I'm setting the values with jQuery but the values don't come through in the submission.Data array.I can see in the browser dev tools that it is set.Any clues? 

View Article

Image may be NSFW.
Clik here to view.

Possibility to disable dates in Datepicker Episerver.Forms.Samples 3.5.0

As the heading says, i would like to, at first double check, if there is a possibility for editor in selecting some days in Datepicker element those'll be greyed-out/disabled in client side. If this...

View Article


Route /api/episerver/v2.0/content not found (but /api/episerver/v2.0/site is)

Hello,I'm trying to enable the Content Delivery Api in my application, but it seems I have a problem with routing. I simply added the NuGet packages "EPiServer.ContentDeliveryApi.Cms" and...

View Article

Getting RemovedDueToInvalidPrice error

While adding cart to cart service, I have validation from OrderValidationService.ValidateOrder and I am getting RemovedDueToInvalidPrice  error (Item has been removed due to invalid price.). I have set...

View Article

No parameterless constructor defined for this object. Stuck

Hello everyone,so, here is my problem:I have a controller. There are 2 action methods. One for Get and the second for Post:Get method works just fine. Instantiates the ViewModel, passes to the view.But...

View Article
Browsing all 9076 articles
Browse latest View live