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

Can i use ContentReference property under Custom visitor group CriterionModelBase

$
0
0

Hi Team,

I have a requirement to implement Visitor groups based on logged in user company. I am going create custom visitor group criterion model class.

But here Companies are maintaining in content structure and i want to use it ContentReference propery while creating vistor groups but It is always showing textbox only. Below is the class which i have created.

[EPiServerDataStore(AutomaticallyRemapStore = true)]
public class CompanyCriterionSettings : CriterionModelBase
{

[Required]
[Display(Name = "Company name")]
public ContentReference CompanyName { get; set; }

/// <inheritdoc/>
public override ICriterionModel Copy()
{
return ShallowCopy();
}
}

Thanks,

Suresh B


EPi CMS: Error when login to CMS

$
0
0

When I navigate to CMS login page. I enter username and password then I get this error:

[ArgumentNullException: Value cannot be null.
Parameter name: username]
   System.Web.Util.SecUtility.CheckParameter(String& param, Boolean checkForNull, Boolean checkIfEmpty, Boolean checkForCommas, Int32 maxSize, String paramName) +11773375
   System.Web.Profile.ProfileManager.DeleteProfile(String username) +62
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92

Anyone have any ideas?

In advance, thanks for your support.

Kind regards,

Tan

Page type restriction to root page

$
0
0

Hi,

  I need to apply page type restriction to root page structure.My cms site page root structure look like this:

   - Root

     -The Table

      -Home

       -Page 1

         -Page 2

          -Page 3

I want to restrict Page 1,page 2 with same page type and page 3 with another page type.Is it possible to implement in cms.

Thanks

developer forums

$
0
0

I want to check page message in asert but the pageMessages variable returns null

How should i solve the issue , any ideas?

static testMethod void test_Member(){

Is the EPiServer.Common.Tags will get deprecated soon?

$
0
0

We are using EPiServer.Common.Tags Namespace related classes (FrameworkEntityBase, EntityTagCollection, TagCollection) to store and retrieve the tags related to entities.
Just need to clear-up the below doubts I have,

  • Is it in any way related to Episerver Relate?
  • We are trying to move out from Relate as the Relate components are deprecated; however, we need to ensure that keeping the EPiServer.Common.Tags will not make any bad impact in the future. Is it safe to keep the EPiServer.Common.Tags as it is ?

Thank you.

Connect for Campaign, Error when trying to submit a form "Failed to submit. Email is required"

$
0
0

Hi, 
I've got a problem when trying to submit a form with connect for campaign form.
I've made needed mapping on the form and on the field as well, but I'm getting the error attached below.

Does anyone had this kind of issue ?
Thanks

Hide tab from specific page type

$
0
0

Hi,

is there a way to hide whole Tab at once, but only for the specific page type, instead if adding [Ignore] to each property of the page?

Thanks!

Update all packages to support Newtonsoft.Json v12

$
0
0

Newtonsoft.Json is now in v12, it would be nice to be able to update to that version so please fix all your packages that has dependency to this to work with version 12


Finding Variant information

$
0
0

How to find Variant path which displayed in commerece catalog /product/variant.

Remove Expired Carts

$
0
0

While researching i discovered EpiServer has an out-of-the-box scheduled job called "Remove Expired Carts"

  1. Is there documentation for this job? All out-of-the-box EpiServer Jobs?
  2. How do i configure how many days this Job will use to consider a cart a valid removable candidate? I read an older forum post but am unable to find "ExpiredCartJobDays" in our code base

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

$
0
0

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? 

Copied page automatically published

$
0
0
Hi,

We have the issue in production environment that if an existing Variant is copy-pasted as a duplicate, it gets automatically published (I think this is already an issue), but an even bigger issue is that the published variant would fail the validation - in our case we have a regular expression validation for Code, and Episerver had generated a Code which does not meet the Regex.

Is it possible to change this behavior, so it does not get published? I also think it is a bug that is gets published without validation.

Related thread in CMS is: https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/12/copied-page-automatically-published/ But mentioned solution does not work for Commerce 12.14.

Thank you in advance.

Unable to select variation as a target for Best Bets

$
0
0

Does anyone know why when creating a Best Bet and selecting Commerce content only categories and products can be selected? When I select a variation, the OK button is disabled.

We are searching for variations so Best Bets should be applied for those. When selecting a product, we do not get search results (as we are searching for variation).

Here is the code for the search:

var request = _client.Search<VariationContent>(GetLanguage())
                .For(query)
                .InFields(
                    x => x.Code,
                    x => x.DisplayName,
                    x => x.DisplayDescription
                    )
                .UsingSynonyms()
                .UsingAutoBoost()
                .ApplyBestBets()
                .Skip((page - 1) * pageSize)
                .Take(pageSize)
                .FilterForVisitor();

And here is the screenshot of the best bets target selection when a variation is selected - notice "OK" button is disabled:

And according to documentation, it should be possible:

https://webhelp.episerver.com/latest/en/find/best-bets.htm

Restrict non-production access to range of IP addresses in DXC

$
0
0

I came across this article that discusses this very thing, but I was surprised to see it was a web.config solution using URL rewrite rules.
https://world.episerver.com/digital-experience-cloud-service/dxc-security/restricting-environment-access/

I was hoping for a more robust solution that allows me to use azure or cloudflare to restrict access that can be managed administratively, rather than by a developer in a web.config. Also even if the web.config way is the only option, how can you restrict based on multiple IP ranges? I am guessing I would just need a regex pattern that covers all ranges. Also, it also requires me to put host names in there, which can be added and changed by end users in the CMS as needed. Seems silly to have to publish a web.config change just to add a new host name. I am hoping there is a better way...

Redirect page without view to 404

$
0
0


I have a blog listing page under which is blog category page under which is blog individual page as hierarchy in admin/pages of back office. i don't have view for second category page. When I enter url for second page I am suppose to get 404 page, however I am getting 500 error. How to handle this?


Which Visitor Groups Have Been Most Effective

$
0
0

We are looking to start using visitor groups on our commerce site after having been live a few months I'm curious for those who have been on Episerver longer, which Visitor Groups have been the best performing in terms of your goals. We're looking to drive more sales from customers and want to leverage the learnings of the community if at all possible.

Thank you!

Restrict access to table properties option in the TinyMCE Table plugin

Product export feed

$
0
0

Hi,

We have a project where we want to have a look at the catalog export genereted by the schuled job, how can we access that xml file? We are using Perform 3.0.6.

BUG: Deploy Database to Microsoft Azure SQL Database fails with SQL Management Studio 18

$
0
0

Hi all,

I'm trying to deploy my local database to Azure SQL and it fails in SQL Management Studio 18, giving the following error:

One or more unsupported elements were found in the schema used as part of a data package.
Error SQL46010: Procedure: [dbo].[netRemoteSiteLoad] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Incorrect syntax near Url.
Error SQL46010: Procedure: [dbo].[netRemoteSiteList] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Incorrect syntax near Url.
Error SQL46010: Procedure: [dbo].[netRemoteSiteSave] contains a statement that is not supported on Microsoft Azure SQL Database v12. The specific error is: Incorrect syntax near Url.
(Microsoft.SqlServer.Dac)

I noticed it happens also if I simply try to export the database to a .bacpac file. Is there anything in the database structure which is not compatible with the new software? I wouldn't like to downgrade my SQL Server Management Studio version just for this error and I'm wondering if there is any action I cat take to make it work in the meanwhile.

Thanks in advance

Is the EPiServer.Common.Tags will get deprecated soon?

$
0
0

We are using EPiServer.Common.Tags Namespace related classes (FrameworkEntityBase, EntityTagCollection, TagCollection) to store and retrieve the tags related to entities.
Just need to clear-up the below doubts I have,

  • Is it in any way related to Episerver Relate?
  • We are trying to move out from Relate as the Relate components are deprecated; however, we need to ensure that keeping the EPiServer.Common.Tags will not make any bad impact in the future. Is it safe to keep the EPiServer.Common.Tags as it is ?

Thank you.

Viewing all 6894 articles
Browse latest View live