Alchemy Training Video 4: Creating a Popup Window

In this forth Alchemy Training Video I’ll show you how easy it is to create a popup window for your plugin.


Alchemy Training Video 4: Creating a popup window from Content Bloom

The code used in this video is also pasted below in the event you’d like to copy this directly into your own project.

Note: Just change the SchemaDocumentation.aspx url :)

    execute: function (selection) {
            var p =;
            var selectedItem = this._getSelectedItem(selection);
            var url = "${ViewsUrl}SchemaDocumentation.aspx#selectedItem=" + selectedItem;
            var parameters = "width=650px, height=550px";
            var args = { popupType: Tridion.Controls.PopupManager.Type.EXTERNAL };

            p.popup = $popupManager.createExternalContentPopup(url, parameters, args);
            $evt.addEventHandler(p.popup, "close", this.getDelegate(this.closePopup));
This entry was posted in A4T and tagged , , by John Winter. Bookmark the permalink.

About John Winter

Over the last 15 years, John has lead over 50 SDL Tridion implementations for major clients including, Alliance Data, Viking Cruises, Lexus, Dunlop, Dexia Bank, Toyota and SKF. John manages the USA side of Content Bloom, undertaking a variety of tasks including consultancy, development, architecture and trainer.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>