Can not register a class plugin

Hi everyone,

I just started learning about Pimcore, and now I want to add a plugin on the backend UI. I have followed Pimcore’s documentation, which instructs to create a JS file, call the register function and define the plugin class. After that, I reloaded the site again, however, it seems that the plugin class (JS file) I just created hasn’t been registered (and JS file hasn’t been read). Am I missing any steps? Thanks everyone

This is JS file I created.

@cnam0203 have to included this file in your bundle class ?
here is a sample for this.

class AssetBundle extends AbstractPimcoreBundle
    public function getJsPaths()
        return [
1 Like

Thanks for your help. It works for me :grinning: