A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Deane Barker
May 9, 2014
  3665
(2 votes)

EPiServer License Data Exporter

EPiServer recently released an API for their license data.  The idea is that you can export license information from EPiServer and bring it down to your own infrastructure to query and otherwise manipulate it.

I had been asking for something like it for years, starting with this blog post: "Why Your App Needs Automated Data Export." In that post, I complained (nicely) about both EPiServer and Insightly, a CRM my company uses.

After that post, Insightly created their API, and it was awesome in its simplicity – it just gave you a basic bulk export, from which you could do anything.  The idea is that your local tools are better at querying and data manipulation than a web-based system, so if I can just get this data down to my local machine, I’m better off.

EPiServer was finally able to take a run at this system, and I worked with the internal team on it. I explained what I was looking for, and they responded with exactly what I asked for: simple, API-driven, bulk export.  It’s not complicated and it works beautifully.

I adapted a library that I wrote for Insightly to download the data and populate SQL database.  It’s now on Github:

EPiServer License Data Exporter

Provide an API key and a connection string, and this command line utility will populate a local SQL Server database with all your license information, enabling you to develop reporting around that information.  It’s extensible as well – all the objects are run through “mapping objects” with properties that use XPath to extract data.  It should be awfully easy for any .Net developer to figure out.

I hope you get some value out of it, and I welcome pull requests if you have changes.

May 09, 2014

Comments

Please login to comment.
Latest blogs
Building simple Opal tools for product search and content creation

Optimizely Opal tools make it easy for AI agents to call your APIs – in this post we’ll build a small ASP.NET host that exposes two of them: one fo...

Pär Wissmark | Dec 13, 2025 |

CMS Audiences - check all usage

Sometimes you want to check if an Audience from your CMS (former Visitor Group) has been used by which page(and which version of that page) Then yo...

Tuan Anh Hoang | Dec 12, 2025

Data Imports in Optimizely: Part 2 - Query data efficiently

One of the more time consuming parts of an import is looking up data to update. Naively, it is possible to use the PageCriteriaQueryService to quer...

Matt FitzGerald-Chamberlain | Dec 11, 2025 |

Beginner's Guide for Optimizely Backend Developers

Developing with Optimizely (formerly Episerver) requires more than just technical know‑how. It’s about respecting the editor’s perspective, ensurin...

MilosR | Dec 10, 2025