Category Archives: EPiServer CMS 6 R2

Security fix for the Language File Editor tool in EPiServer CMS 6 R2

In 2011 I wrote a tool allowing web administrators to edit EPiServer’s language XML files through admin mode. As the code was constructed it assumed that the environment was properly set up (i.e. securing the plugins preventing unauthorized access), thus … Continue reading

Posted in EPiServer, EPiServer CMS 6 R2, Language, Plugins | Tagged C#, configuration, EPiServer, Security | Leave a comment

Scheduled jobs with input parameters in EPiServer 7.5

The other day I got a question from a collegue of mine whether or not the piece I wrote on supplying scheduled jobs with input parameters (EPiServer CMS6R2) would still work for version 7.5. I suspected it would, but since … Continue reading

Posted in EPiServer, EPiServer 7.5, EPiServer CMS 6 R2 | Tagged C#, Control Adapter, EPiServer, Scheduled job | 2 Comments

MVP and EPiServer CMS 6 R2

I quite often get questions on how we deal with testing and inversion of control in my current web forms project running on EPiServer CMS 6. I wrote an article about it when I first started working with it, and … Continue reading

Posted in EPiServer, EPiServer CMS 6 R2 | Tagged C#, EPiServer | Leave a comment

Please explain yourself: Reasons and audit logging in EPiServer scheduled jobs

There are times when I’ve found that well considered and thought-through EPiServer scheduled job settings have been changed in environments where they really shouldn’t be. People usually have some reason for doing what they’re doing but it’s hard to follow … Continue reading

Posted in EPiServer, EPiServer CMS 6 R2 | Tagged C#, Control Adapter, EPiServer, Scheduled job | 4 Comments

Revisited and improved: PageType based filtering of EPiServer’s EditMode PageTree

Some time ago I developed a small plug-in to EPiServer‘s edit mode page tree, allowing web editors to filter its pages based on all available page types. I decided to spend this weekend in the sun on my balcony with … Continue reading

Posted in ASP.Net, EPiServer, EPiServer CMS 6 R2, Plugins | Tagged C#, Dynamic Data Store, EPiServer, EPiServer user profiles, PageTypeTreeFilter | Leave a comment

Supplying EPiServer scheduled jobs with parameters through Admin Mode

I have always missed a way of supplying arbitrary input parameters to EPiServer scheduled jobs through the Admin Mode scheduled job interface. As Stefan Forsberg laughingly pointed out to me when I told him about my POC for this functionality … Continue reading

Posted in ASP.Net, EPiServer, EPiServer CMS 6 R2, Scheduled jobs | Tagged automation, C#, Control Adapter, EPiServer, Scheduled job | Leave a comment

GeoIP database update in multiple webserver environment using Windows PowerShell scripting

The MaxMind GeoIP database (shipped with EPiServer Framework) is rather useful when wanting to show geographically specific information to visitors as they surf around the site. Since mapping the correct requests to the proper regions may be rather important generating … Continue reading

Posted in Automation, EPiServer, EPiServer CMS 6 R2, Powershell script | Tagged automation, EPiServer, GeoIP, MaxMind, Powershell, script | 2 Comments

Programmatically created pages getting wrong master language in migrated EPiServer environment

I ran in to a problem with my migrated EPiServer 4 website when creating new pages programmatically. The old site was using English as the master language, but my new one would be all in Swedish. I had used the … Continue reading

Posted in EPiServer, EPiServer 4, EPiServer CMS 6 R2, Language | Tagged C#, EPiServer, Globalization, Legacy, Master Language, Migration | Leave a comment

Changing default values on built-in EPiServer properties

A client was using CurrentPage.Changed.ToShortDateString() for displaying a Last updated date in the inner footer of their pages. They often, however, forgot to select the Mark page as changed-checkbox on the Settings tab, and asked me if it was possible … Continue reading

Posted in EPiServer, EPiServer CMS 6 R2 | Tagged C#, EPiServer, Event Handlers, EventArgs, Global.asax | 3 Comments

Must select Show data for all pages checkbox in Edit mode to find submitted EPiServer XForms Form Data

I noticed a problem with a customer’s XForm earlier; no matter how many times I posted data, I was not able to find it through the Edit mode Form Data-tab. It was not until I marked the checkbox Show data … Continue reading

Posted in EPiServer, EPiServer CMS 5, EPiServer CMS 6 R2 | Tagged C#, EPiServer, EPiServer database, tblXFormData, XForms | 1 Comment

Allowing web administrators to dynamically update EPiServer language files

When working with EPiServer sites, a not all that uncommon type of support case is the need to change text on a page which is not editable through the Edit mode. Quite often, this text is located in language files … Continue reading

Posted in EPiServer, EPiServer CMS 6 R2, Language, Plugins | Tagged C#, Dynamic Data Store, EPiServer, language files, plugin, XML | 15 Comments