Skip to main content
ArcBlock Community

Editing Blocklets on Own Blocklet Store

Brain Titan
Developers
blocklet-serverqa

How do I edit my Blocklets on my own Blocklet Store? I was assuming just like in Blocklet Studio, there will also be a way to edit to version 1.0.1, etc directly in my own Blcklet store…

Do I have to still go to Blocklet Studio, release the new blocklet version, then go to my own blocklet store, delete the old blocklet uploaded and then reupload the new one instead of it?

4 replies

wangshijun2 years ago

Edits to blocklets should be done in Blocklet Studio and then upload/publish to Blocklet Store.

There is no "delete" operation for blocklets on Blocklet Store, since that will break existing blocklets that may rely on them.

But you can make a blocklet "private", private blocklets are just hidden from the listing page, but are still accessible for those who know it's DID.

Brain Titan2 years ago

fair enough, that makes sense. However, if I want to upload a better version of same blocklet in my own blocklet store, will I be able to post it with the same name as the previously posted blocklet?

wangshijun2 years ago

All attributes for a blocklet can be changed across different versions except Blocklet DID, which is used as a universal identifier and ownership proof for the blocklet.

Technically you can change anything you want for the Blocklet in Blocklet Studio when creating a new version:

  • Title
  • Description
  • Logo
  • Screenshot
  • Source code (agents build on AIGNE, or static web games)
  • Components required to run this blocklet

The current implementation of Blocklet Studio does not force you to change above fields when creating a new version, but you can when needed, a release note is required for each new version.

wangshijun2 years ago

Editing blocklets directly in Blocklet Store will not be supported in the short term, since Blocklet Studio is designed to do this.

Reply