Warning!
This is a legacy document. The features described below are only usable within the classic-generation environment.
Currently, Betty Blocks offers faster and more advanced options that are available in next-gen. Before you start working on some new features in your application, consider doing it using the next-gen version. In particular, you might find it useful to check out Using the HTTPS action step and Setting your remote data source articles.
Good luck!
After creating a block of your own and releasing it to be used in other applications it's time to learn how you manage your Blocks. Managing Blocks properly is very important, when you add a feature to your Block for example it needs some management to get it to work properly.
Managing Blocks
Go to the Block Store and select My Blocks in the dropdown menu in the top left corner. Click on a Block and the following screen should be visible
We can tell from the block status that the Block is currently released.
Adding a new component to a Block
For this example, we'll add a webservice endpoint to an existing Block. Click on the Create Block button in the webservice tab.
We get the option to Create new Block or to Add it to an existing Block, let's choose the latter.
This gives us the option to add this second example API to our already existing example API.
After you've clicked Add to existing Block, the pop-up will close and the green success notification will show. Click Go to Block and see the newly added webservice.
Releasing the Block, again
When viewing the Block, you'll see the newly added features. You may also notice that the status of the Block says: Dev content changed. This means that our Block has some changes, namely the new endpoint that we've added to our Block.
You'll have to update the Block to see the new features in other applications than the one you created it in. So once we press update we get the option to release our Block once more and this should apply the new changes.
Deleting the Block
Sometimes a Block becomes irrelevant or you and the Block have grown apart. As in any broken relationship, you go your own way. No worries, just delete the Block by clicking Delete, and then click Confirm delete will get rid of the Block.
So that's about anything you need to know about managing your Blocks! In case you have questions or feedback on this, hit us up through the chat icon in the bottom right corner!