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

Set default block for content area in existing page types

$
0
0

Hi,

I have converted static footer into a block and content area.

now I want to set this block as default for all pre-existing pages.

don't want content authors to set this footer block manually for each page

Any suggestions?


What does EPi mean?

$
0
0

Hey I could not a find an appropiate place to ask this question but what does EPi mean? Does it stand for anything?

Thanks

T

Issue adding category from code with same segment name

$
0
0

In my project there are two sites and each uses its own catalog. Category with same name can be in both catalog. When I am trying to add Category with IContentRepository it is giving me exception that Category with same Url name already exists. I found that there is flag named 
 episerver:commerce.UseLessStrictEntryUriSegmentValidation" that I can turn on in App.Settings, but I am getting same exception. Am I doing something wrong? 

Thanks, 

Sudip

Installing Episerver Insight 1.10 does not work for me and strangely breaks the Episerver Find UI

$
0
0

Hi all,

I didn't encounter any of this last year during my first attempt of installing Episerver Insight but I'm seeing a strange issue now with the latest versions of Episerver Insight (1.10.0) in combination with the latest version of the CMS 11.12 (CMS.UI - 11.21.3.0)

Our Epi CMS was recently upgraded by our dev team and everything looks good (I still need to get used to the blue theme :)). I installed Episerver Insight v1.10, following the same steps as per the dev guide. I can confirm the Insight tab now appears which is great. I have also tested the API keys provided to me via Swagger and I can confirm I'm getting a 200 response on one of the GET API's. However, when I click on the actual Insight tab, I get the following error:

Not only is the Insight UI not working, navigating to the Episerver Find UI also now returns the exactly same Socket exception above, which is strange. I tried uninstalling all nuget packages related to Episerver Insight, Profiles and Tracking. Episerver Find comes back up and running again with no issues.

So I tried re-installing the 3 sets of nuget packages to identify the culprit that's causing Episerver Find to break. Up until the installation of Episerver.Profiles.Client and Episerver.Tracking.CMS, the Episerver Find UI works. However, when installing Episerver.Insight.UI, that's when Episerver Find UI gets broken.

I have deployed the codebase to one of the Integration environments in the DXC and the same symptoms occur. Help? 

Takes a lot of time for epi cms resources to load on DXC Service

$
0
0

I have noticed that many times the edit interface is just loading and loading in our customers production environement. 

I now looked into it and this are a couple of example of what takes time, and I wonder how it can take that long time to load a couple of js-files?



Anybody else with this problem?

We need the globe back, to be able to «view on website»

$
0
0

When Episerver.CMS.UI 11.21.0 were released, we lost easy access to the globe in edit mode for accessing the public URL of a specific page.

Now we have to click «Options», and then «view on website».

In my experiences, this feature is used so much for it to be hidden away like that.

 

Please, give me my globe back!

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.

Configure edit mode search fields to use Episerver.Search instead of Find

$
0
0

We recently added a search on our site using Episerver Find, and as part of that we made some sigificant changes to the indexing, such as excluded all files except PDFs, excluded all blocks and all pages that did not inherit from a SearchableBasePage we created. As it turns out the search fields inside edit mode, the global search in the top right, asset search for blocks and media files and page search above the page tree, are all using the same Find index. This has rendered them mostly useless, only able to find PDFs and "searchable" pages.

As a quick fix I enabled the built-in Episerver.Search, did a reindex, and that seems to have solved the issue with finding blocks and media files both from the global- and asset search. But the page search remains hell bent on only searching for pages in the Episerver Find index.

Is there any way I can force the edit mode searches to use the built-in Episerver.Search rather than Find? And if anyone could shed some light on the logic behind how it decides which one to use that would also be much appreciated.


Provider type 'EPiServer.Azure.Events.AzureEventProvider,EPiServer.Azure' could not be loaded. - Install

$
0
0

Hi Guys,

I started a new Azure install of the latest version. I followed the directions on this link  https://world.episerver.com/documentation/developer-guides/CMS/Deployment/deployment-scenarios/Deploying-to-Azure-webapps/

The project was deployed to Azure Web App successfully.  But, when I goto the URL I get the error below.

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Provider type 'EPiServer.Azure.Events.AzureEventProvider,EPiServer.Azure' could not be loaded.

Source Error: 

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.


Source File: D:\home\site\wwwroot\web.config    Line: 292 

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

I checked the Event provider setting and it seems fine.

Any ideas?

Thanks,

Min

PropertyDefinitionType and moving code to different assembly (refactoring)

$
0
0

Currently I'm refactoring a framework, which we use here for all our custom developed components on EPI CMS/Commerce. One of the refactorings is splitting up back-end and front-end into two projects, so the assembly name is being changed. One of the issues I'm currently dealing with is that we have a custom BackingType for a base class property which is used in Page Types. This property is causing issues when I run it on the new codebase, as EPI can't find the PropertyDefinitionType anymore in code. That one has been moved to a new assembly, so a second new entry is created in that table with the right assembly references. However all properties in the content types are in the database still referring to the old ones. This is causing Castle typecast exceptions as the proper types are not corresponding anymore.

Is there a way to rebind the PropertyTypes again to the moved code, without the need of fiddling with the database?

Boost result from synonym to top.

$
0
0

I am using Episerver find Multisearch currently which works all good. The requirement here is if I search for a text (Ex: Chi) and if there is synonym set for this word as "Chicken" and there is a page with name "Chile", I need to boost the Chicken result so its on top.

This is the sample I have for search:

var Search = _findClient.Search<IContent>(ConvertToFindLanguage(culture))
.For(query)
.InField(f => f.Name, 5)
.UsingSynonyms()
.WithAndAsDefaultOperator()
.WildCardSearch($"*{query}*", f => f.Name)
.FuzzySearch($"*{query}*", f => f.Name, 5)
.FilterForVisitor()
.Filter(x =>
x.MatchTypeHierarchy(typeof(XXXXX)) |
x.MatchType(typeof(YYYYY)) |
x.MatchType(typeof(ZZZZZ)) |
x.MatchType(typeof(AAAAA))
)
.Take(pageSize < 1 ? 10 : pageSize)
.Track()
.ApplyBestBets();

can an apple Mac be used to develop episerver code?

$
0
0

Hi, our company uses EPI server, but has relatively few people who know how to develop for it.  I have been asked to get up to speed with episerver and our sites, but I only have a mac.  I can download visual studio community edition, but I dont know if this will help as I dont have MS SQL server or IIS etc. running.  I dont have enough HD space to install parallels or bootcamp, but I could possibly get an old laptop with windows 10 to use as a dev "server" if needed, but I would need to use the mac for development.

Is this possible, or is windows the only only option for developers?

problem with layout

$
0
0

Hi, I start building a site with MVC and epiServer cms, creating layout  and homepage according to epiServer documantation and everything worked fine.

Now i want to add a page, which is not a contentType page (i dont extract data from the cms) but still use the layout i created.

I changed  the route by attribute and managed to get  to the controller, passing my own model.

The problem is  i got an error: the view expect to get other model. 

What should i do?

Thank you,

dovrat

Find not working on slave server

$
0
0

We have a front end server running from events from the admin server, but "The suggestion is" and "People also searched for " functionality is only working on the back end server, not the front. Am i missing something?

List all content that use a block in CMS

$
0
0

I needed to support the customer in a way that he finds untranslated content. So i have asked if it's possible in this thread.

There is no way to list it without using code or the database. So in this case i needed this query to determine all content-ID's which i can use for a link to the CMS.

select c.pkID  from tblContentType ct
inner join tblContent c ON c.fkContentTypeID = ct.pkID
where ct.Name = 'LinkBlock'
order by c.pkID

You can append it to the URL to get a link to the CMS content, for example(649 is the pkID)

https://Domain/Somename/CMS/#context=epi.cms.contentdata:///649

But it would be a great help for the customer if he could get a list of all pages/content of a specific block on himself. A good place would be: Admin/Content-Types/Blockname

You could provide a button "Show content that use the block", if you click it it opens a popup which lists all content as hyperlink.
Even better would be to be able to filter for translated/untranslated content of this block.


Error after EPiServer CMS version update: Could not load file or assembly EPiServer.Framework.

$
0
0

Hey guys,

I'm having an issue after updating my project to the latest version of EPiServer CMS. This is the error message I am getting when building my solution:

SGEN : error : Could not load file or assembly 'EPiServer.Framework, Version=10.10.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' or one of its dependencies. The system cannot find the file specified.

I have searched my solution for the string "10.10.0.0" with 0 results. 

This is my packages.config:

And this is a snippet from my Web.config:

Note that I am referencing EPiServer.Framework 10.10.4 in both files. As previously mentioned, I can't find any reference to 10.10.0 like the error message refers to. 

Note that my project builds fine in the Debug configuration, but not in Release or any of my custom build configurations. However, if I manually go and set the build property "Generate assembly serialization" to "Off" instead of the default "Auto", it does build. But I don't feel comfortable with that solution because I suspect it slows down performance. 

Other things I have tried without success:

  • Deleted packages directory and restored all packages
  • Deleted bin folder and cleaned solution
  • Deleted ASP.NET temp directory
  • Restarted Visual Studio (and my computer)
  • Tried to build my project in an older version of Visual Studio (I am currently on VS 2017 (15.4.1))

Any feedback is appreciated. Thank you!

Selecting Inventories from Select Menu not showing the Product Variant name or code.

$
0
0

In Catalog view, when I select any Product to edit their variant's inventory (selecting from select menu), it is not showing the product variant name or code. Is there something I am missing or how to distinguish them. See full scenario.

Here you can see General Product (Product Type) have 4 General Variants (Variant Type).

When this General Product is selected, I clicked on Inventories in Select Menu. (for ref. below image)

This shows me inventories info (below image), in which I am not able to identify which inventory belongs to which Variant.

Let me know if I am doing something wrong? Because when I select Pricing, it shows me Product Name and Code info columns (see below screenshot)

This is also happing in latest 13 version of commerce. (screenshot is from 12.17.2)

Controller with TemplateDescriptor for Block without Controller not working.

$
0
0

Hi, I have a Block without controller. I want to create a Tag based contoller using TemplateDescriptor feature. This is code for the controller with tag.

[TemplateDescriptor(
    AvailableWithoutTag = false,
    ModelType = typeof(FaqBlock),
    Tags = new[] { CmsFeatureTemplateTags.ProductFaqs })]
public class FaqBlockProductFaqsController : BlockController<FaqBlock>
{
    public override ActionResult Index(FaqBlock currentContent)
    {
        return this.View("~/Views/Content/FaqBlock/ProductFaqs.cshtml", currentContent);
    }
}

Here Tag name value is

  public const string ProductFaqs = "ProductFaqs";

View template for the default block is working, but when I created a controller with TemplateDescriptor the controller is not hitting.

Here I added Tag to render that, this isn't hitting controller with Tag and not event rendering the default view template.

@Html.DisplayFor(x => Model.ContentArea, new { Tag = CmsFeatureTemplateTags.ProductFaqs})

Any thoughts?

EPiServer.Forms - CMS should not go back to form when a form element is sent to review

$
0
0

Dear Sir or Madam,

Thank you for taking time to process this message!

We are currently testing approval workflows (using the corresponding addon) in conjunction with EPiServer.Forms and noticed that when approvals are switched on on the root element and a new element is added/edited to/in a form and then is being sent to review, the page is being refreshed and the user is navigated to the form instead of staying on the form element level. We find this user experience a bit inconvenient and would like therefore report a feature request.

Please refer to the following video for further details: https://www.loom.com/share/6881af296606412884c449ee94d35028

Thank you in advance and have a great day!

Sincerely yours,
Dzmitry Syrtsou

How to add new properties on the CMS Create User Screen

$
0
0

Hi,

How we can extend the properties of create user in admin panel of CMS? I want to add new properties to the create user screen i.e. CMS/Admin/Create User

Regards,

Manik

Viewing all 6894 articles
Browse latest View live