Questions tagged [episerver-8]

EPiServer is a web content management and e-commerce software platform based on the Microsoft .NET stack.

EPiServer 8 is the first major release from EPiServer since the company moved to a continuous release approach.

The largest new feature is Projects, which allows editors to create and preview a group of content items together, and manage publication of the content in one go.

There are also performance improvements, enhanced block management and better support for canonical urls.

Internet Explorer 9 is no longer supported.

30 questions
2
votes
1 answer

Trigger an event while removing a block from a content area on a page (using "Remove" on the Content Area) and when a user click on "Move to Trash" i

I want to trigger an event whenever editor removes a block (using "Remove" on the Content Area) and when a user click on "Move to Trash" on a block in the asset pane. I find DataFactory.Instance.MovedContent event which is firing on every click on…
Janmejay Kumar
  • 309
  • 2
  • 7
2
votes
1 answer

How to render a page listing items(like news items) in a content area in EpiServer CMS

I want to display a list of items (I am using a page listing block to display the list of pages.) in a content area.When I drag and drop the page type in content area I get an error stating"Castle.Proxies.ListingBlockProxy". Below Is my…
2
votes
1 answer

Getting all children of specific page type

I have the following tree in EPI CMS: [Root] . . --[Lobby] ID=1 --Foo1 --Foo2 --Foo3 --[ContainerOfSubFoo] ID=2 --SubFoo1 --SubFoo2 --SubFoo3 I want when I edit Foo1, to have check boxes of all the SubFoo's. What I have now is…
Ziv Weissman
  • 4,400
  • 3
  • 28
  • 61
2
votes
2 answers

How do you support selecting multiple enum values for an EPiServer property?

I have a property which allows a user to select multiple enum values, and at the moment this works fine for saving the information into the database and for using it. However it doesn't seem to correctly read the values out of the property back to…
meh-uk
  • 2,031
  • 1
  • 23
  • 36
1
vote
0 answers

Only in Live - Wildcard Custom Redirects not working (BVN 404 handler)

I'm using the BVN 404 handler nuget package to do redirects in my episerver website. I have a developer, staging and live enviroment. One of the redirect rules I have is a wild card one. (Box checked) so for example: OLD URL: /uk/products/ Should…
Ayo Adesina
  • 2,231
  • 3
  • 37
  • 71
1
vote
1 answer

Episerver - How to send Notification Message during EventsPublishedContent Event

I have seen several examples of how to send validation messages back to the UI, while editing content, like this. public class StandardPageValidator : IValidate { IEnumerable
Ayo Adesina
  • 2,231
  • 3
  • 37
  • 71
1
vote
2 answers

Episerver - How to Manage Media Items on Multiple Environments

Hi guys I'm working on an exiting Episerver project (my first one) - One of the issues that we are having is we have three enviroments for our episerver website. Developer / Staging / Live. All have sepreate DBs. At the moment, we have had lots of…
Ayo Adesina
  • 2,231
  • 3
  • 37
  • 71
1
vote
2 answers

How to get currentBlock in block ajax call without page type reference. [episerver 9]

What is the best way to get currentBlock in block ajax call? [HttpGet] public ActionResult GetSomething() { var currentBlock = Get(); //how? return currentBlock.SomeLabel; } (I don't know the solution when Block or BlockController do not…
1
vote
1 answer

ViewContext.ParentActionViewContext is null when trying to access parent ContentArea in EPiServer

I'm trying to use the approach shown here to allow my blocks in EPiServer to query their index within a parent ContentArea. I already do this in another project (project A) and am now trying to do it again in a new project (project B). But for some…
xr280xr
  • 12,621
  • 7
  • 81
  • 125
1
vote
1 answer

Deleting block from a ContentArea

I want to delete block with broken links from my page. Fx we use EPi Server Commerce, and sometime a product is deleted from the PIM in Commerce and I need to remove all the Blocks that had that product referred. But something is 'wonky'... Some…
MazeezaM
  • 149
  • 1
  • 10
1
vote
1 answer

ASP.Net Identity with episerver not working when deployed

I'm currently working on a site using EpiServer CMS 8 and replacing the login with Owin/ASP.Net Identity. Everything is working fine on local IIS but when deploying to our test server navigating to /episerver/ doesn't redirect to the login page but…
Paxxi
  • 446
  • 1
  • 5
  • 11
1
vote
1 answer

Epi server - make content area specific for block

I would like to achieve the following thing- Build a pagetype which has 3 different ContentArea's and that the user can put only a specific block type in each of these areas. For example - ContentArea1 can only accept block type of "BlockType1",…
Ziv Weissman
  • 4,400
  • 3
  • 28
  • 61
1
vote
4 answers

CSS class on generated div element for EPiServer blocks

I have a ContentArea with a number of floating blocks. EPiServer automatically wraps each block in a div-element, which is necessary for the edit mode to function properly. So what is initially one div becomes three nested divs: content area, child…
Leonard
  • 3,012
  • 2
  • 31
  • 52
0
votes
2 answers

Fetch all Episerver Blocks/Type/Usages programmatically

I am trying to create custom report for Blocks list and usages int pages. So I need to get all list of block types available and the usages/links in pages. I have tried the below code but this requires Block as input to fetch usages. var…
0
votes
2 answers

Episerver - Page Type Becomes None Editable when intercepting PublishedContent Event

I am hooking in to the PublishedContent Event within Episerver, so when a user publishes a particular page type some logic is performed (create pdf) and a string value is saved in to one of the properties.(the path to the pdf) This is working, the…
Ayo Adesina
  • 2,231
  • 3
  • 37
  • 71
1
2