Try our conversational search powered by Generative AI!

crli
Feb 12, 2010
  5019
(0 votes)

What and why is epiJQuery?

A feature in EPiServer CMS 6 that might catch your eye is a dashboard. An interesting technical aspect of it is that it’s largely a client based solution. As such anyone planning to do their magic on it might have the good fortune to enter the wonderful world of client side scripting (but you can do a lot of things server only if you prefer that).

So, what is epiJQuery? It’s jQuery 1.3.2, with one tiny addtition:

window.epiJQuery = jQuery;

Why is this useful? Consider this seemingly innocuous line anyone could add to the dashboard at any time.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>

The additional variable epiJQuery ensure that any scripts running after the script include above will find the same jquery version and plugins as the ones running before the script include.

Feb 12, 2010

Comments

Please login to comment.
Latest blogs
Configured Commerce - Infrastructure Updates Ahoy!

I'm very happy to share an important milestone - we no longer have any customers in our legacy v1 environment!  This means that the Configured...

John McCarroll | May 10, 2024

A day in the life of an Optimizely Developer - Enabling Opti ID within your application

Hello and welcome to another instalment of A Day In The Life Of An Optimizely developer, in this blog post I will provide details on Optimizely's...

Graham Carr | May 9, 2024

How to add a custom property in Optimizely Graph

In the Optimizely CMS content can be synchronized to the Optimizely Graph service for it then to be exposed by the GraphQL API. In some cases, you...

Ynze | May 9, 2024 | Syndicated blog

New Security Improvement released for Optimizely CMS 11

A new security improvement has been released for Optimizely CMS 11. You should update now!

Tomas Hensrud Gulla | May 7, 2024 | Syndicated blog