Installed Package Types
Develop a Custom Block Widget
Register Endpoint for Custom Content Block Component
Custom Block Widget Example
Custom Block Widget Best Practices
List Your App in AppExchange
To develop and offer a custom block, you need the following:
https://github.com/salesforce-marketingcloud/blocksdk
When adding a block component to an installed package, provide a block widget URL. This is the registered endpoint for your custom content block app. For example, if the URL for your block widget is https://www.example.com/myblock/, then the Content Builder editor assumes these URLs exist.
https://www.example.com/myblock/index.html is your block widget page.https://www.example.com/myblock/icon.png is your block icon.https://www.example.com/myblock/dragIcon.png is your block drag icon.To test your block, you need an account that’s provisioned for Content Builder, with user permissions to use the editor. Add a block component to your installed package and test it in Content Builder.
To sell or distribute your custom block outside of your account, register your block widget’s installed package on AppExchange.