Questions tagged [episerver]

Episerver is a web content management system and e-commerce platform based on .NET.

Episerver is an ASP.NET-based CMS (Content Management System) and e-commerce platform.

Information about Episerver development is best found at: http://world.episerver.com

General company information about Episerver is found at: http://www.episerver.com

In 2021, Episerver acquired Optimizely, and started its rebranding to gather under the Optimizely name.

Since the release of the most current versions (CMS 12 and Commerce 14), the products run on .NET 5/6.

728 questions
4
votes
5 answers

Restrict Blocks in ContentArea

I'm having a issue restricting what kind of Block to be inserted in a ContentArea. What I want is that the SliderBlock's ContentArea property can only have insertion of a SlideItemBlock. [ContentType(...)] public class SlideItemBlock : BlockData { …
Raskolnikoov
  • 565
  • 11
  • 27
4
votes
2 answers

How do I know which tag caused the controller to be chosen?

In EPiServer CMS 7, a Content Area can be tagged with one or more Tags: @Html.PropertyFor(x => x.CurrentPage.MainContent, new { Tag = "ContentTag" }) One way you can wire up Page Types and Tags to create a controller with a TemplateDescriptor…
Greg B
  • 14,597
  • 18
  • 87
  • 141
4
votes
1 answer

WebForm project to MVC - missing context menu items

I have a significant webform project that needs MVC4 integrated into it. MVC controllers etc.. are working fine. However i am not getting the MVC type context menu items e.g. add view when right click a controller method (see below - this is the add…
Crab Bucket
  • 6,219
  • 8
  • 38
  • 73
4
votes
2 answers

Persisting values across multiple controller actions

In my controller i have an ID to an object in a database, and multiple actions needs this id to access the object. This ID is fetched in the Index action and used to populate the view model. The way I get the ID is through an argument, which…
ptf
  • 3,210
  • 8
  • 34
  • 67
4
votes
3 answers

Custom 404 page errors for .aspx extensions

I have been trying to have my web app to redirect to a custom 404 page. It works for all urls except if they have a ".aspx" extension The server is a Windows Server 2008 and here are the following settings I have in my web.config (using google.com…
Channafow
  • 707
  • 3
  • 8
  • 17
3
votes
2 answers

EPiServer vs EPiServer with Page Type Builder

When creating properties and page types through admin mode in EPiServer, it's quite easy to understand how the database is written to in order to update the configuration of the website. But with page type builder, however, if it's as easy as…
SkonJeet
  • 4,827
  • 4
  • 23
  • 32
3
votes
1 answer

Creating a custom EPiServer workflow

I've been tasked with creating an EPiServer workflow in version 6 R2. The workflow we require needs the following steps: When a page is created in any language an approval is sent (to users or groups) Once the page is approved, a notification is…
higgsy
  • 1,991
  • 8
  • 30
  • 47
3
votes
1 answer

Lucene.net - How do I create a negative query, ie. search for objects NOT containing something

I'm working on an EPiServer website using a Lucene.net based search engine. I have a query for finding only pages with a certain pageTypeId. Now I want to do the opposite, I want to only find pages that is NOT a certain pageTypeId. Is that…
Bjarte Aune Olsen
  • 3,230
  • 4
  • 24
  • 36
3
votes
1 answer

Optimizely CMS 12- How to customize admin pages?

I'm using optimizely CMS 12 and I need to add a new menu item as a new tab after "Display Option" for My Settings Page I need to add a new tab after Display Option Went through this link and I tried several ways but those did not work. can anyone…
3
votes
0 answers

Copy files from the NuGet package to the destination project when installing the nuget package

I'm working on the packaging part of module development and I was able to successfully create the package and install it on the destination site. But I have an issue with copying files to the module folder in the destination project when installing.…
3
votes
1 answer

Code splitting in Vue SSR / Episerver solution

We have, because of various reasons, a rather special solution with an epi backend bundled with a Vue SSR frontend. The frontend nodejs server only supplies the SSR and is not used as a webserver. This means no frontend routing is used and the page…
Per
  • 332
  • 3
  • 18
3
votes
1 answer

Applying style to parent element in TinyMCE

I have a requirement to add a class to a p-tag if it has an a-tag child, like this: I've tried the following without success (this is C# in EPiServer): new {title="Read more link",…
peter3
  • 1,074
  • 13
  • 22
3
votes
1 answer

Incorrect sql syntax in EpiServer DynamicDataStore LINQ statement

I'm writing a query to retrieve some data from a DynamicDataStore in Episerver. When I run the code I get the following error: System.Data.SqlClient.SqlException: Incorrect syntax near '>'. Here's the relevant query: BlogContentStore store = new…
Sal
  • 51
  • 4
3
votes
0 answers

Configure StructureMap to find implementations for proxy classes

I wonder if it's possible to configure StructureMap to handle proxy class instances as the underlying instance. My problem is that the CMS I'm using (called Episerver) creates proxy instances of the classes I define, for example MyBlock will be…
OriginalUtter
  • 619
  • 3
  • 15
  • 28
3
votes
1 answer

EPiServer shared VPP folders

This might be at daft question but i've nerver done it before... We are a few developers on the same project with local development environments and now we want to set up shared VPP folders on a external server. I have created a VPP folder on the…
Andy
  • 503
  • 3
  • 15
  • 29
1 2
3
48 49