Author: Nicola
-
Using XForms in EPiServer 8 MVC
Ha, another milestone for me – I was able to create an XForm in EPiServer and hook it up to a block! First step I took: Create a Form block, which consists of the following properties: public class FormBlock { public virtual string Heading { get; set; } public virtual XForm Form { get; set;…
-
EPiServer: Create a Gallery / ImageSlider Block
UPDATE: Please follow this new post instead for the latest carousel I have developed using Bootstrap 4. One of the tasks I needed to do was to create a block that takes in a list of Images and displays these in an ImageSlider, with the help of almighty Javascript. This might not be the best solution…
-
EPiServer: Attach Database Failed – Access is Denied
I wanted to explore the EPiServer 8.0 database and so I went to clone the MDF file located within my solution and placed the copy in a backup folder. I then went to open SQL Management studio and tried attaching the MDF file: 1. Right Click on the Databases folder 2. Click ‘Attach’ 3. Find…
-
EPiServer: Auto-create child pages on ‘Add New Page’
I spent almost a day trying to figure this out. I’ve seen heaps of examples on the internet on how to programmatically create pages in EPiServer, but it was a struggle finding a resource that explained where we can do this. Or where we can insert such code. When I finally found a solution, I…