Quantcast
Channel: Optimizely Search & Navigation
Viewing all 6894 articles
Browse latest View live

Redemption limit per customer not working

$
0
0

Hi,

We use episerver site to provide Web API services.

Redemption limit per customer in promotions is working fine for normal site, but not working in service sites.

Is there any workaround to resolve the issue.Kindly help.

Thanks in advance


Redemption limit per customer

$
0
0

Version 12.11

I have an item discount with Customer Redemption limit set. When viewing the product on the site as an anonymous user, the discounted price is not displayed.

How do I ensure the discounted price is displayed for both anonymous and authenticated users ?

If a product is updated in the catalog by another system does that remove the product from any content blocks?

$
0
0

Hi there,

If we update a variant in the Epi catalog by an external system will the update to the variant cause the variant to be removed from any content blocks its been added too?

Thanks, James

Update EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor's SmtpClient to retreive configuration from appSettings

$
0
0

Please update the SmtpClient utilized by EPiServer.Forms.Implementation.Actors.SendEmailAfterSubmissionActor to check appSettings for its configuration. Since the system.net/mailSettings/smtp/network web.config section cannot be encrypted in the DXC environment, it would be beneficial to be able to store these values (i.e. host, enableSsl, port, userName, password, etc.) in Azure's Application settings where they are securely stored.

Real-time update error after upgrading to Episerver 11.11.3.0

$
0
0

Hello,

After upgrading to Episerver 11.11.3.0 I get the "real-time update" error when switching from the admin panel to the edit panel.

Websockets is enabled on the server. A similar Episerver site which was recently upgraded to 11.11.2.0 does not show this error.

Any ideas, anyone?

John Ligtenberg 

Name in URL property clash in multi-language scenario

$
0
0

Hi

Per above Epi documentation snippet, it says Name in URL must be unique within same parent category. From the example URL provided :

example.com/en/catalog/category/subcategory/product

Does it mean that if I have 2 languages on the site (en and sv), then the Name in URL part of "subcategory" needs to be unique for both en and sv language paths?

Issue : I'm trying to save a category in "sv" language after saving it in "en" and I get this error :

"Name in URL" with value "Candles-Shop-by-Vessel-Shop-All-Vessels" is already in use by Shop All Vessels (1073742273__CatalogContent).

This only happens when doing this programmatically. When doing this via the CMS Admin UI, it works fine.

What I've noticed so far in th code, is that it only looks at the URL Segment : category/subcategory/product, and not the full URL, to know the language branch. How can I make the code look at the full URL?

This is the code that throws above exception :

categoryLink = contentRepository.Save(newCategory, SaveAction.Publish | SaveAction.ForceNewVersion, AccessLevel.NoAccess);

Please advice.

Regards

Ritu

Passing thru /episerver/commerce/migrate when created new site in azure

$
0
0

Episerver Commerce 13.2, Episerver cms 11.20

For demo purposes Ive set up a new Azure Service app, with azure sql, Azure service bus (is that needed?), created the db by runing the sql scripts, both cms and commerce.

Ive run the import of Alloy DefaultSiteContent.episerverdata on init.

Now im stuck at the login page and i cant login /util/login.aspx?ReturnUrl=%2fEPiServer%2fCommerce%2fMigrate because /episerver/commerce/migrate is runing before creation of user.

Iv added a user by code on initialization, looks good in db, but I cant pass /util/login.aspx?ReturnUrl=%2fEPiServer%2fCommerce%2fMigrate, i cant login.

What am I doing wrong? there is a user "admin" in commerce db, what password is set initially? I haven't supplied any?

Memory leak when using "Spend on Items for Free Items" discount and setting redemption limit per order to unlimited

$
0
0

We are noticing high memory usage when using this discount. This happens when we are calling IPromotionEngine.Evaluate for those entries targetted by the discount.

Everything works normal if we set at least 1 per order redemption limit and it usually takes 1-3 seconds. If we set it to unlimited, it takes 20-30 minutes and our machines are almost unusable. Looking at the memory profiler, it does signify a memory leak.

We have only tested this for "Spend on Items for Free Items" discount but we reckon anything relating to "Free Items" is affected.

Has anyone else experienced this?


Promotion Engine - calculating potential saving inside Evaluate

$
0
0

Hi, 

I am working with a custom promotion type, where I want to check the potential saving of the promotion, for each cart line item, inside the processors evaluate method. 

The aim is to check the potential saving, against a separate monetary value stored against the line item - if the potential saving isn't greater than the value stored against the line item, I'm attempting to not pass this RedemptionDescription back from the evaluate method. 

The problem I have is that the calculated savings in those Redemptions aren't available until its applied to the cart. 

How can I do this via the processor? 

Thanks!

Paul 

Email notifictions when uploading a nuget package

$
0
0

Hope this is the right place - this is a feature request for https://nuget.episerver.com/. It would be really handy to have some email notifications around actions when uploading a community nuget package. At the moment, you see a small confirmation message after uploading a package and then nothing else even after the package is approved and made available.

You could send an email notification:

  • to confirm that the user has uploaded a package and it will be reviewed
  • after it has been approved and added to the feed

Cannot call action method 'Void GetFormExternalResources exception during MapMvcAttributeRoutes() after update to 4.24.3

$
0
0

After updating forms to 4.23.3, my website throws the following exception during routeCollection.MapMvcAttributeRoutes():

System.ArgumentException: 'Cannot call action method 'Void GetFormExternalResources(System.Collections.Generic.List`1[System.String] ByRef, System.Collections.Generic.List`1[System.String] ByRef)' on controller 'EPiServer.Forms.Controllers.FormContainerBlockController' because the parameter 'System.Collections.Generic.List`1[System.String]& scripts' is passed by reference.
Parameter name: methodInfo'

Has anyone else encountered this, how to resolve the issue?

Custom redirect in Bvn.404Handler not working

$
0
0

Hi!

I am trying to get the custom redirect gadget in the BVN.404Handler, but I can't get it to work. It simply wont do the redirects I add.

I have installed the latest version (11.2.3).

The 404 redirect is working.

The redirects are set up like this: <oldurl> - <newurl>

If the old url is valid, it will stay there. If the old url doesn't exist anymore, it will show the 404 page.

Hiding Submit Button Until Form is Filled In

$
0
0

Is there a way to disable/hide the submit button until all fields are filled in? With the latest forms update, the Dependencies tab shows up on all the form fields but the submit button. Is this something that was omitted intentionally, or should I be seeing this tab on the submit configuration as well?

How to check for a specific block type in ContentArea without loading content

$
0
0

I am searching for a way to check for the existence of a specific type of block in a content area. The presence of the block enables features in navigation, so this check is done on every page load. I want to avoid loading all of the content items in the ContentArea for performance reasons. I was hoping the ContentAreaItem or ContentReference for each item in the ContentArea.FilteredItems collection had some way to determine its destination content type. Any help would be appreciated.

How to bypass Cloudflare on the DXC

$
0
0

Hi All 

Anyone know what Url i could use to bypass Cloudflare ? 

I need to upload a file bigger than 500MB and keep on getting the following message : 413 Request Entity Too Large

After a bif of reasearch i have found these limits in place from Cloudflare and only way I can import the file would be to bypass cloudflare : 

Depending on the plan your domain is subscribed to, Cloudflare limits data uploads to the following sizes:

  • 100MB Free
  • 100MB Pro
  • 200MB Business
  • 500MB Enterprise by default (contact Customer Support to request unlimited data uploads)

The upload limits apply only if you have Cloudflare enabled (Orange cloud next to the DNS records on the DNS settings page). For example, if your domain is subscribed to the Pro plan, a visitor to your website can upload data up to 100MB, per request. This limit overrides any upload limit you may have set over a 100MB at your origin.

If you require to upload resources larger than these limits, you can either do that by uploading chunks smaller than the above thresholds, or you can upload the full resource through a grey-clouded DNS record so that Cloudflare is bypassed.


Modify Publish Flow

$
0
0

Is there any way we can gain more control over our publish flow for variants? Example: Every time we edit and publish a variant the page view opens, and we have to return to the properties view and go back to the variants tab - we'd prefer this flow to not automatically move away from the variants view so publishing would be easier. Is there a way we can hook into the variant publishing process to prevent the automatic move to the page view?

Thanks

Example of moving simple address router to be the last router, without upgrading the CMS?

$
0
0

Hi!

Does anyone have example code of how to move the simple address router to be the last registered router, without upgrading the CMS to version 11?

Is it "safe" to use the generic PropertyList?

$
0
0

Hi!

Would you say it's "safe" to use the generic PropertyList?

In the developer documentation it says the following:

This topic describes unsupported functionality in Episerver CMS. Episerver recommends using ContentArea and Blocks for lists of complex objects. Using PropertyList<T> together with complex types requires additional custom functionality to fully ensure data consistency, portability and functionality.

I'm not so keen on investing a lot of time in using the generic PropertyList if it's to be deprecated.

However, it seems like it would be easier to work with the property list - for editors - rather than blocks.

How to apply multiple UIHint to a property editor

$
0
0

Hi,

I am trying to apply a css class to the default property editor for the ContentReference type

But it only apply my UIHint and not apply default  [UIHint(EPiServer.Commerce.UIHint.CatalogContent)]

How can apply both of them?

My code

namespace NTC.Models.Commerce.V2.EditorDescriptor
{
[EditorDescriptorRegistration(
TargetType = typeof(ContentReference),
UIHint = SiteUIHints.ReloadPage)]
public class EmbiggenEditorDescriptor : EPiServer.Shell.ObjectEditing.EditorDescriptors.EditorDescriptor
{
    public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<System.Attribute> attributes)
    {
       base.ModifyMetadata(metadata, attributes);
       metadata.EditorConfiguration.Add("class", "epi__catalog-node--reload");
    }
}
}

[CultureSpecific]
[AllowedTypes(typeof(NTCCategory))]
[UIHint(SiteUIHints.ReloadPage)] // Only apply this UIHint
[UIHint(EPiServer.Commerce.UIHint.CatalogContent)] // Can't apply this UIHint
public virtual ContentReference CategoryNode { get; set; }

Thanks,

Thao Pham

Copy form will not copy form element dependiencies

$
0
0

Lets say I create a form with 1 text and 1 choice element.

In the choice element I set dependency that this should only be shown if I type Test in the text element.

This works fine.

Then I copy the form.

The newly created copied form will not have that dependency working. It will directly show the choice element even if I have not entered anything in the text element.

It says that the dependency is not valid anymore.

Is this a known bug?

Thanks

Viewing all 6894 articles
Browse latest View live