EPiServer CMS 7 Client Module Initializer

Hai Nguyen
Member since: 2010


I'm implementing an Editor Descriptor witha Rest service and having an issue with client module initialize. I have a file ModuleInitializer in the CilentResources folder to register my store. However when I run, it shows me a very nice message "The store by name"xyz" does not exist. Does anyone has this issue, please help!

Thanks in advance!

#64897 Jan 15, 2013 8:05
  • Hai Nguyen
    Member since: 2010

    Done, Fixed it myself!

    #64903 Jan 15, 2013 10:59

    Nicely done Hai :)

    Would you mind sharing the solution for us on World?

    #64905 Jan 15, 2013 12:05
  • Hai Nguyen
    Member since: 2010

    The store does not exist because the clientmoduleinitializer was not initialized correctly. Fixing the module.config did the trick!

    #64928 Jan 16, 2013 12:45

    Thanks Hai, funny thing is to come back to this thread after a year. I found myself in the same position as you so thank you for pointing out the module.config!


    What I had to do was add this to it, to make Dojo look for the my initializer. It then started reporting 404's so that gave away where in my project my javascript should be located.

    <clientModule initializer="alloy.CustomModuleInitializer">

    alloy.CustomModuleInitializer is my module initializer to connect my rest store to dojo.

    #80325 Jan 20, 2014 22:30