javascriptsitecoresitecore-speak-ui

Sitecore SPEAK and Javascript


I am trying to replicate what is shown in this video series by Jakob:

I am able to get everything work except the custom Javascript part.

define(["sitecore"], function (Sitecore) {
var ListPage = Sitecore.Definitions.App.extend({
    initialized: function () {
      alert('Test');
      }
  });
  return ListPage;
});

I even tried to fire Sitecore.app command in sc_debug mode but that is returning "undefined"


Solution

  • if your in Sitecore 7.5 or 8 the app has been moved to Sitecore.Speak.app rather than Sitecore.app