# What does custom-cms-block.js file in custom cms block example plugin do?

**URL:** <https://forum.shopware.com/t/what-does-custom-cms-block-js-file-in-custom-cms-block-example-plugin-do/66660>\
**Category:** Programming (EN)\
**Created:** [2. Mai 2020 um 16:18 UTC](https://forum.shopware.com/t/what-does-custom-cms-block-js-file-in-custom-cms-block-example-plugin-do/66660 "2020-05-02T16:18:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)\
**Post date:** [2. Mai 2020 um 16:18 UTC](https://forum.shopware.com/t/what-does-custom-cms-block-js-file-in-custom-cms-block-example-plugin-do/66660/1 "2020-05-02T16:18:55Z")

</div>

I was trying to create a new cms block plugin, and did everything according to the instructions described here&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block](https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block)

However the element is never created. I think it has to do something with the src/public/administration/custom-cms-block.js file. Does it register something? How to create it for my own blocks ?

---

<div class="post-metadata">

**Author:** ![rick7240](https://avatars.discourse-cdn.com/v4/letter/r/8491ac/32.png) [@rick7240](https://forum.shopware.com/u/rick7240)\
**Post date:** [19. Juni 2020 um 19:10 UTC](https://forum.shopware.com/t/what-does-custom-cms-block-js-file-in-custom-cms-block-example-plugin-do/66660/2 "2020-06-19T19:10:56Z")

</div>

I have the same problem and question. If i try to create a own block and follow step by step this documenation it doesnt work…&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block](https://docs.shopware.com/en/shopware-platform-dev-en/how-to/custom-cms-block)

Have anybody a answer for us?
