Sharing and syncing UI widget libraries

With Justinmind, you can share UI libraries with other Justinmind users in just a few clicks. You must be logged into a Justinmind Enterprise account in order to make use of the Shared widgets functionality.

Sharing a Widget library (Library owner)

  1. Go to your custom widget library within the Widget library palette.share widget library owner
  2. Currently, this library can only be seen by you and is stored locally. To share it, click the gear icon at the top of your library in the Widget library palette and choose the “Share” option.
  3. In the dialog that appears, select a Justinmind online account to share your library to and click “Next”. You will be asked to confirm that you wish to upload all local changes to the account. Click “OK” to apply changes and upload your library to the account.

Managing a shared Widget library

Committing changes to your shared library

With your custom library shared, you can keep working on it. To keep your library up-to-date, you can commit your changes so all Justinmind users with access to your library can see them.

To do so, click the gear icon at the top of your Widget library and select “Commit” from the menu. A dialog will appear confirming that you want to commit all local changes to your library. Click “OK” to upload and commit all local changes

Note: if you have made changes to multiple shared widget libraries and would like to update them, click “Commit all shared libraries” from the “Widgets” main-menu option.

commiting changes shared library

Operations with your shared library

Apart from sharing your custom widget library and committing changes, you can perform the following operations:operations shared library

  1. Exit edit content – click to make the library uneditable
  2. Edit name/description – click to edit the name and description of your library from the dialog that appears
  3. New Group – click to create a new group of widgets so you can keep them organized
  4. Commit – click to upload all local changes made to the current library to the server
  5. Update – click to retrieve changes from the server since the last update (available to all users, not just the library’s owner)
  6. Revert changes – click to revert all changes made to the current library since the last commit
  7. Unshare – click to remove the library from the online account and from the other users’ computers
  8. Delete library – click to delete the local file of this library, as well as from the server

As owner of a shared widget library, you will be able to perform all of the above operations.

Accessing a shared library (Library user)

If you are a Justinmind user and another Justinmind user has shared a custom widget library with you, you will need to update your workspace to get access to the library.

To do so, go to the “Widgets” main-menu option and select “Update all shared libraries”. Then, go back the “Widgets” main-menu option and this time select “Add/Remove libraries”.

In the dialog that appears, go to the “My Libraries” tab. At the bottom of this tab you should find the newly-shared widget library.

To start using it, click “Add to widgets” and close the dialog. Go to the Widget library palette. Your newly-added library should appear at the bottom of the list.

Updating a shared library (as a Library user)

To check if the Library owner has made changes to the shared widget library you are working with, click the gear icon at the top of your Widget library and select “Update” from the menu.updating shared library