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

Best Bets - Episerver Find

$
0
0

Hi,

We are using the best bets on our web site. we need an additional field(Example Thumbnail image).

Is there any possible way to add additional field to best bets?

Thanks in Advance.

Regards,

Mekala.


Expired pages are still appearing in the search bar at the front end

$
0
0

Expired pages are still appearing in the search bar at the front end

Add currency to Catalog Currency Directory

$
0
0

Hi,

i want to add Currency to Catalog Currency Catalog programmatically. Because i want to enable it when adding new Market (also done from code)

I have found CurrencyManager but it does not feel right :-/

So what repo/service/Mgr should i use in order to add a currency to the  Catalog Currency Directory?

How to trigger content save from custom TinyMCE button (old version)?

$
0
0

Hi!

I've created a custom button for the TinyMCE editor in Episerver v10 (and therefore using the old verison of TinyMCE). When adding an event handler for the Changed-event, I can see that the modification performed by my button to the contents is seend by TinyMCE. But Episerver doesn't respond to the change (by giving me the possiblity to publish the contents).

The custom button inserts an input-field in the XhtmlString. I use the TinyMCE command mceInsertContent to perform the update. In addition I call ed.undoManager.add() after the update has been completed.

Any ideas on how to make Episerver react on the change?

Regards,

Bjørn Terje Svennes

Which file types can the Crawler Connector extract text content from?

$
0
0

Some quick investigation seems to suggest that crawled Word documents get their content extracted but not PDFs.

Can't find (hehe) anything on this in the docs it seems.

'Default membership provider must be specified' error when creating an account

$
0
0

I've configured my Commerce site to use Asp.NET Identity and it all seems to be OK: I can create contacts, organizations etc and view all other Commerce content OK.

However, if I create a contact and then choose 'Create account' for the contact the 'Create Account' dialog appears correctly but when I fill in the detilas and click 'OK',

I get the following error: 

Server Error in '/' Application.

Default Membership Provider must be specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.Provider.ProviderException: Default Membership Provider must be specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[ProviderException: Default Membership Provider must be specified.]
   System.Web.Security.Membership.Initialize() +534
   Mediachase.Commerce.Security.SecurityContext.ValidateMembershipUserPassword(String password) +17
   Mediachase.Commerce.Manager.Apps.Customer.Modules.MembershipAccountEdit.UserPassword_ServerValidate(Object source, ServerValidateEventArgs args) +66
   System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) +173
   System.Web.UI.WebControls.BaseValidator.Validate() +134
   System.Web.UI.Page.Validate() +200
   System.Web.UI.HtmlControls.HtmlButton.RaisePostBackEvent(String eventArgument) +111
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1890


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4001.0

I've seen this error mentioned in the forums in connection with the login page, but not with this dialog - any ideas anyone?

Content Delivery API Search: Internal Server Error

$
0
0

Hello,

I'm running a clean install of Alloy with Episerver.ContentDeliveryApi.CMS, .Core, .OAuth, .Search installed with contentapiread user group setup and created an Initialization module that sets the default minimum role to Empty. 

For some reason when I try to run a GET Request like http://localhost:{number}/api/episerver/v2.0/search/content/?filter=ContentType/any(t:t eq 'StartPage')

in Postman I get {"error":{"code":"InternalServerError","message":"Unable to retrieve search response"}}.

Screenshot: https://drive.google.com/file/d/1qOtI6PoQ1Bk3CWUZRnFkp3RIzgssRWB7/view?usp=sharing

Why is this occuring? 

Upgrading Commerce: Migration failure on Serializable Cart. Upgrading from version 11.2.6 to version 13.3.1

$
0
0

The migration seems to be failing when trying to migrate the carts over to the new version.

3:31:05 PM: Completed migration step: Migrates existing serializable carts.

3:31:05 PM: Failed to migrate existing serializable carts: System.NullReferenceException: Object reference not set to an instance of an object. at EPiServer.Commerce.Serialization.Json.HashTableJsonConverter.ReadHashtableItem(JsonReader reader, Hashtable hashTable, JsonSerializer serializer) at EPiServer.Commerce.Serialization.Json.HashTableJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at EPiServer.Commerce.Order.Internal.DataAccess.SerializableCartDB.CreateCarts(DataTable cartData) at EPiServer.Commerce.Order.Internal.DataAccess.SerializableCartDB.FindCarts(CartFilter cartFilter) at EPiServer.Commerce.Internal.Migration.Steps.MigrateExistingSerializableCartsStep.Execute(IProgressMessenger progressMessenger)

3:31:05 PM: Start migrating serializable carts...

3:31:05 PM: Starting migration step: Migrates existing serializable carts.

Has anyone had an issue like this? Is there any way to get more details on this error?


Episerver commerce catalog not loading in Url property

$
0
0

Hey all, I am having an issue where the catalog is greyed out and wont load when trying to add catalog content to a EPiServer.Url property. However we can see the full catalog in the cms and that loads just fine:

Does anyone know the reason as to why the commerce catalog would hang here but not on the episerver panel?

500 error on loading /EPiServer.Forms/DataSubmit/GetFormInitScript

$
0
0

I have just installed Episerver Forms and when I try it out (without any customization) I get this error:

Process information: 
    Process ID: 9628 
    Process name: w3wp.exe 
Exception information: 
    Exception type: HttpUnhandledException 
    Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass5_0.<Wrap>b__0()
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
Type 'EPiServer.Forms.Core.Models.ValidationModelBase' with data contract name 'ValidationModelBase:http://schemas.datacontract.org/2004/07/EPiServer.Forms.Core.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteValidatorInfoToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfValidatorInfoToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , CollectionDataContract )
   at System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteValidationDescriptorToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfValidationDescriptorToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , CollectionDataContract )
   at System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType)
   at
Request information: 
    Request URL: https://[CustomerUrl]/EPiServer.Forms/DataSubmit/GetFormInitScript?formGuid=[GUID]&formLanguage=en 
    Request path: /EPiServer.Forms/DataSubmit/GetFormInitScript 

That (I think) make me ge another error in javascript:

Cannot set property '$workingForm' of undefined

And that is happening in this function

function x(e) {
    var t = N.getFormIdentifier(e)
      , n = epi.EPiServer.Forms[t];
      return n.$workingForm = e, <-- Here
      n
}

I am using:
<package id="EPiServer.Forms" version="4.25.1" targetFramework="net472" />
<package id="EPiServer.Forms.Core" version="4.25.1" targetFramework="net472" />
<package id="EPiServer.Forms.UI" version="4.25.1" targetFramework="net472" />

Stuck on login page in Quicksilver on Azure

$
0
0

Hi!
I am trying to deploy Quicksilver on azure. All was good until first run after deploy.

I am stuck on login page. Default credentials do not work.
The adress bar shows adress : xxx.azurewebsites.net/Login?ReturnUrl=%2Fepiserver%2FCommerce%2FMigrate

Does that mean I am stuck on migrate and some other error is messing the migrate process?

I have tried to set  <allow users="*"/> in web.config but that does nothing.

Updating Episerver to latest version - Backend UI issue

$
0
0

Hi team,

When episerver is updated (including CMS,Commerce,Find) to the latest version with all the dependencies , the backend theme has been changed.

The package EPiServer.CMS.UI is updated to 11.21.5v, but when find is opened in the backend it is redirected to the old UI theme.Please help me with this issue.

Thanks in Advance.

(Multi-site scenario) Is it possible using Find to index categories/products for each site?

$
0
0

Hi guys,

Currently I am working on a multiple websites project . 

Each site has a own catalog and each catalog has differnet categories.

There are products that sharing between catalog as a noderelation (additional categories).

In episerver Find, I see all three sites share the same cateogry and articles find index. 

Is it possible to index the categories and products for each site?

Is it possible to implement that the search result on each site only includes the categories/products that exists on its own catalog ?

Thanks, 

ChiChing

Can I filter by "EndsWith" on PageName?

$
0
0

I'm using:

SearchClient.Instance.UnifiedSearch().For(searchQ)

as the basis for my search, afterwhich I've a bunch of filters I've already implented, but now I need to filter pages OUT that have a PageName that ends with "_Compare"...

I tried using "MatchContainedCaseInsensitive" like soo...

.Filter(x => !((PageData) x).PageName.MatchContainedCaseInsensitive(c => c.ToString(),"_Compare"));

but "c.ToString()" is wrong I think and I dont know what is the correct thing to put in there as "fieldSelector" as I've already selected "pagename".

Any help would be great please.

Episerver Insight relies on ASP.NET Role Provider

$
0
0

Hi there.

We see that during evaluation of the MenuProvider, the ProfilesMenuProvider within EPiServer.Insight.UI verifies:
1. if (PrincipalInfo.HasAdminAccess()), it adds the Menu

2. if above is not true, it goes to ProfilesRolesRepository.GetRolesForUser to verify the users access.

Within ProfilesRolesRepository.GetRolesForUser, you have a reference to Roles.GetRolesForUser(userName), which is the old ASP.NET Role Provider. It is _not_ active if we are using ASP.NET Identity (like Quicksilver) or any type of SSO integration. It means that if a user is not "HasAdminAccess", the Episerver Shell breaks as long as we do not have ASP.NET Role Providers activated.

Observed in EPiServer.Insight.UI.1.6.0

We do not see this tracked as a defect anywhere. It would not be expected due to the support of federated identity.

Casper


Showing private IP under azure loadbalancer

$
0
0

I got issue while I go to admin /Episerver it redirects to private IP under an Azure load balancer with two cms instance hosted on azure VM machine.

Url: http://PRIVATE-IP/util/login.aspx?ReturnUrl=%2FEPiServer

But it works if directly go to https://DOMAIN-NAME/util/login.aspx?ReturnUrl=%2FEPiServer

Seems like HTTPs redirect issue under a load balancer.

Why /Episerver redirect to insecure HTTP ?

How to fix this issue. Your help will be appreciated.

Scheduled jobs and HttpContext

$
0
0

It always used to be that you could work out whether a job was running via scheduled execution or run via the Admin mode interface by checking within the job whether there was an HttpContext. If there was, then the job was run via Admin mode. If not it was scheduled.

Has this behaviour changed?

I'm on CMS 10.10.1 and HttpContext is always null, so I can't see a way to identify the context in which the job is run. I'm guessing may this changed with some of the improvement work around making jobs stoppable / supporting dependency injection etc. Are jobs run in their own new thread now perhaps?

Does anybody know if this is a deliberate thing?  

Can anybody think of a way to work out if the job was manually started?

Link Status report shows HTTPS external links

$
0
0

The Link Status report contains the valid https external links included in our site content. The link status is "Connection Error". 

Is there a way to configure this, that the job can read secure connections properly? 

Url to views for custom reports and admin plugins

$
0
0

Hello!

I am working on a hobby project that will add an admin plugin and a couple of cms reports. I plan to package it as a nuget package for others to use. Currently I am stuck on how to set the url for the view files (Razor) and where to place them in the project.

I have been looking at a couple projects on GitHub and I currently have this (simplified) file structure:

ProjectRoot
  Controllers
    MyPluginController.cs
  modules
    _protected
      MyProjectName
        Views
          MyPlugin
            Index.cshtml

My controller looks like this:

    [GuiPlugIn(
        Area = PlugInArea.AdminConfigMenu,
        UrlFromModuleFolder = "Views/MyPlugin/Index",
        DisplayName = "This is my plugin"
    )]
    public class MyPluginController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }
    }

To test my code I have set up the AlloyMvc site as a second project in the solution and set Alloy to depend on my project. My plugin is detected and shows up in the admin interface but the view is not found. (error message reports searched physical path as {pathToSolution}\{theAlloyMvcProjectName}\EPiServer\CMS\Admin\MyPlugin\Index)

The EPiServer documentation on custom reports specifies a url in a hardcoded way and adds a route in the global.asax file but that is not an option.

I hope for a solution that makes it easy to test while coding and that also will work when package as a nuget and installed by someone else. What do I need to configure and where?

Edit blob Uri from Guid to filename

$
0
0

Hi,

I wrote some code so when an editor uploads an image different sizes of the uploaded image are created and save to a blob in aws, in the format epi.fx.blob://[provider]/[container]/[blob]] 

While I can change the container portion, I am having problems figuring out how to change the blob portion of uri which is the image, to the image name plus the size it was changed to.

Any ideas on how to do this?

Viewing all 6894 articles
Browse latest View live